Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: API
[XCP] [BUG] [SM] wrong filter in lvm.conf with multipath-enabled SR (LVMoISCSI)
 

Index | Next | Previous | View Flat


george.shuklin at gmail

Apr 7, 2012, 5:40 PM


Views: 224
Permalink
[XCP] [BUG] [SM] wrong filter in lvm.conf with multipath-enabled SR (LVMoISCSI)

Good day.

Summary: filter statement in lvm.conf does not prevent LVM to use wrong
PV for iscsi/multipath LVM SR's.

Configuration:
SR (LVMoISCSI), enabled multipath. Hosts do have options "multipathing:
true; multipathhandle: dmp;" in other-config. multipath -ll shows
normally operating MP disk.

But one of the host shows in pvdisplay output that PV is on '/dev/sdc',
not on /dev/mapper/long-mutlipath-id. I looked to /etc/lvm/lvm.conf and
found it has filter option like this:

filter = [ "r|/dev/xvd.|", "r|/dev/VG_Xen.*/LV.*|" ]

(no /dev/sd*)

I think there is some chance this cause lvm tools make /dev/sd* device
PV for LVM, not multipathed one. This happens only on one host in whole
pool, so it looks be very rare situation (but it is repeatable, every
pbd-plug).

I done some adhoc fix with filtering out all /dev/sd* devices, but for
normal fix this shall be coded somewhere in SM, because by fix turn off
all normal LVMoISCSI and local LVM SR's...


_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Subject User Time
[XCP] [BUG] [SM] wrong filter in lvm.conf with multipath-enabled SR (LVMoISCSI) george.shuklin at gmail Apr 7, 2012, 5:40 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.