Mounting a Software Raid drive attached with USB in Linux rescue

1). Remake the raid mount points:

mdadm --assemble --run /dev/md10 /dev/sdc1
mdadm --assemble --run /dev/md11 /dev/sdc3

2). mount /dev/md10 /mnt/backup

3). Check for the USB volumes:
vgdisplay
lvscan

4). Use the UUID to rename the volume:
vgrename TdDMzM-Q05M-MLaO-ylQb-tBkn-Xqpo-jgQ5vX usb1

5). Activate it:
vgchange -a y usb1

6). Mount everything on /dev/usb1 like normal:
mount /dev/usb1/home /mnt/backup/home
mount /dev/usb1/usr /mnt/backup/usr
mount /dev/usb1/var /mnt/backup/var


Marv has written 28 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>