Re: Linux RAID autodetect partitions go missing from /dev, but fdisk can see them

From
Richard Scobie <hidden>
Date
2009-01-31 18:50:09
Reply to
Tor Arne Vestbø, 2009-01-31
Tor Arne Vestbø wrote:
Changed the DEVICE line in my mdadm.conf from:

  DEVICE partitions

to

  DEVICE /dev/sd[bcdef]1

Now the array is assembled correctly at boot.
A safer way of acheiving this is to list the array in mdadm.conf by UUID, which will guarantee all the correct devices are used - sd devices can move around under some conditions.

eg.

ARRAY /dev/md1 level=raid1 num-devices=2 UUID=f6bd7495:52288189:40f44282:1c220686
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=f7d720fe:a5d0724c:c9bd10fa:a496ed51

Note each ARRAY entry and UUID are entered as a single line.

Regards,

Richard
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (4 messages) 4 messages, 2 authors, last reply 2009-01-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help