From: Ferenc Wagner <wferi@niif.hu>
To: linux-raid@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, wferi@niif.hu
Subject: Re: how to disable partition search?
Date: Mon, 07 Apr 2008 00:25:56 +0200 [thread overview]
Message-ID: <877ifaoc23.fsf@szonett.ki.iif.hu> (raw)
In-Reply-To: <20080406103743.GA31334@percy.comedia.it> (Luca Berra's message of "Sun, 6 Apr 2008 12:37:43 +0200")
Luca Berra <bluca@comedia.it> writes:
> On Wed, Mar 26, 2008 at 12:43:41PM +0100, Ferenc Wagner wrote:
>
>> I use an FC SAN, which provides multiple pathes to multiple LUNs.
>> These all come up as different sd* devices, exhausting single letter
>> names. I mean they are a LOT. Using the md mulitpath driver
>> everything works perfectly, no problems there. However, during boot,
>> the kernel tries to read the partition table from each device,
>> spitting out hundreds of lines of error messages: most of the devices
>> aren't even readable, and those which are, don't contain a valid
>> partition table. They never will. So I'd like to disable partition
>> detection, because these messages overflow the kernel message buffer,
>> depriving syslog of gathering any useful boot messages, and also
>> needlessly lengthening the boot process. (Of course the noise alone
>> is disturbing enough when one tries to troubleshoot a boot problem.)
>> However, looking at the kernel sources didn't give me any hint. Is
>> this possible to disable at all?
>
> you could try bugging lkml until it dawns on them that partition
> detection code should belong in userspace by default :)
:) Very well put. Thanks for strenghtening my belief.
> anyway you can rebuild your own kernel disabling it
> just set PARTITION_ADVANCED, and disable all partition types.
Sounds like a good idea, will try that! This makes bugging lkml
unnecessary, if not for changing the default... But that's more a
distribution issue, I think. And now that we have udev and kpartx,
things will probably drift in this direction.
> you should be aware that doing this will disable partition detection on
> all drives, so if you have partitioned drives (eg boot drives) you have
> to run partx in initramfs or it wont be able to access them.
Not in this case. I'm netbooting and getting / and co. from the SAN
via multipath and LVM, not a single partition on the whole cluster...
--
Thanks for the tip!
Feri.
next prev parent reply other threads:[~2008-04-06 22:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 11:43 how to disable partition search? Ferenc Wagner
2008-03-26 20:20 ` Bill Davidsen
2008-03-27 0:45 ` Ferenc Wagner
2008-04-06 10:37 ` Luca Berra
2008-04-06 22:25 ` Ferenc Wagner [this message]
2008-04-07 18:02 ` Ferenc Wagner
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=877ifaoc23.fsf@szonett.ki.iif.hu \
--to=wferi@niif.hu \
--cc=linux-kernel@vger.kernel.org \
--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).