- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extend LVM without onlineJFS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 02:40 AM
тАО05-13-2009 02:40 AM
SolutionIf you are using automount/autofs on client side, you don't need to do much on NFS cients.
Make sure no clients are currently mounted the filesystem and after confirmation just unexport the /usr/sap on NFS server using #exportfs -u /usr/sap
Now you can extend the filesystem as we described earlier.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 04:41 AM
тАО05-13-2009 04:41 AM
Re: extend LVM without onlineJFS
1. lvextend -L 20480 /dev/vg01/usrsap
2. umount /usr/sap
3. extendfs -F vxfs /dev/vg01/rusrsap
4. mount /usr/sap
Yes, you can run lvextend without unmounting first, minimizes the unmount time. Using extendfs is safer than fsadm, no number of sectors needed.
Take a look at the "man lvextend" this very same example is towards the bottom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 05:51 AM
тАО05-13-2009 05:51 AM
Re: extend LVM without onlineJFS
please follow the steps :----
(1)umount /usr/sap
(2)if it is showing device is busy then
fuser -cu /usr/sap
fuser -ku /usr/sap
kill pid or kill -9 pid
(3) lvextend -L 20480 dev/vg01/usrsap
(4)extendfs /dev/vg01/rusrsap
(5)mount /dev/vg01/rusrsap /usr/sap
(6)check the new size using bdf
(7)Start the nfs service on server
/sbin/init.d/nfs.server start
(8)NFS shared FS on client machine will mount automaticaly.
Regards,
Subodh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 08:56 AM
тАО05-13-2009 08:56 AM
Re: extend LVM without onlineJFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 11:19 AM
тАО05-13-2009 11:19 AM
Re: extend LVM without onlineJFS
and you are all set to go
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 06:10 PM
тАО05-13-2009 06:10 PM
Re: extend LVM without onlineJFS
I have successfully extend my /usr/sap mount point to another 10gb. here was the steps taken ...
1. remove all nfs client connected to /usr/sap
2. unexport the /usr/sap nfs
exportfs -u /usr/sap/trans
3. umount /usr/sap
# umount /usr/sap
4. extend the fs
# lvextend -L 20480 /dev/vg01/usrsap
# extendfs /dev/vg01/rusrsap
5. mount back the fs
# mount /usr/sap
6. check the new size (20Gb)
# bdf /usr/sap
Filesystem kbytes used avail %used Mounted on
/dev/vg01/usrsap 20971520 10123384 10170186 50% /usr/sap
7. export back the unexported nfs file
# exportfs -a
8. mount back all the nfs share at the relevant client.
Tqvm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 10:06 PM
тАО05-13-2009 10:06 PM
Re: extend LVM without onlineJFS
- « Previous
-
- 1
- 2
- Next »