mdadm daemon -> off by default?
Fabio Massimo Di Nitto
fabbione at fabbione.net
Thu Sep 2 00:00:52 CDT 2004
On Thu, 2 Sep 2004, Jeff Waugh wrote:
> Hey all,
>
> So, we have established that mdadm runs only to provide notification of RAID
> b0rkage, which is not necessary in the majority of cases where Ubuntu will
> be installed. But it is good to have mdadm in base by default. So, here are
> two potential solutions:
>
> 1) change the mdadm default to not start the daemon, users can fix this up
> if they want it running
>
> 2) check /proc/mdstat to see if any raid devices exist, and only run the
> daemon if they do
Here is another one:
Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
read_ahead 1024 sectors
md3 : active raid5 ide/host2/bus1/target1/lun0/part1[5] ide/host2/bus1/target0/lun0/part1[4] ide/host2/bus0/target1/lun0/part1[3] ide/host2/bus0/target0/lun0/part1[2] ide/host0/bus1/target1/lun0/part1[1] ide/host0/bus0/target1/lun0/part1[0]
586103360 blocks level 5, 4k chunk, algorithm 2 [6/6] [UUUUUU]
md2 : active raid5 ide/host2/bus1/target1/lun0/part2[3] ide/host2/bus1/target0/lun0/part2[2] ide/host2/bus0/target1/lun0/part2[1] ide/host2/bus0/target0/lun0/part2[0]
10219392 blocks level 5, 4k chunk, algorithm 2 [4/4] [UUUU]
md4 : active raid1 ide/host0/bus1/target0/lun0/part2[1] ide/host0/bus0/target0/lun0/part2[0]
58484544 blocks [2/2] [UU]
md0 : active raid1 ide/host0/bus1/target0/lun0/part1[1] ide/host0/bus0/target0/lun0/part1[0]
128384 blocks [2/2] [UU]
unused devices: <none>
Fabio
--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.
More information about the sounder
mailing list