mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: linux-kernel@vger.kernel.org
Subject: typo in raid[456] kernel code/no change based on type?
Date: Wed, 12 Nov 2008 18:58:00 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.1.10.0811121855470.10512@p34.internal.lan> (raw)

$ 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.


             reply	other threads:[~2008-11-12 23:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 23:58 Justin Piszcz [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.1.10.0811121855470.10512@p34.internal.lan \
    --to=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®