mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* typo in raid[456] kernel code/no change based on type?
@ 2008-11-12 23:58 Justin Piszcz
  2008-11-12 23:58 ` Justin Piszcz
  0 siblings, 1 reply; 5+ messages in thread
From: Justin Piszcz @ 2008-11-12 23:58 UTC (permalink / raw)
  To: linux-kernel

$ cat /proc/mdstat 
Personalities : [raid1] [raid6] [raid5] [raid4] 
md1 : active raid1 sdb2[1] sda2[0]
       136448 blocks [2/2] [UU]

md2 : active raid1 sdb3[1] sda3[0]
       276109056 blocks [2/2] [UU]

md3 : active raid6 sdj1[10] sdc1[4] sdl1[8] sdk1[1] sdi1[9] sdh1[7] sdg1[6] sdf1[3] sde1[2] sdd1[0]
       2344263680 blocks level 6, 1024k chunk, algorithm 2 [10/9] [UUUUU_UUUU]
       [===================>.]  recovery = 99.1% (290466636/293032960) finish=0.6min speed=67979K/sec

md0 : active raid1 sdb1[1] sda1[0]
       16787776 blocks [2/2] [UU]

unused devices: <none>

--

But in the kernel logs:

[ 3497.577716] md: recovery of RAID array md3
[ 3497.577720] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[ 3497.577721] md: using maximum available idle IO bandwidth (but not more than 90000 KB/sec) for recovery.
[ 3497.577728] md: using 128k window, over a total of 293032960 blocks.
[ 6981.488528] md: md3: recovery done.
[ 6982.273208] RAID5 conf printout:
                ^^^^^
[ 6982.273215]  --- rd:10 wd:10
[ 6982.273219]  disk 0, o:1, dev:sdd1
[ 6982.273223]  disk 1, o:1, dev:sdk1
[ 6982.273227]  disk 2, o:1, dev:sde1
[ 6982.273231]  disk 3, o:1, dev:sdf1
[ 6982.273245]  disk 4, o:1, dev:sdc1
[ 6982.273258]  disk 5, o:1, dev:sdj1
[ 6982.273260]  disk 6, o:1, dev:sdg1
[ 6982.273263]  disk 7, o:1, dev:sdh1
[ 6982.273265]  disk 8, o:1, dev:sdl1
[ 6982.273267]  disk 9, o:1, dev:sdi1

Is the type detectable via auto-assemble, if it is shouldn't it print out
the right raid type in the logs/dmesg?

Justin.


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

end of thread, other threads:[~2008-11-14 18:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-12 23:58 typo in raid[456] kernel code/no change based on type? Justin Piszcz
2008-11-12 23:58 ` Justin Piszcz
2008-11-14 12:19   ` Andre Noll
2008-11-14 13:05     ` Justin Piszcz
2008-11-14 17:53       ` Andre Noll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®