- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvmove: not enough space
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
тАО12-05-2010 07:41 PM
тАО12-05-2010 07:41 PM
pvmove: not enough space
I'm needing to remove a physical volume from a VG, and am using pvmove. If I just move to only one PV, it's working, but if I try to relocate to multiple PVs (since the source PV is too big to fit on one destination PV), it fails with the following error:
pvmove: Couldn't relocate physical extent:
Not enough space
I attached output of vgdisplay on the VG as well as the command I ran with the disk names.
I actually have tried this across multiple disks, and thought I would simplify the problem a bit. Am I misunderstanding the use of the pvmove command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 07:45 PM
тАО12-05-2010 07:45 PM
Re: pvmove: not enough space
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 08:02 PM
тАО12-05-2010 08:02 PM
Re: pvmove: not enough space
To do a pvmove, the destination pv size should be larger or of the same size....
The error clearly states that the source PV and destination PV sizes not equal and the destination PV is of smaller size. Use a PV with same size and attempt the pvmove which will succeed.
Thanks & Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 08:11 PM
тАО12-05-2010 08:11 PM
Re: pvmove: not enough space
i'm trying to move the PV onto two devices ("striped" across those devices, if you will).
When I run the same command in preview mode, it seems to succeed, the first 3486 PE go to disk113, the remaining PE go to disk114 (preview mode shows where each physical extent will end up).
However, when running it for real, it fails. I know that disk113 doesn't have enough PE, but between the two disks there is plenty.
I haven't tried out the auto-balance operational modes yet to see if they will work, but I guess I'm just wondering why this doesn't work.
FYI, here is the example I'm working off from the manpage:
Move physical extents from /dev/dsk/c1t0d0 to /dev/dsk/c2t0d0 and
/dev/dsk/c3t0d0:
pvmove /dev/dsk/c1t0d0 /dev/dsk/c2t0d0 /dev/dsk/c3t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 08:11 PM
тАО12-05-2010 08:11 PM
Re: pvmove: not enough space
Please go through the description on pvmove command which will help you. Please see the second last paragraph that clarifies " Why your pvmove can't succeed"
The pvmove command moves allocated physical extents and the data they contain from a source physical volume, source_pv_path, to one or more other physical volumes in the same volume group.
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.
To limit the transfer to specific physical volumes, specify the name of each physical volume directly with a dest_pv_path argument.Optionally, if physical volume groups are defined for the volume group, specify the physical volumes indirectly with one or more dest_pvg_name arguments.
source_pv_path must not appear as a dest_pv_path.
If source_pv_path is a member of a dest_pv_path, it is automatically excluded from being a destination physical volume.
pvmove succeeds only if there is enough space on the destination physical volumes to hold all the allocated extents of the source physical volume.
If you have installed HP MirrorDisk/UX on your system and source_pv_path is an "active spare" physical volume within a mirrored logical volume, once all of the data has been moved to dest_pv_path, the source_pv_path physical volume will be returned to a "stand-by" spare physical volume. This is how to "unspare" data once the original failed physical volume has been repaired and is available to receive data.
Thanks & Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 08:19 PM
тАО12-05-2010 08:19 PM
Re: pvmove: not enough space
Can you tell me which pv you are trying to move?
disk87 or disk 10?
Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 08:20 PM
тАО12-05-2010 08:20 PM
Re: pvmove: not enough space
"pvmove succeeds only if there is enough space on the destination physical volumes to hold all the allocated extents of the source physical volume."
I'm trying to move
/dev/disk/disk87 (55999 total - 24514 free = 31485 allocated)
To:
/dev/disk/disk113 (3486 free)
/dev/disk/disk114 (39999 free)
This should work, right? What am I not understanding?
Thanks again for the reply...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 08:26 PM
тАО12-05-2010 08:26 PM
Re: pvmove: not enough space
I tried the one argument form:
pvmove /dev/disk/disk87 (which says it will put the PEs in any free PE on the VG)
and also tried putting it on all other disks explicitly.
The only thing I didn't try are any of the -a forms of the commands, since I'm not really interested in auto-balancing (my storage does that for me already).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 08:30 PM
тАО12-05-2010 08:30 PM
Re: pvmove: not enough space
You could try with below:
Move the fist 3486 PE's to disk113
#pvmove /dev/disk/disk87:0-3486 /dev/disk/disk113
Them move the rest PE's to disk114
#pvmove /dev/disk/disk87:3487-55999 /dev/disk/disk114
Regs...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2010 08:35 PM
тАО12-05-2010 08:35 PM
Re: pvmove: not enough space
Can you just validate that my understanding of the operation is correct.
In other words: My command *should* have worked, given the input I provided, right?