All of lore.kernel.org
 help / color / mirror / Atom feed
* bindings file; rename WWID to mpath alias
@ 2010-04-26 19:58 Victoria A Smith
  2010-04-26 23:00 ` brem belguebli
  0 siblings, 1 reply; 5+ messages in thread
From: Victoria A Smith @ 2010-04-26 19:58 UTC (permalink / raw)
  To: dm-devel

After a system crash I have filesystem access problems when
the multipathd service is started.  I noticed in the messages file
and in output from multipath -ll that an alias is not being
used:

messages:  [...] rename 350002ac002c506cc to mpath18

# multipath -ll
[...]
350002ac002c506cc dm-12 3PARdata,VV

# ls -1 /dev/mpath/
350002ac002c506cc
mpath10
[...]


The bindings file has:
[...]
mpath18 350002ac002c506cc


Can the apparent failure of the alias-to-WWID mapping cause any problems?


RHEL5.5
2.6.18-194.el5
device-mapper-multipath-0.4.7-34.el5
QLogic Fibre Channel HBA Driver: 8.03.01.04.05.05-k


Thanks,

Victoria

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bindings file; rename WWID to mpath alias
  2010-04-26 23:00 ` brem belguebli
@ 2010-04-26 21:13   ` Victoria A Smith
  2010-04-26 23:56     ` brem belguebli
  0 siblings, 1 reply; 5+ messages in thread
From: Victoria A Smith @ 2010-04-26 21:13 UTC (permalink / raw)
  To: dm-devel

It is on /var (/var/lib/multipath/bindings), and /var is a separate LV 
from /.

I am beginning to think the WWID 350002ac002c506cc is a "rogue" device 
and should be removed from the system.

Regards,

Victoria


brem belguebli said the following on 04/26/2010 05:00 PM:
> Is your bindings file located on a different [lv|partition] than / ?
>
> It may cause this kind of troubles if so.
>
> Brem
>
> On Mon, 2010-04-26 at 13:58 -0600, Victoria A Smith wrote:
>    
>> After a system crash I have filesystem access problems when
>> the multipathd service is started.  I noticed in the messages file
>> and in output from multipath -ll that an alias is not being
>> used:
>>
>> messages:  [...] rename 350002ac002c506cc to mpath18
>>
>> # multipath -ll
>> [...]
>> 350002ac002c506cc dm-12 3PARdata,VV
>>
>> # ls -1 /dev/mpath/
>> 350002ac002c506cc
>> mpath10
>> [...]
>>
>>
>> The bindings file has:
>> [...]
>> mpath18 350002ac002c506cc
>>
>>
>> Can the apparent failure of the alias-to-WWID mapping cause any problems?
>>
>>
>> RHEL5.5
>> 2.6.18-194.el5
>> device-mapper-multipath-0.4.7-34.el5
>> QLogic Fibre Channel HBA Driver: 8.03.01.04.05.05-k
>>
>>
>> Thanks,
>>
>> Victoria
>>
>>
>> --
>> dm-devel mailing list
>> dm-devel@redhat.com
>> https://www.redhat.com/mailman/listinfo/dm-devel
>>      
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
>    

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bindings file; rename WWID to mpath alias
  2010-04-26 23:56     ` brem belguebli
@ 2010-04-26 22:21       ` Victoria A Smith
  0 siblings, 0 replies; 5+ messages in thread
From: Victoria A Smith @ 2010-04-26 22:21 UTC (permalink / raw)
  To: dm-devel

Yes, that is good information.  I am curious to know, however, if
mixing the use of WWIDs and aliases can cause problems.  In other
words, I have a WWID which has an alias, but it is not being seen
by the system:

# dmsetup ls --target multipath
mpath9	(253, 6)
mpath8	(253, 5)
mpath14	(253, 9)
mpath7	(253, 4)
mpath13	(253, 8)
350002ac002c506cc	(253, 12)
mpath12	(253, 7)
mpath11	(253, 10)
mpath10	(253, 11)


I wonder if that can cause a problem.

Regards,

Victoria




brem belguebli said the following on 04/26/2010 05:56 PM:
> Best thing to do, if you don't want to destroy data, would be to:
>
> 1) copy your original bindings file from /var to /etc (in newer versions
> of dm-multipath, bindings file is located under /etc/multipath/bindings)
> and modify /etc/multipath.conf to tell it the location of bindings file
> (cf /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.annotated for the line to add, I don't have a 0.4.7 dm-mp configuration right now)
>
> 2) comment all /dev/mpath* relative entries in /etc/fstab (supposedly
> you are mounting your devices thru fstab) either if using LVM or entire
> raw disks.
>
> 3) reboot your system
>
> 4) mount manually each mpath (in respect to your bindings file) and make
> sure they really correspond to the original ones.
>
> If so, you're done.
>
> Brem
>
> PS: rogue device is something I don't believe in, there is always a
> reason for a device to be seen.....
>
>
>
> On Mon, 2010-04-26 at 15:13 -0600, Victoria A Smith wrote:
>> It is on /var (/var/lib/multipath/bindings), and /var is a separate LV
>> from /.
>>
>> I am beginning to think the WWID 350002ac002c506cc is a "rogue" device
>> and should be removed from the system.
>>
>> Regards,
>>
>> Victoria
>>
>>
>> brem belguebli said the following on 04/26/2010 05:00 PM:
>>> Is your bindings file located on a different [lv|partition] than / ?
>>>
>>> It may cause this kind of troubles if so.
>>>
>>> Brem
>>>
>>> On Mon, 2010-04-26 at 13:58 -0600, Victoria A Smith wrote:
>>>
>>>> After a system crash I have filesystem access problems when
>>>> the multipathd service is started.  I noticed in the messages file
>>>> and in output from multipath -ll that an alias is not being
>>>> used:
>>>>
>>>> messages:  [...] rename 350002ac002c506cc to mpath18
>>>>
>>>> # multipath -ll
>>>> [...]
>>>> 350002ac002c506cc dm-12 3PARdata,VV
>>>>
>>>> # ls -1 /dev/mpath/
>>>> 350002ac002c506cc
>>>> mpath10
>>>> [...]
>>>>
>>>>
>>>> The bindings file has:
>>>> [...]
>>>> mpath18 350002ac002c506cc
>>>>
>>>>
>>>> Can the apparent failure of the alias-to-WWID mapping cause any problems?
>>>>
>>>>
>>>> RHEL5.5
>>>> 2.6.18-194.el5
>>>> device-mapper-multipath-0.4.7-34.el5
>>>> QLogic Fibre Channel HBA Driver: 8.03.01.04.05.05-k
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Victoria
>>>>
>>>>
>>>> --
>>>> dm-devel mailing list
>>>> dm-devel@redhat.com
>>>> https://www.redhat.com/mailman/listinfo/dm-devel
>>>>
>>>
>>> --
>>> dm-devel mailing list
>>> dm-devel@redhat.com
>>> https://www.redhat.com/mailman/listinfo/dm-devel
>>>
>>>
>>
>>
>> --
>> dm-devel mailing list
>> dm-devel@redhat.com
>> https://www.redhat.com/mailman/listinfo/dm-devel
>
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bindings file; rename WWID to mpath alias
  2010-04-26 19:58 bindings file; rename WWID to mpath alias Victoria A Smith
@ 2010-04-26 23:00 ` brem belguebli
  2010-04-26 21:13   ` Victoria A Smith
  0 siblings, 1 reply; 5+ messages in thread
From: brem belguebli @ 2010-04-26 23:00 UTC (permalink / raw)
  To: device-mapper development

Is your bindings file located on a different [lv|partition] than / ?

It may cause this kind of troubles if so.

Brem 

On Mon, 2010-04-26 at 13:58 -0600, Victoria A Smith wrote:
> After a system crash I have filesystem access problems when
> the multipathd service is started.  I noticed in the messages file
> and in output from multipath -ll that an alias is not being
> used:
> 
> messages:  [...] rename 350002ac002c506cc to mpath18
> 
> # multipath -ll
> [...]
> 350002ac002c506cc dm-12 3PARdata,VV
> 
> # ls -1 /dev/mpath/
> 350002ac002c506cc
> mpath10
> [...]
> 
> 
> The bindings file has:
> [...]
> mpath18 350002ac002c506cc
> 
> 
> Can the apparent failure of the alias-to-WWID mapping cause any problems?
> 
> 
> RHEL5.5
> 2.6.18-194.el5
> device-mapper-multipath-0.4.7-34.el5
> QLogic Fibre Channel HBA Driver: 8.03.01.04.05.05-k
> 
> 
> Thanks,
> 
> Victoria
> 
> 
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bindings file; rename WWID to mpath alias
  2010-04-26 21:13   ` Victoria A Smith
@ 2010-04-26 23:56     ` brem belguebli
  2010-04-26 22:21       ` Victoria A Smith
  0 siblings, 1 reply; 5+ messages in thread
From: brem belguebli @ 2010-04-26 23:56 UTC (permalink / raw)
  To: device-mapper development

Best thing to do, if you don't want to destroy data, would be to:

1) copy your original bindings file from /var to /etc (in newer versions
of dm-multipath, bindings file is located under /etc/multipath/bindings)
and modify /etc/multipath.conf to tell it the location of bindings file
(cf /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.annotated for the line to add, I don't have a 0.4.7 dm-mp configuration right now)

2) comment all /dev/mpath* relative entries in /etc/fstab (supposedly
you are mounting your devices thru fstab) either if using LVM or entire
raw disks.

3) reboot your system 

4) mount manually each mpath (in respect to your bindings file) and make
sure they really correspond to the original ones.

If so, you're done.

Brem

PS: rogue device is something I don't believe in, there is always a
reason for a device to be seen.....



On Mon, 2010-04-26 at 15:13 -0600, Victoria A Smith wrote:
> It is on /var (/var/lib/multipath/bindings), and /var is a separate LV 
> from /.
> 
> I am beginning to think the WWID 350002ac002c506cc is a "rogue" device 
> and should be removed from the system.
> 
> Regards,
> 
> Victoria
> 
> 
> brem belguebli said the following on 04/26/2010 05:00 PM:
> > Is your bindings file located on a different [lv|partition] than / ?
> >
> > It may cause this kind of troubles if so.
> >
> > Brem
> >
> > On Mon, 2010-04-26 at 13:58 -0600, Victoria A Smith wrote:
> >    
> >> After a system crash I have filesystem access problems when
> >> the multipathd service is started.  I noticed in the messages file
> >> and in output from multipath -ll that an alias is not being
> >> used:
> >>
> >> messages:  [...] rename 350002ac002c506cc to mpath18
> >>
> >> # multipath -ll
> >> [...]
> >> 350002ac002c506cc dm-12 3PARdata,VV
> >>
> >> # ls -1 /dev/mpath/
> >> 350002ac002c506cc
> >> mpath10
> >> [...]
> >>
> >>
> >> The bindings file has:
> >> [...]
> >> mpath18 350002ac002c506cc
> >>
> >>
> >> Can the apparent failure of the alias-to-WWID mapping cause any problems?
> >>
> >>
> >> RHEL5.5
> >> 2.6.18-194.el5
> >> device-mapper-multipath-0.4.7-34.el5
> >> QLogic Fibre Channel HBA Driver: 8.03.01.04.05.05-k
> >>
> >>
> >> Thanks,
> >>
> >> Victoria
> >>
> >>
> >> --
> >> dm-devel mailing list
> >> dm-devel@redhat.com
> >> https://www.redhat.com/mailman/listinfo/dm-devel
> >>      
> >
> > --
> > dm-devel mailing list
> > dm-devel@redhat.com
> > https://www.redhat.com/mailman/listinfo/dm-devel
> >
> >    
> 
> 
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-26 23:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-26 19:58 bindings file; rename WWID to mpath alias Victoria A Smith
2010-04-26 23:00 ` brem belguebli
2010-04-26 21:13   ` Victoria A Smith
2010-04-26 23:56     ` brem belguebli
2010-04-26 22:21       ` Victoria A Smith

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.