From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: RAID5 producing fake partition table on single drive
Date: Tue, 5 Sep 2006 18:49:27 +0200 [thread overview]
Message-ID: <20060905164927.GA17634@percy.comedia.it> (raw)
In-Reply-To: <44FC68A8.4010002@tmr.com>
On Mon, Sep 04, 2006 at 01:55:52PM -0400, Bill Davidsen wrote:
>Doug Ledford wrote:
>>It's the mount program collecting possible LABEL= data on the partitions
>>listed in /proc/partitions, of which sde3 is outside the valid range for
>>the drive.
>>
>May I belatedly say that this is sort-of a kernel issue, since
>/proc/partitions reflects invalid data? Perhaps a boot option like
>nopart=sda,sdb or similar would be in order?
>
i would move partition detection code to user space completely, so it
could be ran selectively on the drives that do happen to have a patition
table.
a compromise could be having mdadm (or the script that starts mdadm at
boot time, issue an ioctl(fd,BLKPG,...) to make kernel forget about any
eventual partition table it might have misdetected
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
next prev parent reply other threads:[~2006-09-05 16:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-19 11:40 RAID5 producing fake partition table on single drive Lem
2006-08-21 7:35 ` Neil Brown
2006-08-21 8:03 ` Lem
2006-08-28 3:46 ` Neil Brown
2006-08-29 7:17 ` Lem
2006-08-21 22:47 ` Doug Ledford
2006-09-04 17:55 ` Bill Davidsen
2006-09-05 16:49 ` Luca Berra [this message]
2006-09-10 5:59 ` Lem
2006-09-14 22:42 ` Bill Davidsen
2006-09-15 7:51 ` Lem
2006-09-15 8:29 ` Luca Berra
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=20060905164927.GA17634@percy.comedia.it \
--to=bluca@comedia.it \
--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).