- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error extending a LV on a ServiceGuard FS.
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
06-28-2006 07:12 AM
06-28-2006 07:12 AM
GDOCLCS1 > lvextend -L 235000 /dev/gdoc_fndocs0/fn_docs0
lvextend: Not enough free physical extents available.
Logical volume "/dev/gdoc_fndocs0/fn_docs0" could not be extended.
Here goes the output of VGdisplay:
vgdisplay /dev/gdoc_fndocs0
--- Volume groups ---
VG Name /dev/gdoc_fndocs0
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 7
Act PV 7
Max PE per PV 25003
VGDA 14
PE Size (Mbytes) 4
Total PE 113238
Alloc PE 57678
Free PE 55560
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
And LVDisplay:
GDOCLCS1 > lvdisplay /dev/gdoc_fndocs0/fn_docs0
--- Logical volumes ---
LV Name /dev/gdoc_fndocs0/fn_docs0
VG Name /dev/gdoc_fndocs0
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 230712
Current LE 57678
Allocated PE 57678
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
Recently I added 4 disks, I need to extend a LV under this VG.
Can anyone help? TIA.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 07:25 AM
06-28-2006 07:25 AM
Solution# lvchange -s n /dev/gdoc_fndocs0/fn_docs0
# lvextend -L 235000 /dev/gdoc_fndocs0/fn_docs0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 07:26 AM
06-28-2006 07:26 AM
Re: Error extending a LV on a ServiceGuard FS.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 07:30 AM
06-28-2006 07:30 AM
Re: Error extending a LV on a ServiceGuard FS.
Do you know if the 'vgchange' command will cause any hang acessing the VG/LV?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 07:56 AM
06-28-2006 07:56 AM
Re: Error extending a LV on a ServiceGuard FS.
# cat /etc/lvmpvg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:03 AM
06-28-2006 08:03 AM
Re: Error extending a LV on a ServiceGuard FS.
1) vgextend -g pvg /dev/vg## /dev/dsk/....
2) lvextend -m /dev/vg##/lvol# /dev/dsk/... pvg#
3) vi /etc/lvmpvg (* manually add in new disks)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:37 AM
06-28-2006 08:37 AM
Re: Error extending a LV on a ServiceGuard FS.
GDOCLCS1 > cat lvmpvg
VG /dev/vg00
PVG PVG00A
/dev/dsk/c1t2d0
PVG PVG00B
/dev/dsk/c2t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 09:17 AM
06-28-2006 09:17 AM
Re: Error extending a LV on a ServiceGuard FS.
That's it, Problem solved, two last qustion, should I return the VG to PVG Strict Setting?? Is it possible to raise the logical extents maximum? also near the top
Since this volume is user by a ServiceGuard Cluster...
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 01:38 PM
06-28-2006 01:38 PM
Re: Error extending a LV on a ServiceGuard FS.
There is nothing like a max logical extents, there is only max physical extents. The value of max PE is set when the VG is created and can only be changed by removing the VG and recreating it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 10:45 PM
06-28-2006 10:45 PM
Re: Error extending a LV on a ServiceGuard FS.
GDOCLCS1 > lvextend -L 280000 /dev/gdoc_fndocs0/fn_docs0
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.
I think this is the set value when creating the LV, right?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 01:21 AM
06-29-2006 01:21 AM
Re: Error extending a LV on a ServiceGuard FS.
The following error message means you are trying to allocate more than 65535 (hard limit) PEs to the LV. (i.e 28000 > 65535 * 4 )
lvextend: "LogicalExtentsNumber" is bigger tha the maximum value allowed.
Now with the current configuration, you cannot allocate more than 65535 PEs to your LV. I believe the only way to work around this limitation is to recreate the VG with bigger PE size.
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 01:24 AM
06-29-2006 01:24 AM
Re: Error extending a LV on a ServiceGuard FS.
* If you want to mirror the volumes across the controllers(i.e when you dont want to mirror the volume to a physical disk that is connected to the same HBA as the primary one).
* If you use the distribution allocation for the LV, which you dont.
So, you can leave it off.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 03:50 AM
06-29-2006 03:50 AM
Re: Error extending a LV on a ServiceGuard FS.
Gracias. :)