- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: adding space to a 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
08-08-2006 05:49 AM
08-08-2006 05:49 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 05:55 AM
08-08-2006 05:55 AM
Re: adding space to a logical volume
man lvextend
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 05:56 AM
08-08-2006 05:56 AM
Re: adding space to a logical volume
# fsadm -F vxfs -b 5120M /mnt_point
OR
# umount /mnt_point
# extendfs -F vxfs /dev/vgXX/rlvol??
# mount /dev/vgXX/lvol?? /mnt_point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:00 AM
08-08-2006 06:00 AM
Re: adding space to a logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:04 AM
08-08-2006 06:04 AM
Re: adding space to a logical volume
You need to use vgextend to "grow" the volume group, then lvextend to "grow" the logical volume with the vg.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:11 AM
08-08-2006 06:11 AM
SolutionHP-UX cannot handle this at the moment.
You need to create a new LUN and add it as a new PV to your existing VG.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:12 AM
08-08-2006 06:12 AM
Re: adding space to a logical volume
if you do not see the device path, but see the hardware path, run
insf -e
command to assign device drivers.
then
pvcreate /dev/rdsk/cXtXdX
vgextent /dev/myvolumegroup /dev/dsk/cXtXdX
lvextend -L finalsize /dev/myvolumegroup/mylvol
should be quite straightforward
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:14 AM
08-08-2006 06:14 AM
Re: adding space to a logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:22 AM
08-08-2006 06:22 AM
Re: adding space to a logical volume
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:43 AM
08-08-2006 06:43 AM
Re: adding space to a logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 12:28 PM
08-08-2006 12:28 PM
Re: adding space to a logical volume
Note also that if you add some space to a logical volume (lvextend) with a filesystem, the filesystem is unaffected. You must use extendfs to remap the filesystem to take advantage of the additional space.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:02 PM
08-08-2006 06:02 PM
Re: adding space to a logical volume
HP-UX doesnt support increasing the LUN size which is already part of VG.Now you can create new LUN and add in to same VG then extend the lvols and do extendfs.
-sysadm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:42 PM
08-08-2006 06:42 PM
Re: adding space to a logical volume
Certain HP disk arrays do suport HP-UX expanding a LUN that is already in a vg.
If the lun has increased, usually you do have to boot.
Then you have to lvextend the logical volume.
Then you need to umount the filesystem and run extendfs
If you have Online JFS you can skipp the umount and use fsadm to extend the filesystem on the fly.
If your Volume group was not built to properly use the space, you may have to vgexport it and use vgcreate with the -p parameter to rebuild it with proper allocation for the amount of space required.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com