- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't lvextend
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
10-24-2006 03:10 AM
10-24-2006 03:10 AM
#lvextend -L 38000 /dev/data/u01
lvextend: Not enough free physical extents available.
Logical volume "/dev/data/u01" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/data".
Failure possibly caused by strict allocation policy
The volume group is in a service guard cluster, and the disk is a dual pathed raid five 3 disk lun from an FC60.
Here are the exact commands I used after binding the lun and identifying the device files.
pvcreate /dev/rdsk/c6t0d7
vgextend /dev/data /dev/dsk/c6t0d7 /dev/dsk/c4t0d7
(The second disk device file is just the alternative path.)
Then the lvextend you see above. I also updated the other node with the map file from this node.
Here is the output from vgdisplay:
VG Name /dev/data
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 20000
VGDA 6
PE Size (Mbytes) 4
Total PE 25983
Alloc PE 17000
Free PE 8983
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
lvmtab looks correct.
Anyone have any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 03:15 AM
10-24-2006 03:15 AM
Re: Can't lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 03:25 AM
10-24-2006 03:25 AM
Re: Can't lvextend
I already searched the forum for answers, and I think the difference here is the the line:
lvextend: Couldn't retrieve the list of the physical volumes
Strict allocation and mirroring just shouldn't be an issue here.
I'm wondering if something is corrupt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 03:30 AM
10-24-2006 03:30 AM
Re: Can't lvextend
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 03:32 AM
10-24-2006 03:32 AM
SolutionMost common cause is that the logical volume was set up with strict allocation requiring contiguous allocation.
Clearly you have plenty of rree PE's.
lvchange -C n
Try lvextend again.
Failure possibly caused by strict allocation policy
For other possibilities run lvchange without options and see the other possible causes.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 03:33 AM
10-24-2006 03:33 AM
Re: Can't lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 03:36 AM
10-24-2006 03:36 AM
Re: Can't lvextend
How do I check to see if it is setup to be contiguous?
is it safe to make that lvchanged in a live service guard cluster?
What about could retrieve list of the physical volumes? I've never seen that before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 03:46 AM
10-24-2006 03:46 AM
Re: Can't lvextend
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 03:50 AM
10-24-2006 03:50 AM
Re: Can't lvextend
#vgdisplay -v data
--- Volume groups ---
VG Name /dev/data
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 20000
VGDA 6
PE Size (Mbytes) 4
Total PE 25983
Alloc PE 17000
Free PE 8983
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/data/u01
LV Status available/syncd
LV Size (Mbytes) 28000
Current LE 7000
Allocated PE 7000
Used PV 2
LV Name /dev/data/u02
LV Status available/syncd
LV Size (Mbytes) 28000
Current LE 7000
Allocated PE 7000
Used PV 2
LV Name /dev/data/data8
LV Status available/syncd
LV Size (Mbytes) 12000
Current LE 3000
Allocated PE 3000
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c4t0d0
PV Name /dev/dsk/c6t0d0 Alternate Link
PV Status available
Total PE 8661
Free PE 161
Autoswitch On
PV Name /dev/dsk/c6t0d1
PV Name /dev/dsk/c4t0d1 Alternate Link
PV Status available
Total PE 8661
Free PE 161
Autoswitch On
PV Name /dev/dsk/c6t0d7
PV Name /dev/dsk/c4t0d7 Alternate Link
PV Status available
Total PE 8661
Free PE 8661
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:07 AM
10-24-2006 04:07 AM
Re: Can't lvextend
Check the "Allocation" line in the lvdisplay output. If you see strict/contiguous then that could be your problem. Changing that should be fairly safe to do online via the lvchange command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:10 AM
10-24-2006 04:10 AM
Re: Can't lvextend
#lvdisplay -v /dev/data/u01 |more
--- Logical volumes ---
LV Name /dev/data/u01
VG Name /dev/data
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 28000
Current LE 7000
Allocated PE 7000
Stripes 2
Stripe Size (Kbytes) 4
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c4t0d0 3500 3500
/dev/dsk/c6t0d1 3500 3500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:11 AM
10-24-2006 04:11 AM
Re: Can't lvextend
When you assign more than 7 points to a post, a rabbit shows up on the post. Most forum users will think the issue has been resolved. You probably want to start a new post and paste the info from this one into it.
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:12 AM
10-24-2006 04:12 AM
Re: Can't lvextend
lvdisplay will show you.
It says allocation strict.
Which probably means my lvchange command will work.
Try it, it can't hurt anything.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:16 AM
10-24-2006 04:16 AM
Re: Can't lvextend
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:24 AM
10-24-2006 04:24 AM
Re: Can't lvextend
If you look at the man page for lvcreate you will see that '-S y', which is the default, really only affects mirrors. To summarize the man page: "Mirrors of a logical extent cannot share the same physical volume." So since this is not mirrored the strict allocation policy really has no effect.
You could try doing an 'lvchange -S n /dev/data/u01' but I don't think it would help.
I think the basis of the error is the "Couldn't retrieve the list of the physical volumes...."
I'm not sure why that is coming up especially when vgdisplay looks OK and you said /etc/lvmtab looks OK. If you have a support contract it may be time to involve HP as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:30 AM
10-24-2006 04:30 AM
Re: Can't lvextend
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/data
/dev/dsk/c4t0d0
/dev/dsk/c6t0d1
/dev/dsk/c4t0d1
/dev/dsk/c6t0d0
/dev/dsk/c6t0d7
/dev/dsk/c4t0d7
I will open a call with HP. Sigh