Short howto on recovering a software RAID1 array using Debian / Ubuntu (after moving it to another server/reinstalling OS)
sudo mdadm –scan –assemble /dev/md2 /dev/sdc1 /dev/sdd1
sudo mkdir mount
sudo mount /dev/md2 mount/
sudo mkdir mount
sudo mount /dev/md2 mount/
- /dev/md2 is the new name of the raid array
- /dev/sdc1 is the name of the first drive which was part of the array
- /dev/sdd1 is the name of the 2nd drive
- you can discover the various drives connected to your system using “sudo blkid”
It couldn’t be easier
0 Comments.