linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug report: mdadm -E oddity
@ 2005-05-13 15:44 Doug Ledford
  2005-05-13 17:11 ` Doug Ledford
  0 siblings, 1 reply; 23+ messages in thread
From: Doug Ledford @ 2005-05-13 15:44 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid

If you create stacked md devices, ala:

[root@pe-fc4 devel]# cat /proc/mdstat
Personalities : [raid0] [raid5] [multipath]
md_d0 : active raid5 md3[3] md2[2] md1[1] md0[0]
      53327232 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

md3 : active multipath sdm1[1] sdi1[0]
      17775808 blocks [2/2] [UU]

md2 : active multipath sdl1[1] sdh1[0]
      17775808 blocks [2/2] [UU]

md1 : active multipath sdk1[1] sdg1[0]
      17775808 blocks [2/2] [UU]

md0 : active multipath sdj1[0] sdf1[1]
      17775808 blocks [2/2] [UU]

unused devices: <none>
[root@pe-fc4 devel]#

and then run mdadm -E --scan, then you get this (obviously wrong)
output:

[root@pe-fc4 devel]# /sbin/mdadm -E --scan
ARRAY /dev/md0 level=multipath num-devices=2
UUID=34f4efec:bafe48ef:f1bb5b94:f5aace52
   devices=/dev/sdj1,/dev/sdf1
ARRAY /dev/md1 level=multipath num-devices=2
UUID=bbaaf9fd:a1f118a9:bcaa287b:e7ac8c0f
   devices=/dev/sdk1,/dev/sdg1
ARRAY /dev/md2 level=multipath num-devices=2
UUID=a719f449:1c63e488:b9344127:98a9bcad
   devices=/dev/sdl1,/dev/sdh1
ARRAY /dev/md3 level=multipath num-devices=2
UUID=37b23a92:f25ffdc2:153713f7:8e5d5e3b
   devices=/dev/sdm1,/dev/sdi1
ARRAY /dev/md0 level=raid5 num-devices=4
UUID=910b1fc9:d545bfd6:e4227893:75d72fd8

devices=/dev/md3,/dev/md2,/dev/md1,/dev/md0,/dev/md3,/dev/md2,/dev/md1,/dev/md0
[root@pe-fc4 devel]#

This is with mdadm-1.11.0.

-- 
Doug Ledford <dledford@redhat.com>
http://people.redhat.com/dledford



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2005-05-20 22:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-13 15:44 Bug report: mdadm -E oddity Doug Ledford
2005-05-13 17:11 ` Doug Ledford
2005-05-13 23:01   ` Neil Brown
2005-05-14 13:28     ` Doug Ledford
2005-05-15 17:32       ` Luca Berra
2005-05-20  7:00       ` Neil Brown
2005-05-20 12:30         ` Doug Ledford
2005-05-20 16:04           ` Paul Clements
2005-05-20 17:16             ` Peter T. Breuer
2005-05-20 18:40               ` Doug Ledford
2005-05-20 19:15                 ` Peter T. Breuer
2005-05-20 21:31                   ` Doug Ledford
2005-05-20 17:45             ` Doug Ledford
2005-05-20 18:33               ` Peter T. Breuer
2005-05-20 20:01                 ` berk walker
2005-05-20 21:00                   ` Gil
2005-05-20 21:51                   ` Peter T. Breuer
2005-05-20 22:14                     ` berk walker
2005-05-20 20:05                 ` Paul Clements
2005-05-16 16:46     ` Doug Ledford
2005-05-20  7:08       ` Neil Brown
2005-05-20 11:29         ` Doug Ledford
2005-05-16 22:11   ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).