mdadm --assemble --scan not finding devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK,

I'm going to make the switch to mdadm, but I need it to start my arrays
on boot and it's not doing it.  From what I gather from the man page and
Googling all I should need to do is:

mdadm --assemble --scan

Well when I run this command I get the following:

[root@cinshrinft1 ~]# mdadm --assemble --scan
mdadm: no devices found for /dev/md0
mdadm: no devices found for /dev/md1

Here is some other information you may need:

[root@cinshrinft1 ~]# cat /etc/mdadm.conf
DEVICE /dev/sd*

ARRAY /dev/md0
        level=raid1
        devices=/dev/sd[c,d,y,z]1
        spare-group=group1

ARRAY /dev/md1
        level=raid1
        devices=/dev/sd[e,f]1
        spare-group=group1

[root@cinshrinft1 ~]# mdadm -Es
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=64a72aa6:1e47b105:fdb0a304:2e641d44
   devices=/dev/sdy1,/dev/sdf1,/dev/sde1
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=dee56bf5:1b2cc506:61f81aec:21b1a40f
   devices=/dev/sdz1,/dev/sdd1,/dev/sdc1

The reason sdy1 is part of md1 is because I was testing the spare-group
option which worked quite well :)

I've already created them with 'mdadm --create' but I can't get them to
start.  I've also tried 'DEVICE partitions' and the UUID of the array in
the proper place in mdadm.conf and they still won't go.  Can someone
point out my obvious blunder here please? :)

Thanks,
Andy.
-
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux