- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Free PE but lvextend fails
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
тАО04-01-2004 12:56 AM
тАО04-01-2004 12:56 AM
I tried to extend and lvol and the lvextend comes back and tells me:
# lvextend -L 1500 /dev/vg_158/lvol7
Warning: rounding up logical volume size to extent boundary at size "1504" MB.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg_158/lvol7" could not be extended.
Although, vgdisplay tells me:
VG Name /dev/vg_158
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 5000
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 5300
Free PE 3448
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
The config of this lvol might be not entirely correct since it is a leftover from a merge of 2 hard partitions. But I don't know where to look.
Maybe somebody knows.
Thanks,
Joachim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 12:58 AM
тАО04-01-2004 12:58 AM
Re: Free PE but lvextend fails
LV Name /dev/vg_158/lvol7
VG Name /dev/vg_158
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 01:06 AM
тАО04-01-2004 01:06 AM
Re: Free PE but lvextend fails
You must check the distribution of those all free PEs... a half should reside in one PV (belonging to a PVG) and the other half in other PV (belonging to another PVG).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 01:12 AM
тАО04-01-2004 01:12 AM
Re: Free PE but lvextend fails
lvdisplay:
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c27t6d0 64 64
/dev/dsk/c31t0d0 64 64
And the VG looks like there would be equally sized space left.
--- Physical volumes ---
PV Name /dev/dsk/c27t6d0
PV Status available
Total PE 4374
Free PE 1724
Autoswitch On
PV Name /dev/dsk/c31t0d0
PV Status available
Total PE 4374
Free PE 1724
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 01:13 AM
тАО04-01-2004 01:13 AM
Re: Free PE but lvextend fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 01:24 AM
тАО04-01-2004 01:24 AM
Re: Free PE but lvextend fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 01:33 AM
тАО04-01-2004 01:33 AM
Re: Free PE but lvextend fails
lvextend -l 65 /dev/vg_158/lvol7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 01:34 AM
тАО04-01-2004 01:34 AM
Re: Free PE but lvextend fails
As test, try to add just ONE logiccal extent (= two physical extents):
lvextend -l 65 /dev/vg_158/lvol7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 01:43 AM
тАО04-01-2004 01:43 AM
Re: Free PE but lvextend fails
I found in the man pages a hint to /etc/lvmpvg. I added the entries:
VG /dev/vg_158
PVG pv_158
/dev/dsk/c27t6d0
PVG pv_158_m
/dev/dsk/c31t0d0
Now the extension works with another error:
# lvextend -L 1500 /dev/vg_158/lvol7
Warning: rounding up logical volume size to extent boundary at size "1504" MB.
Logical volume "/dev/vg_158/lvol7" has been successfully extended.
Warning: Logical Volume number "1073741828" found on physical volume not found in "/dev/vg_158".
Volume Group configuration for /dev/vg_158 has been saved in /etc/lvmconf/vg_158.conf
What can I do about that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2004 01:48 AM
тАО04-01-2004 01:48 AM
Re: Free PE but lvextend fails
Oh dear :(
Looks like I was wrong. serves me right. You need 64. However, as mentioned, you have PVG-strict which means the mirror has to be on a different PVG that the primary. You need to make sure your free space is available across your physical volume groups.