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

[linux-lvm] pvmove bugette in 1.1-rc2



a couple of days ago I was rebuilding my disks and came across a bugette
in 1.1-rc2.

Being stupid I hadn't upgraded the particular box from 1.0.3 before trying
a pvmove so it only moved 2 gb of my striped partition, from from one disk
to the new one. So I end up with one stripe split across 2 disks after
upgrading I found that pvmove refused to move the remaining part of the
stripe to the new disk or infact the part I just moved back to the orginal
disk complaining "not enough free space", there was enough free space on
the disk. I guess there is a check in pvmove for striped partitions going
if part of the striped partition is already on a pv don;t allow any other
part if it to be moved to the same disk... This check needs to be improved
so it checks to see if the range being moved is part of the same stripe
and the part already on the disk.

In the end I tared all the data off (it was small 6gb) and rebuild the
whole filesystem onto a newly created lv.

James





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