[linux-lvm] pvmove: moving a mirror logical volume not supported?
jens.wilke at de.ibm.com
Thu Sep 7 15:35:43 UTC 2006
On Wednesday 06 September 2006 18:19, Alasdair G Kergon wrote:
> On Wed, Sep 06, 2006 at 11:14:13AM +0200, Jens Wilke wrote:
> > What is the reason for this?
> No code to do this has yet been written.
> There should be no fundamental problems with doing it.
pvmove does alreay something usefull if the skip on the mirror image
Problem is, that this is not fool proof because the allocation contraints
for a mirror need to be checked to maintain redundance.
Looking on the allocator and looking on lvconvert, I think, doing it right
will be a very ambitious task, or is my thinking wrong?
Does it make sense to support "simple cases" of moving mirror images
for the case that we have a source and a target specified and the
target is empty or does not contain other images of the same mirror?
On the other hand it is also possible to do a
lvconvert -m0; pvmove; lvconvert -m1
More information about the linux-lvm