- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend error
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
Forums
Discussions
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
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
03-26-2001 03:40 AM
03-26-2001 03:40 AM
lvextend error
when I try to extend this lvol I get an error. I know there is enough space to mirror it though;
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol14" could not be extended.
Failure possibly caused by strict allocation policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 03:44 AM
03-26-2001 03:44 AM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 03:46 AM
03-26-2001 03:46 AM
Re: lvextend error
have you checked the 'Free PE' of output from vgdisplay vg00 ?
Perhaps you have used wrong option ie:
lvextend -l 500 (extend to 500 PE = 2GB when PE Size=4MB)
lvextend -L 500 (extend to 500MB)
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 03:52 AM
03-26-2001 03:52 AM
Re: lvextend error
lvol14 for vg00 is a high number, is this for swap space ?
If so then you are trying to create the mirror of an lvol which must be contiguous therefore enough free space is not sufficient, it must be contiguous space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 04:08 AM
03-26-2001 04:08 AM
Re: lvextend error
Yes, this lvol is for swap space. I know there are enough free extents to mirror it from vgdisplay so how can I create contiguous space ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 04:15 AM
03-26-2001 04:15 AM
Re: lvextend error
you must use an lvextend -m 1 -C y -r n /dev/vgXY/lvolXYZ /dev/dsk/cXtYdZ
C = Contiguous
r = Bad Block Relocation
m = mirror option
dsk = optional to specify PV in the VG
otherwise wherever contig. space is found
As was mentioned before check your extent status with vgdisplay and pvdisplay to see if you've got free contiguous extents on that PV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 04:15 AM
03-26-2001 04:15 AM
Re: lvextend error
Swap partitions are required to be contiguous, that mean one straight big trunk of consecutive blocks. Your volume group may have enough space for the size specified, but they are spreaded over the volume group, that was the reason why the lvextend command being rejected by the OS.
~Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 04:26 AM
03-26-2001 04:26 AM
Re: lvextend error
Still nobody has come up with the way to create some contiguous space.
Options;
1. Do you have enough free extents on more than 1 disk in the volume group that lvol14 is not on ? If so, try extending explicitly to that disk by doing;
lvextend -m 1 /dev/vg00/lvol14 /dev/dsk/cxxxxxx
2. If possible, add in another disk to the volume group first, then use the explicit lvextend command above to extend the mirror on the new disk, as a new disk will always be contiguous when first added.
3. If possible find an lvol which has enough extents for you to create your mirror on and move it using the pvmove command to another disk. You shouldnt move lvols 1-8 on vg00.
Once youve pvmoved it to another disk you should have sufficient contiguous space to extend lvol14 to this disk.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 07:18 AM
03-26-2001 07:18 AM
Re: lvextend error
In any case, good answer above..
Bill