Hi
Due to some special circumstances I need to create a RAID5 array with two disks, i.e. a degraded array with one drive "missing", using mdadm
I have two 4TB disks. What I've done is booted up Ubuntu 14.04 using a Live-CD. Then I created a single, primary partition on each of them of the type "Linux RAID autodetect".
Then I created the array like this:
which created the array and reported no errors.
When I did a "cat /proc/mdstat" I saw the array was created fine:..
...but no recovery progress bar was displayed. It seemed like it either spent only seconds building the array, or never began the process.
Regardless, I created a filesystem on the array using
. This operation however, failed the array immediately. Using "dmesg" I saw some superblock read or write errors, and "cat /proc/mdstat" showed that the /dev/sdc1 device had failed, rendering the array useless.
Has anyone got any suggestions as to what might be wrong? I need to get this to work in order to upgrade the storage on my machine..
Thanks!
Due to some special circumstances I need to create a RAID5 array with two disks, i.e. a degraded array with one drive "missing", using mdadm
I have two 4TB disks. What I've done is booted up Ubuntu 14.04 using a Live-CD. Then I created a single, primary partition on each of them of the type "Linux RAID autodetect".
Then I created the array like this:
Code:
sudo mdadm --create --verbose /dev/md1 --level=5 --raid-devices=3 /dev/sda1 /dev/sdc1 missing
When I did a "cat /proc/mdstat" I saw the array was created fine:..
Code:
Personalities : [raid6] [raid5] [raid4]
md1 : active raid5 sdc1[1] sda1[0]
4294702080 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2] [UU_]
unused devices: <none>
...but no recovery progress bar was displayed. It seemed like it either spent only seconds building the array, or never began the process.
Regardless, I created a filesystem on the array using
Code:
sudo mkfs.ext4 /dev/md1
Has anyone got any suggestions as to what might be wrong? I need to get this to work in order to upgrade the storage on my machine..
Thanks!