lundi 9 avril 2018

LVM hiccups

LVM doesn't start OK anymore

This happened yesterday on kid3 (oops - allmost all my data lives there)

Symptom: boot interrupted (can't mount /home in mount -a during boot).  Troubleshooting: turns out that /dev/mapper no longer contains the required links.  Also, it seems to contain snapshots probably created by the urBackup agent but that's another story.

Cure: wait for the maintenance login promt, re-create the missing links with vgscan --mknodes, mount /home again.

Further plan: remove the 2TB seagate drive from base (Packard Bell) and install it in kid3 (ACER).  I will need an extender cable for the SATA power to be able to reach the DVD drive, due to rerouting its power cable to the drive coming from base.  Create a btrfs on that disk instead of the LVM+ext4 configuration that the other 2TB drive currently has.  Mount that under /home2 and:

sudo rsync -vaxHAX /home /home2

Aucun commentaire: