Sunday, June 20, 2021

ubuntu soft RAID drives transferred to a new computer

My old linux server died.  It has 1 pair of hard disks used as RAID 1 (i.e. mirror) storing my many years' photos.

I have another desktop computer handy, before opening the case:

1) Install ubuntu 20.04 LTS (minimal) on the new desktop

2) sudo apt install mdadm

3) power off and mount the two RAID hard drives in, wired.

// need number of cables, watch out for power supply ?W if sufficient (usually okay)

4) power up ubuntu 

5) verify stat


     cat /proc/mdstat


    if drives are shown active, raid drive, eg. md0, is ready

6) test mounting the raid drive


    sudo mkdir -p /mnt/md0

    sudo mount /dev/md0 /mnt/md0


7) if step 6 works, persistently adding raid drive mounting to /etc/fstab


Labels: , , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home