- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvmove: not enough free physical extents avail...
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
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
тАО06-15-2010 04:34 AM
тАО06-15-2010 04:34 AM
pvmove: not enough free physical extents available
We have to modify a volume group. In order to do this we have to free up PE 0. We followed the instructions which said to do the following:
# pvmove /dev/dsk/c4t0d4:0 /dev/dsk/c4t0d4
which gave the following error:
pvmove: Not enough free physical extents available.
We removed the strict allocation policies on the LVs and that didn't help either.
Any suggestions?
HP-UX 11.23
# vgdisplay /dev/vgqac
--- Volume groups ---
VG Name /dev/vgqac
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 24
Open LV 24
Max PV 16
Cur PV 9
Act PV 9
Max PE per PV 20000
VGDA 18
PE Size (Mbytes) 4
Total PE 104424
Alloc PE 102207
Free PE 2217
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 04:39 AM
тАО06-15-2010 04:39 AM
Re: pvmove: not enough free physical extents available
--- Logical volumes ---
LV Name /dev/vgqac/lvarch
VG Name /dev/vgqac
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c4t0d4 1024 1024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 04:47 AM
тАО06-15-2010 04:47 AM
Re: pvmove: not enough free physical extents available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 05:04 AM
тАО06-15-2010 05:04 AM
Re: pvmove: not enough free physical extents available
Since you're planning to use vgmodify, you've no doubt already made a full backup. So go ahead, try it out.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 05:09 AM
тАО06-15-2010 05:09 AM
Re: pvmove: not enough free physical extents available
> So pvmove will move extent 0 to a free extent on the same PV. However, it looks like I don't have any free extents. Can I move extent 0 to ANY free extent on any PV in the VG?
The manpages indicate that "If a destination physical volume or physical volume group is not specified, all physical volumes in the
volume group are available as destination volumes for the transfer. pvmove selects the proper physical volumes to be used in order to preserve the allocation policies of the logical volume involved".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 05:53 AM
тАО06-15-2010 05:53 AM
Re: pvmove: not enough free physical extents available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 05:59 AM
тАО06-15-2010 05:59 AM
Re: pvmove: not enough free physical extents available
> I do also have 8GB free...so I was thinking of just adding a couple of extents to the LV and then trying the pvmove again to the same PV.
This isn't going to do anything. The logical volume doesn't "know" what's "used" and what's not. You need free *physical* extents on a physical volume (which you have somewhere in the volume group).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2010 04:54 AM
тАО07-06-2010 04:54 AM
Re: pvmove: not enough free physical extents available
When you run vgmodify cmd. it needs first PE on every disk in the VG must be free. I can see you have 9 PV in /dev/vgqac VG.
First you must see which PV has enough free space. For eg. we consider it as /dev/dsk/c4t0d9
#pvmove /dev/dsk/c4t0d4:0 /dev/dsk/c4t0d9
run above cmd for all disk in the VG including /dev/dsk/c4t0d9.
#pvmove /dev/dsk/c4t0d9:0 /dev/dsk/c4t0d9
After this you will be able to modify VG with vgmodify cmd.
Sujit.