Le 25 sept. 08 à 19:19, Jeremy Lyon a écrit :
I have also encountered a similar problem under the current RHEL 5.2 with clvmd and pvmoving several lv from one pv to an other :
- on small volumes (8 G), pvmove do its job without problem
- on bigger volumes, pvmove seams to hangs at one point, the only solution being to reboot the node.
- on volumes having several segments, the node hangs at the end of the each segment
- you alway get the warning about creating mirror dirty log, but I have found out a bugzilla entry for this one (you may just ignore it)
Also I have "feature" that is also a solution :
- start the pvmode, then issue a ctrl-c after getting some output (x % done)
- the pvmode is supposed to stop at this time, but in fact it continues in background !
- the pvmove continue up to the point of the next segment boundary
- if the lv you are moving is multi-segmented, the first segment was successfully moved, but you have to issue a pvmove again (and a ctrl-c) to continue the next segment
I have succeeded in moving about 1To of data from one SAN to an other with that feature !
I think there is both problems here :
- a problem with pvmove output and pvmove background operation. Note that I have to do a pvmove + ctrl-c and that a pvmove -b do not work. This problem is probably a lvm problem as I have found some other user having the same issue under ubuntu (and without cman/clvmd)
- a problem with clvmd locking that is done at the end of each segments : at that time the new pvmove mirror segment is made the current allocated one and the old one is made free, and the other members of the cluster are informed (cvlvmd locking + segment marking + clvmd unlocking). This operation seams to fail with an error about locking error.