paths scsi names persistence after rescan
Peter M. Petrakis
peter.petrakis at canonical.com
Wed Jun 1 19:37:44 UTC 2011
Hi,
On 06/01/2011 12:42 PM, bencer at cauterized.net wrote:
> On Tue, 31 May 2011 17:36:42 -0400, "Peter M. Petrakis"
> <peter.petrakis at canonical.com> wrote:
>> On 05/31/2011 05:24 PM, Jorge Salamero Sanz wrote:
>>>
>>> hi all,
>>>
>>> i've configured multipath on a linux box and i'm getting these messages
>>> on
>>> syslog:
>>
>> Let's start with the basics:
>> - which version of Ubuntu are you running?
>
> ubuntu lucid updated
>
>> - multipath version
>
> multipath-tools 0.4.8-14ubuntu4
>
>> - kernel version
>
> Linux mail-1 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011
> x86_64 GNU/Linux
>
>>
>>
>>> May 30 10:50:05 mail-1 udevd-work[25148]: rename(/dev/disk/by-
>>> id/wwn-0x6006016052b022002e770b609680e011.udev-tmp, /dev/disk/by-
>>> id/wwn-0x6006016052b022002e770b609680e011) failed: No such file or
>>> directory
>>
>> So without the alias directives the wwn are created and persist just
> fine?
>
> i get these messages even with no path failure:
> http://paste.ubuntu.com/615969/
>
Yeah, that doesn't look good.
One thing that bugged me about your multipath.conf
blacklist {
> devnode "sda"
> devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
> devnode "^hd[a-z][[0-9]*]"
> devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
> }
I'd rather see:
devnode "^sda[0-9]*"
beyond that it looks OK.
So to debug this we'll need to see:
- contents of /dev/disk
- udevadm monitor > udev.log
- stop multipathd and run it in the foreground to capture logging
* service multipath-tools stop
* multipathd -v4 -d > mpd.log
You haven't modified or added any udev rules have you?
Also do you have anything like dmraid or LVM running?
Thanks.
Peter
More information about the ubuntu-server
mailing list