All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Suse sles10 SP1 -> SP2 update question
Date: Wed, 07 Jan 2009 10:42:15 +0000	[thread overview]
Message-ID: <49648707.6000903@redhat.com> (raw)
In-Reply-To: <03FB5D708BE3C8448E8079186A56CDE60104231E@BTIBURMAIL.bustech.com>

Charlie Sharkey wrote:
>  
> I'm not sure if this is the correct place for this question or not.
> If not, please let me know.
>  
> After updating my Suse Sles10 SP1 system  (2.6.16.46-0.12-smp) with the
> kernel rpm from SP2 (2.6.16.60-0.21-smp) devices that mounted (by label)
> are mounting as non multipathed devices. For example, a device that
> previously
> mounted as:  /dev/dm-5  now mounts as:  /dev/sdj1  
>  
> The devices mount ok, they're just not mounting as multipathed devices. 
> If I reboot, there is about a one in five chance that they will mount
> ok.

The fact that there's a one in five or so chance it'll work suggests a 
race somewhere. I've often seen these with new kernels that take a bit 
longer to initialise the underlying SCSI devices, causing them to be 
absent when the initscripts run the multipath command to detect and 
configure multipath maps.

I'm not sure exactly where this is done in the SuSE initscripts, but it 
should be easy enough to find with a bit of grepping. Try adding a 
"sleep 5" just before the multipath command runs.

Alternately, if SLES10 supports the udevsettle command that gives a more 
elegant way of syncing up with udev's device creation. Instead of a 
sleep add a command like:

udevsettle --timeout=30

We've added these to some of the RHEL5 initscripts to fix bugs like this.

Regards,
Bryn.

      reply	other threads:[~2009-01-07 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06 20:56 Suse sles10 SP1 -> SP2 update question Charlie Sharkey
2009-01-07 10:42 ` Bryn M. Reeves [this message]

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=49648707.6000903@redhat.com \
    --to=bmr@redhat.com \
    --cc=dm-devel@redhat.com \
    /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.