Path of md device wrong after reboot
- by flammi88
I have to set up a software raid (level1) on a Ubuntu server 12.04. It should serve files in the network via Samba. The server has the following disks:
250gb Sata hdd (Ubuntu is installed on that drive)
2 TB Sata hdd (first disk in raid array, data disk)
2 TB Sata hdd (second data disk)
I created one partition on every data disk with the type Linux raid autodetect. In the second step I created the raid1 with the following command:
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
After that, I added the array to the mdconf:
mdadm --examine --scan >> /etc/mdadm/mdadm.conf
The problem is: After a reboot the array is not available on the path /dev/md0. Instead of that it gets reassembled as /dev/md/0 but it is not very reliable. Has anybody a solution for this issue?