Thanks to the both of you very much, that makes perfect sense.
I am using the UUIDs now and have tested this and it's working perfectly, I just restarted, and while the device mount point changed yet again, this time the raid array was assembled automatically without me having to do anything manually.
For anyone interested, here are my changes:
old mdadm.conf configuration:
Code:
DEVICE /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
ARRAY /dev/md0 level=raid10 devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1
new mdadm.conf configuration:
Code:
DEVICE UUID=47c17420-8c4f-5bf8-d70c-843638187fe6 UUID=47c17420-8c4f-5bf8-d70c-843638187fe6 UUID=47c17420-8c4f-5bf8-d70c-843638187fe6 UUID=47c17420-8c4f-5bf8-d70c-843638187fe6
ARRAY /dev/md0 level=raid10 devices=UUID=47c17420-8c4f-5bf8-d70c-843638187fe6,UUID=47c17420-8c4f-5bf8-d70c-843638187fe6,UUID=47c17420-8c4f-5bf8-d70c-843638187fe6,UUID=47c17420-8c4f-5bf8-d70c-843638187fe6
As suggested I used blkid to get the UUIDs.
Bookmarks