All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Ferenc Wagner <wferi@niif.hu>
Cc: linux-raid@vger.kernel.org
Subject: Re: how to disable partition search?
Date: Wed, 26 Mar 2008 16:20:59 -0400	[thread overview]
Message-ID: <47EAB02B.3080104@tmr.com> (raw)
In-Reply-To: <87ve39lngy.fsf@tac.ki.iif.hu>

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?
>
> (Please Cc me, I'm not on the list.)
>   
After reading some code, I didn't see any boot or module load options 
you can use to prevent that, I think you may want to increase buffer 
size to hold the messages and use "grep -v" to create a sanitized 
dmesg.  If you can give an example of the error message you see I can 
look again.

Don't forget to copy the list...

-- 
Bill Davidsen <davidsen@tmr.com>
  "Woe unto the statesman who makes war without a reason that will still
  be valid when the war is over..." Otto von Bismark 



  reply	other threads:[~2008-03-26 20:20 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 [this message]
2008-03-27  0:45   ` Ferenc Wagner
2008-04-06 10:37 ` Luca Berra
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=47EAB02B.3080104@tmr.com \
    --to=davidsen@tmr.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.