On Fri, Sep 24, 2004 at 06:31:15PM +1200, Steve Wray wrote: > So is there any other way to decomission that physical volume that > doesn't involve pvmove? I end up using lvcreate (with some options) to create a new logical volume that has no extents on the physical volume you want to move off of, and has the exact same number of extents as the logical volume you want to move. Then use dd to copy the blocks from the filesystem you want to move (which has to be unmounted, or mounted read-only) onto the new one. Then unmount the old one, lvremove it, and change fstab and things so the new one is mounted in its place. It's ugly and stupid. But, since pvmove doesn't seem to work yet, I think that's the best that can be done. I'm sorely disappointed that LVM2 was even put into the production kernel without pvmove working. :-( I know LVM2 and the device mapper concept are much better than LVM1. But, pvmove is a core piece of functionality. It's like releasing a filesystem for which the lstat call doesn't work or something similar. *sigh*, -- "It does me no injury for my neighbor to say there are twenty gods or no God. It neither picks my pocket nor breaks my leg." --- Thomas Jefferson "Go to Heaven for the climate, Hell for the company." -- Mark Twain -- Eric Hopper (hopper@omnifarious.org http://www.omnifarious.org/~hopper) --
Attachment:
pgpuLSCiuudBw.pgp
Description: PGP signature
_______________________________________________ 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/