- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extend logical volume with out unmounting the volu...
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-02-2010 03:49 AM
08-02-2010 03:49 AM
extend logical volume with out unmounting the volume
I'm trying to extend the logical volume by adding new physical volume getting error massage says
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg02/lvol10" could not be extended.
but vgdisplay -v vg02 shows
VG Name /dev/vgora02
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 11
Open LV 11
Max PV 60
Cur PV 31
Act PV 31
Max PE per PV 10000
VGDA 62
PE Size (Mbytes) 8
Total PE 53329
Alloc PE 52050
Free PE 1279
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
&
is there any method to do it with out un-mounting the logical volume
Thanks
primesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 03:51 AM
08-02-2010 03:51 AM
Re: extend logical volume with out unmounting the volume
Please post the lvextend command and a lvdisplay -v for this LVOL.
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-02-2010 03:55 AM
08-02-2010 03:55 AM
Re: extend logical volume with out unmounting the volume
vgdisplay -v vg02
output.
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-02-2010 05:20 AM
08-02-2010 05:20 AM
Re: extend logical volume with out unmounting the volume
Seems clear enough. Since you did not post the actual lvextend command you used, we can only guess that you specified -l or -L for the new volume that will require more than 1279 extents (or 10232 MB). You may also have other restrictions for this volume group such as mirroring, striping and strict allocation policies. Post the command:
vgdisplay -v vgora2
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 11:29 AM
08-02-2010 11:29 AM
Re: extend logical volume with out unmounting the volume
the out put of the command you requested
#vgdisplay -v vgora02 |more
VG Name /dev/vgora02
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 11
Open LV 11
Max PV 60
Cur PV 31
Act PV 31
Max PE per PV 10000
VGDA 62
PE Size (Mbytes) 8
Total PE 53329
Alloc PE 52050
Free PE 1279
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
********************************************
#lvdisplay -v /dev/vgora02/lvol10 |more
--- Logical volumes ---
LV Name /dev/vgora02/lvol10
VG Name /dev/vgora02
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 36088
Current LE 4511
Allocated PE 4511
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation non-strict
IO Timeout (Seconds) default
*********************************************
#lvextend -l 53329 /dev/vgora02/lvol10
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgora02/lvol10" could not be extended.
You have mail in /var/mail/root
those are the out put of the the commands can you please looking to it
Thanks
primesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 12:32 PM
08-02-2010 12:32 PM
Re: extend logical volume with out unmounting the volume
you are using the switch "-l" which is use to mention number of total extends, not the size in MB , for size in MB use -L
Free PE 1279 available
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 12:38 PM
08-02-2010 12:38 PM
Re: extend logical volume with out unmounting the volume
> Free PE 1279
SO you have 8 * 1279 MB of space (10232 MB free)
> LV Name /dev/vgora02/lvol10
> LV Size (Mbytes) 36088
> lvextend -l 53329
And the math says: 53329 - 36088 = 17241 MB increase. So you are short 17241 - 10232 = 7009 MB. Add more disk space to the volume group.
So the original error message correctly stated the problem. You need 7009 MB of additional space to extend this lvol.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2010 04:18 AM
08-04-2010 04:18 AM
Re: extend logical volume with out unmounting the volume
if onlinejfs in installed on the system then you can easily extend a LVM without unmounting the filesystem. After extended using lvextend command you need to extend the filesystem using fsadm command.
Do let me know if you dont know the exact command.
Aungshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2010 12:39 AM
08-06-2010 12:39 AM
Re: extend logical volume with out unmounting the volume
Thank you very much to all
primesh