- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend: Not enough free physical extents ava...
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-2004 12:05 AM
06-28-2004 12:05 AM
lvextend: Not enough free physical extents available
When i create a new volume using
#lvcreate -L 10 -n newvol vg00
iam getting the following error message
"lvextend: Warning: The physical volume "/dev/dsk/c2t5d0" is not available for allocation. lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/newvol" could not be extended.
Failure possibly caused by strict allocation policy.
How can i go about in rectifying the same.
Thanks
S.Jagadesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:09 AM
06-28-2004 12:09 AM
Re: lvextend: Not enough free physical extents available
# ll /dev/vg00/newvol
Does the newvol volume already exist ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:10 AM
06-28-2004 12:10 AM
Re: lvextend: Not enough free physical extents available
Try doing :
# vgdisplay -v vg00
See whether /dev/dsk/c2t5d0 is listed.
# pvdisplay -v /dev/dsk/c2t5d0
See whether it show any problem in the PV like do you see any stale PE in that.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:25 AM
06-28-2004 12:25 AM
Re: lvextend: Not enough free physical extents available
When i exec the command
#vgdisplay -v vg00
it is displaying
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 5
Open LV 5
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 3881
Free PE 459
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
.
.
.
.
PV Name /dev/dsk/c2t5d0
PV Status available
Total PE 4340
Free PE 459
Autoswitch On
On issuing the command
#pvdisplay -v /dev/dsk/c2t5d0
--- Physical volumes ---
PV Name /dev/dsk/c2t5d0
VG Name /dev/vg00
PV Status available
Allocatable no
VGDA 2
Cur LV 4
PE Size (Mbytes) 4
Total PE 4340
Free PE 459
Allocated PE 3881
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/lvol1 75 75
/dev/vg00/lvol2 256 256
/dev/vg00/lvol3 3500 3500
/dev/vg00/datavol 50 50
I hope that there is some problem in physical extend. How can i increase the same??
Thanks
Jagadesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:30 AM
06-28-2004 12:30 AM
Re: lvextend: Not enough free physical extents available
Got your problem. See the doc attached, go to chapter 16, Page no. 12 of the PDF.
This should work.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:30 AM
06-28-2004 12:30 AM
Re: lvextend: Not enough free physical extents available
lvcreate -L 12 -n newvol vg00
(after lvremove /dev/vg00/newvol)
Rgs...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:32 AM
06-28-2004 12:32 AM
Re: lvextend: Not enough free physical extents available
Failure possibly caused by strict allocation policy.
itself reveals that you need to reset the allocation policy from strict to normal.
lvchange will do it....
lvchange -s n /dev/vg00/newvol
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:34 AM
06-28-2004 12:34 AM
Re: lvextend: Not enough free physical extents available
you can extend the PE Size (i.e. to 16) with the following command :
vgcreate -s 16 /dev/vgxx /dev/dsk/c?t?d?
HTH
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:45 AM
06-28-2004 12:45 AM
Re: lvextend: Not enough free physical extents available
If this is the case, then you'll need to look at the mirroring of all the vg00 logical volumes and make sure they are optimally arranged.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 01:09 AM
06-28-2004 01:09 AM
Re: lvextend: Not enough free physical extents available
Issue "pvchange -x y /dev/dsk/c2t5d0" and re-try your lvcreate command.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 01:09 AM
06-28-2004 01:09 AM
Re: lvextend: Not enough free physical extents available
See "lvsync" command.
Bruno