- 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
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-20-2005 09:47 PM
06-20-2005 09:47 PM
lvextend: Not enough free physical extents available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 09:54 PM
06-20-2005 09:54 PM
Re: lvextend: Not enough free physical extents available.
Possibally this LV has got strict allocation policy set which is causing this. If this is set then two copies of each LE's will be kept on seperate physical volumes & here it will not be possible as you have 0 free PE on one disk causing this error. Can be resolved by changing strict allocation policy using lvchange command with -s option but is not recommended as may cause data loss when second disk having both copies of your data of this file system fails.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 09:55 PM
06-20-2005 09:55 PM
Re: lvextend: Not enough free physical extents available.
not sure i understand fully, could u post output of vgdisplay from VG00?
# vgdisplay -v vg00
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 10:27 PM
06-20-2005 10:27 PM
Re: lvextend: Not enough free physical extents available.
See attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 10:31 PM
06-20-2005 10:31 PM
Re: lvextend: Not enough free physical extents available.
Could you also attach "bdf" & "lvdisplay -v /dev/vg00/lvol* " for us to know which file system corresponds to /home & what are the parameters set for that.
Regards,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 11:30 PM
06-20-2005 11:30 PM
Re: lvextend: Not enough free physical extents available.
I'd say You don't really need it for /home, so You could disable it with
lvchange -s n /dev/vg00/lvol
If You don't want to break the allocation policy, You will have to move the lv to the end of Your allocated PEs on the disks, but I don't think You want to do that :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 11:34 PM
06-20-2005 11:34 PM
Re: lvextend: Not enough free physical extents available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 11:39 PM
06-20-2005 11:39 PM
Re: lvextend: Not enough free physical extents available.
Yes , Strcit allocation is set, so for this to become a mirroed LV both disks should have atleast the amount of free space by which you want to extend this. The other option is to change allocation policy & then extending with mirror. If you can have it without mirror then reduce mirror from the disk not having the free space & extend the LV.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 12:08 AM
06-21-2005 12:08 AM
Re: lvextend: Not enough free physical extents available.
From your attachement...
LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 64
Allocated PE 128 <---- NOTICE
Used PV 2
LV Name /dev/vg00/lvol12
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 2560
Allocated PE 2560 <---- NOTICE
Used PV 2
Notice that LVOL12 is not mirrored and is has used the last remaining 1754 PE's of PV1 and has used last 806 PE's in the seconf PV2 leaving 948 PE's free in PV2. as you see for mirroed LVOL11 has twice the number of PE's compared to LE's...
you have two option...
1) Move the lvol12 to anyother VG where you do not want it to be mirrored it anyway..whereas you want all LV's in vg00 to be mirrored..
2) As others have suggested turnoff the mirror allocation policy to NON-STRICT policy while creating the LV..
ex :
lvcreate -s n -L
lvextend -m 1 /dev/vg00/lvol13
But bear in mind that your size of new LV, cannot be more than... 474 * 8 MB = 3792 MB .
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 12:18 AM
06-21-2005 12:18 AM
Re: lvextend: Not enough free physical extents available.
Have a look at output from these commands :
vgdisplay -v vg00 | grep "LV Name" | awk '{print $NF}' | while read lv
do
echo "$lv : \c"
lvdisplay -v $lv | grep Mirror | awk '{print $NF}'
done
It will show a line per LV and the number of mirrors it has. Mirroring the ones that are not mirrored may be more important than increasing /home as it may bring you serious damage.
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
06-21-2005 06:19 PM
06-21-2005 06:19 PM
Re: lvextend: Not enough free physical extents available.
lvextend: Not enough free physical extents available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 06:49 PM
06-21-2005 06:49 PM
Re: lvextend: Not enough free physical extents available.
mount
bdf
For us to see what LV corresponds to what FS ?
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
06-21-2005 09:49 PM
06-21-2005 09:49 PM
Re: lvextend: Not enough free physical extents available.
See attached
mount
bdf
output.
Best wishes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2005 12:36 AM
06-22-2005 12:36 AM
Re: lvextend: Not enough free physical extents available.
As stated earlier you have free PEs on only one disk but your allocation policy require the extents to be there on different disks for both copies of data. Options left.
1. Extend File system after removing mirror.
2. Extend file system with mirror but after changing Strict allocation policy to off through lvchange command.
3. Extend after adding another disk to VG.
HTH,
Devender