Fix mdadm collector issues (#985)
* Send "Personality unknown" to debug, not info, remove unnecessary newline. * Add support for "linear" personality. * Always set number of active disks to 0 when a device is inactive. * Add total disks calculation to unknown personalites. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
55c32fcf02
commit
107e5dfecc
5 changed files with 29 additions and 10 deletions
|
|
@ -46,4 +46,7 @@ md219 : inactive sdb[2](S) sdc[1](S) sda[0](S)
|
|||
md00 : active raid0 xvdb[0]
|
||||
4186624 blocks super 1.2 256k chunks
|
||||
|
||||
md120 : active linear sda1[1] sdb1[0]
|
||||
2095104 blocks super 1.2 0k rounding
|
||||
|
||||
unused devices: <none>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue