Your own personal IT department

Ubuntu – add/move RAID devices to another machine

After installing the drives install mdadm with sudo apt-get install mdadm then run cat /proc/mdstat to see the inactive RAID. Use the following to reassemble your RAID sudo mdadm --assemble /dev/md_d0 /dev/sdX1 /dev/sdY1 /dev/sd… (change the md_d0 sd partions the relevant names and number of devices) Then use sudo mdadm --detail --scan to see the RAID device. Use mdadm --detail --scan >> /etc/mdadm/mdadm.conf to add this RAID device to your system. Use blkid to find the UUID of the RAID partition and add it to /etc/fstab to mount at boot


No comments yet.

Leave a Reply