[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] Suse sles10 SP1 -> SP2 update question

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 ( with the
kernel rpm from SP2 ( devices that mounted (by label)
are mounting as non multipathed devices. For example, a device that
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

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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]