where the DestinationLogicalVolume is built beforehand with the stripe size you want and made to be of type 'copy'.
from the 5.2 man pages on cplv:
If you are copying a striped logical volume and you have created the destination logical volume, with the mklv command using a different stripe block size and striping width, or the destination is not a striped logical volume, the new characteristics are maintained, and the data is copied from the source logical volume.
now, i have not tried to copy a logical vol where the source was not striped into a destination that was.. but i'm assuming it should work. have you tried this and it did not work?
and if you are dealing with filesystems, you should be able to copy as you want with 'tar':
cd /newfs
tar -cf - -C /oldfs . |tar -xvpf -
in this case, the underlying filesystem structure will not matter.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.