Re: Array over arrays - how to autoassemble correctly?

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

 



On Wed, Jan 27, 2010 at 06:32:57PM +0000, Kristleifur Daðason wrote:
# mdadm.conf
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions /dev/md/d0 /dev/md/d1

# auto-create devices with Debian standard permissions
# CREATE owner=root group=disk mode=0660 auto=mdp

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# definitions of existing MD arrays

ARRAY /dev/md/d0 metadata=1.1 name=mamma:d0 UUID=7f98e926:206a8ebe:59fc8d7b:4644a883 level=raid6 num-devices=6 # container=6f98a7a8:d7b50181:587c27d1:59d6d137

ARRAY /dev/md/d1 metadata=1.1 name=mamma:d1 UUID=da547022:042a6f68:d5fe251e:5e89f263 level=raid6 num-devices=6 # container=6f98a7a8:d7b50181:587c27d1:59d6d137

ARRAY /dev/md/tank metadata=1.1 name=mamma:tank UUID=6f98a7a8:d7b50181:587c27d1:59d6d137 level=raid0 num-devices=2 devices=/dev/md/d0,/dev/md/d1


this kind of setup should be working without any issue on recent mdadm
try removing
DEVICE partitions /dev/md/d0 /dev/md/d1
and the "devices=/dev/md/d0,/dev/md/d1" from mdadm.conf
and let it discover things on boot by itself

L.


--
Luca Berra -- bluca@xxxxxxxxxx
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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