From: Luca Berra <bluca@comedia.it>
To: Ferenc Wagner <wferi@niif.hu>
Cc: linux-raid@vger.kernel.org
Subject: Re: how to disable partition search?
Date: Sun, 6 Apr 2008 12:37:43 +0200 [thread overview]
Message-ID: <20080406103743.GA31334@percy.comedia.it> (raw)
In-Reply-To: <87ve39lngy.fsf@tac.ki.iif.hu>
On Wed, Mar 26, 2008 at 12:43:41PM +0100, Ferenc Wagner wrote:
>Hi,
>
>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 :)
anyway you can rebuild your own kernel disabling it
just set PARTITION_ADVANCED, and disable all partition types.
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.
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:[~2008-04-06 10:37 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 [this message]
2008-04-06 22:25 ` Ferenc Wagner
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=20080406103743.GA31334@percy.comedia.it \
--to=bluca@comedia.it \
--cc=linux-raid@vger.kernel.org \
--cc=wferi@niif.hu \
/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).