linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Lars Täuber" <taeuber@bbaw.de>
To: linux-raid@vger.kernel.org
Subject: Re: 16 HDDs too much for RAID6?
Date: Fri, 7 Mar 2008 11:45:55 +0100	[thread overview]
Message-ID: <20080307114555.6ce17158.taeuber@bbaw.de> (raw)
In-Reply-To: <20080307084146.GA9653@percy.comedia.it>

Hi guys,

Luca Berra <bluca@comedia.it> schrieb:
> On Thu, Mar 06, 2008 at 05:16:21PM +0100, Andre Noll wrote:
> >On 11:55, Lars Täuber wrote:
> >> monosan:~ # cat /etc/mdadm.conf 
> >> DEVICE partitions
> >> ARRAY /dev/md2 level=raid1 UUID=d9d31de2:e6dbd3c3:37c7ea09:882a64e5
> >> ARRAY /dev/md3 level=raid1 UUID=a8687183:a79e514c:ca492c4b:ffd4384f
> >> ARRAY /dev/md4 level=raid6 num-devices=16 UUID=8d596319:4d21dba3:3871bccf:5b90a66d
> >
> >Does it help to list only the 16 devices that are used for the array,
> >i.e. something like
> >
> >	DEVICE /dev/sd[a-p]

because the devices sd[c-z] and sda[a-h] are used by multipathd they are accessible in read only mode only. For writing /dev/dm-* devices are available.

> i hope kernel will pevent you from doing something this stupid, but i am
> not that sure.
> if you wanna check if the problem is device selection a more appropriate
> line would be
> DEVICE /dev/mapper/mpath*
> or
> DEVICE /dev/dm-[0-9] /dev/dm-1[0-5]

Correct.
My mdadm.conf has now this line for safety:
DEVICE /dev/sd[ab][0-9] /dev/dm-*

But this doesn't really changed anything.

> >I think this is what is confusing mdadm. Your "DEVICE partitions"
> >line instructs mdadm to consider all devices in /proc/partitions,
> >so it finds both sdy and sdi.
> in this case i believe the error message would be different
> 
> >> Is there a way to get more verbose infos or debug this anyhow?
> 
> you could try with the --verbose option and post the results here.
> 
> also could you check if the minor number of /dev/dm-* are really unique?
> 
> in case this yelds no result we will have to add some more printf in
> Assemble.c.

I zeroed out all physical devices completely:
# for DEV in /dev/sd[c-r]; do dd if=/dev/zero of=$DEV; done

Now the problem is gone. I don't know what really caused the problem.
Many thanks for your suggestions.

Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-03-07 10:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06  9:01 16 HDDs too much for RAID6? Lars Täuber
2008-03-06  9:45 ` Andre Noll
2008-03-06 10:55   ` Lars Täuber
2008-03-06 16:16     ` Andre Noll
2008-03-07  8:41       ` Luca Berra
2008-03-07 10:33         ` Andre Noll
2008-03-07 10:45         ` Lars Täuber [this message]
2008-03-28  9:20           ` Reopen: " Lars Täuber
2008-03-28 10:14             ` Bernd Schubert
2008-03-28 10:27               ` Lars Täuber
2008-03-28 10:35                 ` Bernd Schubert
2008-03-28 10:55                   ` Lars Täuber
2008-03-28 11:20                     ` Bernd Schubert

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=20080307114555.6ce17158.taeuber@bbaw.de \
    --to=taeuber@bbaw.de \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).