[Gllug] DD Ext3 Move

Christian Smith csmith at micromuse.com
Tue Feb 28 16:58:59 UTC 2006


On Sat, 25 Feb 2006, Nix wrote:

>On Fri, 24 Feb 2006, Ken Smith prattled cheerily:
>> Been trying out LVM this week. It rules! Why have I never tried it before? I
>> feel like I've discovered the wheel for the first time - well that's a
>> little extreme - but you get the idea....
>
>Look out, though; pvmoving swap partitions seems to be decidedly
>unreliable in 2.6.15, even if you've swapoffed: I've had cause to try it
>three or four times and ended up with my swap device turned into a
>SUSPENDED device-mapper target, the pvmove stalled, and the system
>unusable (all fork()s hit D state).


Of swapoffed, why bother moving if you're having problems? Just blow it
away. You only have to re-mkswap(*) the new volume.


>
>Upon reboot pvmove noticed that it had been interrupted and restarted
>happily. LVM's approach to robustness is truly excellent. :)

I've lost a VG, but that was me not removing a physical volume correctly.
LVM2, and the use of device-mapper, is really nice. Shame old RH used to
enable LVM before MD, thus you couldn't have LVM on top of MD! I think
that's probably fixed now?


Christian

* Why, of why, does Linux require mkswap? Anyone know? It'd be really nice
to be able to share swap space with another OS, but mkswap requires you to
have a custom boot step to enable it. BSDs just use a raw partition.

-- 
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list