Changes

Jump to navigation Jump to search
330 bytes added ,  18:37, 10 September 2018
Line 43: Line 43:  
</nowiki>
 
</nowiki>
    +
=== Save the array layout ===
 +
Wait until the array creation is finished and run:
 +
sudo mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf
 +
Enable the array at boot time
 +
sudo update-initramfs -u
 +
Add mount option to fstab
 +
echo '/dev/md0 /mnt/md0 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
 +
 +
== References ==
 
https://www.digitalocean.com/community/tutorials/how-to-create-raid-arrays-with-mdadm-on-ubuntu-16-04#top<br />
 
https://www.digitalocean.com/community/tutorials/how-to-create-raid-arrays-with-mdadm-on-ubuntu-16-04#top<br />
 
https://unix.stackexchange.com/questions/88654/what-does-mdadms-spare-number-mean<br />
 
https://unix.stackexchange.com/questions/88654/what-does-mdadms-spare-number-mean<br />

Navigation menu