Re: mdadm --assemble --scan not finding devices

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

 



On Thursday March 6, neilb@cse.unsw.edu.au wrote:
> > 
> > ARRAY /dev/md0
> >         level=raid1
> >         devices=/dev/sd[c,d,y,z]1
> 
> "glob" patterns are allowed in DEVICE lines but *not* in devices=
> words.   Sorry.
> 

Nope, I lied.
devices= *does* accept "glob" patterns (I forgot I had done that).

However, it is treated as a comma separated list of device name, so
in this example, it will only accept devices which match:

    /dev/sd[c
    d
    y
    z]1

none of which will be valid device names.

You dont' need commads in [] sets so:
    devices=/dev/sd[cdyz]1
should work for you.

However I still recommend NOT using device=, and using "UUID="
instead.

NeilBrown
-
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