pvmove to smaller PVs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to use pvmove to move data from a 300 GB S-ATA disk onto
four, smaller 120 GB IDE disks. However, pvmove tells me that it cannot
allocate enough contiguous PEs to fit 300 GB, like this:

# pvmove /dev/sde1
  Insufficient contiguous allocatable extents (28617) for logical volume
pvmove0: 71541 required
  Unable to allocate temporary LV for pvmove.

I can, of course, understand that it can't find contiguous PEs
corresponding to 300 GB, but I don't understand why it should need it to
be contiguous. Can pvmove not just divide that storage into three
"partitions", each fitting on one 120 GB disk, and move them? Is there a
way for me to tell it to do so?

I seem to be able to use something like "pvmove /dev/sde1:0-28616" to
tell pvmove manually to do this for me, but this poses a small problem
for me, as not all of the data on the disks I want to move from are
allocated where I know them to be. This particular disk is fully
allocated, so that I know what I could do with that syntax, but is there
really no way to tell pvmove to do this automatically? It just seems
kind of strange to me.

Fredrik Tolf


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux