- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend: Not enough free physical extents availab...
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
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
тАО01-03-2005 02:42 PM
тАО01-03-2005 02:42 PM
lvextend: Not enough free physical extents available.
Logical Volume: lvol6
Volume Group: vg00
Space Available in Volume Group (Mbytes): 10304
Current Logical Volume Size (Mbytes): 856
Logical volume "/dev/vg00/lvol6" could not be extended.
Failure possibly caused by strict allocation policy
strict allocation policy meant that "Mirrors of a logical extent cannot
share the same physical volume." from man.
From the below info, i have 2 pv to this vg. How can i verify that its not the same pv?
# vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 15
Open LV 15
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 7392
Free PE 1288
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
# lvdisplay /dev/vg00/lvol6
--- Logical volumes ---
LV Name /dev/vg00/lvol6
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 856
Current LE 107
Allocated PE 214
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:05 PM
тАО01-03-2005 03:05 PM
Re: lvextend: Not enough free physical extents available.
type the following:-
#strings /etc/lvmtab
and see the number of physical disks under /dev/vg00
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:12 PM
тАО01-03-2005 03:12 PM
Re: lvextend: Not enough free physical extents available.
/dev/vg00
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:13 PM
тАО01-03-2005 03:13 PM
Re: lvextend: Not enough free physical extents available.
You can try to use this command:
lvchange -C n /dev/vg00/lvol6
And then try to extend that logical volume.
Regard,
HoangChiCong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:19 PM
тАО01-03-2005 03:19 PM
Re: lvextend: Not enough free physical extents available.
from ur /etc/lvmtab its clear that vg00 contains 2 physical drives.What about the input from the other friend? its working?
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:20 PM
тАО01-03-2005 03:20 PM
Re: lvextend: Not enough free physical extents available.
give the bdf output and tell me what steps are u following to extend ur lvol6.
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:21 PM
тАО01-03-2005 03:21 PM
Re: lvextend: Not enough free physical extents available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:24 PM
тАО01-03-2005 03:24 PM
Re: lvextend: Not enough free physical extents available.
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:28 PM
тАО01-03-2005 03:28 PM
Re: lvextend: Not enough free physical extents available.
Give the out put of vgdisplay -v
I feel in one of the mirrored disk space is less.
Kindly provide the above.
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:29 PM
тАО01-03-2005 03:29 PM
Re: lvextend: Not enough free physical extents available.
you are having a mirror in the root volume.the two disks are used for that.
the problem can happen in the following way.you have created mirror for the lvols which was existing at the time of creation of mirror.after that you may have created so many lvols and not mirrored.the free extents showing in the vgdisplay command may be almost from the second disk.you can check for enough free extents by vgdisplay -v vg00 command (see at the end of output ,enough free extents are available on both disks.)
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:37 PM
тАО01-03-2005 03:37 PM
Re: lvextend: Not enough free physical extents available.
Bhavin will help u.
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:38 PM
тАО01-03-2005 03:38 PM
Re: lvextend: Not enough free physical extents available.
one of my 2 disks in my vg has no free extents at all. Since the allocation policy is strict, then the mirror must be in different disks and hence on these 2 disks. However, since one of my disk has no free space, therefore, i get the error which i posted in the first message.
how to get space for the no free space (/dev/dsk/c1t2d0) ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 03:48 PM
тАО01-03-2005 03:48 PM
Re: lvextend: Not enough free physical extents available.
create new lvols in the other disk and copy the contents of some lvols from first disk.then remove the lvol on first disk by lvremove command.
do the following.
1. create a lvol on the second disk which is equal to the size of lvol on first disk.
2. use dd or cpio command to copy all data from first disk lvol to second disk lvol.
3.if you are using dd, mount the second disk lvol to some other mount point and make sure that all data is available.
4. remove the lvol from first disk.mount the second disk lvol at the proper mount point.make proper changes in /etc/fstab.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 05:47 PM
тАО01-03-2005 05:47 PM
Re: lvextend: Not enough free physical extents available.
What about the prob.? have you completed the activity or still facing some prob in doing it?
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 06:19 PM
тАО01-03-2005 06:19 PM
Re: lvextend: Not enough free physical extents available.
I have solved the problem. I just removed logical volumes that belongs to the pv which has no free PE or LE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 07:01 PM
тАО01-03-2005 07:01 PM
Re: lvextend: Not enough free physical extents available.
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 07:25 PM
тАО01-03-2005 07:25 PM
Re: lvextend: Not enough free physical extents available.
(0 for this post)
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2005 08:34 PM
тАО01-03-2005 08:34 PM
Re: lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol6" could not be extended.
Failure possibly caused by strict allocation policy
mean it is not enought free space to extend lv.
To determine what pv belong to vg you can use
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
/dev/vg01
/dev/dsk/c13t0d1
/dev/dsk/c16t0d1
/dev/dsk/c18t0d1
/dev/dsk/c21t0d1