Mounting two HDD's as a RAID 1 in /etc/fstab
by Chrislw324 from LinuxQuestions.org on (#5SEHQ)
I have a computer running ubuntu server with three drives.
sda is my boot drive. The two drives I made a RAID 1 are sdb and sdc.
I formatted the two drives with ext4 file system.
I then used mdadm to create a RAID 1 array with the name md1.
I now want to edit the /etc/fstab file to mount them, but what do I put in the device field?
Do I add one line and refer to the two drives by md1, or add two lines to /etc/fstab, one for sdb and one for sdc?
Is there anything wrong with creating a folder in / and mounting the drives there?
sda is my boot drive. The two drives I made a RAID 1 are sdb and sdc.
I formatted the two drives with ext4 file system.
I then used mdadm to create a RAID 1 array with the name md1.
I now want to edit the /etc/fstab file to mount them, but what do I put in the device field?
Do I add one line and refer to the two drives by md1, or add two lines to /etc/fstab, one for sdb and one for sdc?
Is there anything wrong with creating a folder in / and mounting the drives there?