Re: cpu consumption

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

 



On Monday January 23, gilberto@xxxxxx wrote:
> 
> Here is my /etc/mdadm/mdadm.conf file
> 
> DEVICE /dev/sd[abcdefghijkl] /dev/md1 /dev/md2 /dev/md3 /dev/md4
> /dev/md5 /dev/md6
> ARRAY /dev/md1 devices=/dev/sda,/dev/sdb
> ARRAY /dev/md2 devices=/dev/sdc,/dev/sdd
> ARRAY /dev/md3 devices=/dev/sde,/dev/sdf
> ARRAY /dev/md4 devices=/dev/sdg,/dev/sdh
> ARRAY /dev/md5 devices=/dev/sdi,/dev/sdj
> ARRAY /dev/md6 devices=/dev/sdk,/dev/sdl

This is a poor choice for an mdadm.conf file.
The device names of 'SCSI' devices are prone to change with changing
system configuration.  If something disappears or is added, all the
names could change, and this will cease to work.
I would strongly recommend putting UUIDs in there.

  echo 'DEVICE /dev/sd[a-l]' > /etc/mdadm/mdadm.conf
  mdadm -Ds | grep -v devices >> /etc/mdadm/mdadm.conf

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