- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending logical Volume
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
Forums
Discussions
Discussions
Discussions
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
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
10-19-2005 04:00 AM
10-19-2005 04:00 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:03 AM
10-19-2005 04:03 AM
Re: Extending logical Volume
fsadm -b
to modify FS online, you have OnlineJFS to be installed.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:06 AM
10-19-2005 04:06 AM
Re: Extending logical Volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:07 AM
10-19-2005 04:07 AM
Re: Extending logical Volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:16 AM
10-19-2005 04:16 AM
Re: Extending logical Volume
This will give you the processes which are accessing /usr2 and they will need to be shutdown.
Then
# bdf /usr2
Notice the first column which tells you the logical volume information
# umount /usr2
# lvextend -L
where /dev/vgXX/lvolXX matches the logical volume information retreived from the bdf.
# fsadm -b
# mount /dev/vgXX/lvolXX /usr2
Or if /usr2 is in the /etc/fstab file, you can issue a "mountall" command which will then do fsck on the new filesystem and also mount the filesystem with proper switches too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:16 AM
10-19-2005 04:16 AM
Re: Extending logical Volume
If you want to do it without OnlineJFS:
lvextend -L
umount /usr2
extendfs /dev/vgXX/rlvolXX
mount /usr2
Done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:17 AM
10-19-2005 04:17 AM
Solution# bdf | grep usr2
Check to see how much free space there is in usr2's volume group:
# vgdisplay /dev/
extend logical volume:
# lvextend -L
Find out if you have OnlineJFS:
# swlist -l fileset | grep -i onlinejfs
With OnlineJFS:
# fsadm -b $((
Without OnlineJFS:
- Stop all process accessing /usr2
# umount /usr2
# extendfs /dev/
# mount /usr2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:26 AM
10-19-2005 04:26 AM
Re: Extending logical Volume
extendfs /dev/vgXX/rlvolXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:32 AM
10-19-2005 04:32 AM
Re: Extending logical Volume
umount: cannot unmount /usr2 : Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:38 AM
10-19-2005 04:38 AM
Re: Extending logical Volume
Run:
fuser -cu /usr2
This will give you the list of processes using /usr2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:51 AM
10-19-2005 04:51 AM
Re: Extending logical Volume
I would also suggest having a fresh backup of the file system you are trying to change and make sure you have enough free PEs (vgdisplay -v vg_name) on the volume group. Btw, extending a volume group and logical volume is totally different. I guess you are talking about exteding your LV here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 04:53 AM
10-19-2005 04:53 AM
Re: Extending logical Volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 05:02 AM
10-19-2005 05:02 AM
Re: Extending logical Volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 05:02 AM
10-19-2005 05:02 AM
Re: Extending logical Volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 05:03 AM
10-19-2005 05:03 AM
Re: Extending logical Volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 09:21 AM
10-19-2005 09:21 AM