<HTML>
<HEAD>
<TITLE>Re: [dm-devel] oblem with lvm and multipath on fedora 13</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
That works, now how do I stop it?<BR>
<BR>
-Brian<BR>
<BR>
[root@testfs ~]# multipath -ll<BR>
<B>op-tst-fsdata01-rw-04Jun2010 (350002ac0021b05d8) dm-0 3PARdata,VV<BR>
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:9 sdk 8:160 active ready running<BR>
`- 4:0:0:9 sdy 65:128 active ready running<BR>
</B>testfsdata01 (350002ac000e505d8) dm-8 3PARdata,VV<BR>
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:1 sdc 8:32 active ready running<BR>
`- 4:0:0:1 sdq 65:0 active ready running<BR>
<B>op-tst-fsdata03-rw-04Jun2010 (350002ac0021d05d8) dm-16 3PARdata,VV<BR>
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:11 sdm 8:192 active ready running<BR>
`- 4:0:0:11 sdaa 65:160 active ready running<BR>
</B>testsnapfslog02 (350002ac001ca05d8) dm-12 3PARdata,VV<BR>
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:13 sdo 8:224 active ready running<BR>
`- 4:0:0:13 sdac 65:192 active ready running<BR>
testfslog01 (350002ac000e605d8) dm-7 3PARdata,VV<BR>
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:0 sdb 8:16 active ready running<BR>
`- 4:0:0:0 sdp 8:240 active ready running<BR>
testsnapfslog01 (350002ac0010905d8) dm-11 3PARdata,VV<BR>
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:8 sdj 8:144 active ready running<BR>
`- 4:0:0:8 sdx 65:112 active ready running<BR>
<B>op-tst-fsdata02-rw-04Jun2010 (350002ac0021c05d8) dm-18 3PARdata,VV<BR>
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:10 sdl 8:176 active ready running<BR>
`- 4:0:0:10 sdz 65:144 active ready running<BR>
</B>testnfs02 (350002ac000ea05d8) dm-10 3PARdata,VV<BR>
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:3 sde 8:64 active ready running<BR>
`- 4:0:0:3 sds 65:32 active ready running<BR>
testnfs01 (350002ac000e905d8) dm-9 3PARdata,VV<BR>
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:2 sdd 8:48 active ready running<BR>
`- 4:0:0:2 sdr 65:16 active ready running<BR>
<B>op-tst-fsdata04-rw-04Jun2010 (350002ac0021e05d8) dm-17 3PARdata,VV<BR>
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw<BR>
`-+- policy='round-robin 0' prio=2 status=active<BR>
|- 3:0:0:12 sdn 8:208 active ready running<BR>
`- 4:0:0:12 sdab 65:176 active ready running<BR>
</B><BR>
Aug 27 11:52:26 | sdk: ownership set to op-tst-fsdata01-rw-04Jun2010<BR>
Aug 27 11:52:26 | sdk: not found in pathvec<BR>
Aug 27 11:52:26 | sdk: mask = 0xc<BR>
Aug 27 11:52:26 | sdk: get_state<BR>
Aug 27 11:52:26 | sdk: state = running<BR>
Aug 27 11:52:26 | sdk: state = 3<BR>
Aug 27 11:52:26 | sdk: const prio = 1<BR>
Aug 27 11:52:26 | sdy: ownership set to op-tst-fsdata01-rw-04Jun2010<BR>
Aug 27 11:52:26 | sdy: not found in pathvec<BR>
Aug 27 11:52:26 | sdy: mask = 0xc<BR>
Aug 27 11:52:26 | sdy: get_state<BR>
Aug 27 11:52:26 | sdy: state = running<BR>
Aug 27 11:52:26 | sdy: state = 3<BR>
Aug 27 11:52:26 | sdy: const prio = 1<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: pgfailback = 15 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: pgpolicy = multibus (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: selector = round-robin 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: features = 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: hwhandler = 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: rr_weight = 2 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: minio = 1000 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: no_path_retry = -2 (controller setting)<BR>
Aug 27 11:52:26 | pg_timeout = NONE (internal default)<BR>
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: set ACT_CREATE (map does not exist)<BR>
create: op-tst-fsdata01-rw-04Jun2010 (350002ac0021b05d8) undef 3PARdata,VV<BR>
size=2.0T features='0' hwhandler='0' wp=undef<BR>
`-+- policy='round-robin 0' prio=2 status=undef<BR>
|- 3:0:0:9 sdk 8:160 undef ready running<BR>
`- 4:0:0:9 sdy 65:128 undef ready running<BR>
Aug 27 11:52:26 | sdm: ownership set to op-tst-fsdata03-rw-04Jun2010<BR>
Aug 27 11:52:26 | sdm: not found in pathvec<BR>
Aug 27 11:52:26 | sdm: mask = 0xc<BR>
Aug 27 11:52:26 | sdm: get_state<BR>
Aug 27 11:52:26 | sdm: state = running<BR>
Aug 27 11:52:26 | sdm: state = 3<BR>
Aug 27 11:52:26 | sdm: const prio = 1<BR>
Aug 27 11:52:26 | sdaa: ownership set to op-tst-fsdata03-rw-04Jun2010<BR>
Aug 27 11:52:26 | sdaa: not found in pathvec<BR>
Aug 27 11:52:26 | sdaa: mask = 0xc<BR>
Aug 27 11:52:26 | sdaa: get_state<BR>
Aug 27 11:52:26 | sdaa: state = running<BR>
Aug 27 11:52:26 | sdaa: state = 3<BR>
Aug 27 11:52:26 | sdaa: const prio = 1<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: pgfailback = 15 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: pgpolicy = multibus (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: selector = round-robin 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: features = 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: hwhandler = 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: rr_weight = 2 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: minio = 1000 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: no_path_retry = -2 (controller setting)<BR>
Aug 27 11:52:26 | pg_timeout = NONE (internal default)<BR>
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: set ACT_CREATE (map does not exist)<BR>
create: op-tst-fsdata03-rw-04Jun2010 (350002ac0021d05d8) undef 3PARdata,VV<BR>
size=2.0T features='0' hwhandler='0' wp=undef<BR>
`-+- policy='round-robin 0' prio=2 status=undef<BR>
|- 3:0:0:11 sdm 8:192 undef ready running<BR>
`- 4:0:0:11 sdaa 65:160 undef ready running<BR>
Aug 27 11:52:26 | sdn: ownership set to op-tst-fsdata04-rw-04Jun2010<BR>
Aug 27 11:52:26 | sdn: not found in pathvec<BR>
Aug 27 11:52:26 | sdn: mask = 0xc<BR>
Aug 27 11:52:26 | sdn: get_state<BR>
Aug 27 11:52:26 | sdn: state = running<BR>
Aug 27 11:52:26 | sdn: state = 3<BR>
Aug 27 11:52:26 | sdn: const prio = 1<BR>
Aug 27 11:52:26 | sdab: ownership set to op-tst-fsdata04-rw-04Jun2010<BR>
Aug 27 11:52:26 | sdab: not found in pathvec<BR>
Aug 27 11:52:26 | sdab: mask = 0xc<BR>
Aug 27 11:52:26 | sdab: get_state<BR>
Aug 27 11:52:26 | sdab: state = running<BR>
Aug 27 11:52:26 | sdab: state = 3<BR>
Aug 27 11:52:26 | sdab: const prio = 1<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: pgfailback = 15 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: pgpolicy = multibus (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: selector = round-robin 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: features = 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: hwhandler = 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: rr_weight = 2 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: minio = 1000 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: no_path_retry = -2 (controller setting)<BR>
Aug 27 11:52:26 | pg_timeout = NONE (internal default)<BR>
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: set ACT_CREATE (map does not exist)<BR>
create: op-tst-fsdata04-rw-04Jun2010 (350002ac0021e05d8) undef 3PARdata,VV<BR>
size=2.0T features='0' hwhandler='0' wp=undef<BR>
`-+- policy='round-robin 0' prio=2 status=undef<BR>
|- 3:0:0:12 sdn 8:208 undef ready running<BR>
`- 4:0:0:12 sdab 65:176 undef ready running<BR>
Aug 27 11:52:26 | sdl: ownership set to op-tst-fsdata02-rw-04Jun2010<BR>
Aug 27 11:52:26 | sdl: not found in pathvec<BR>
Aug 27 11:52:26 | sdl: mask = 0xc<BR>
Aug 27 11:52:26 | sdl: get_state<BR>
Aug 27 11:52:26 | sdl: state = running<BR>
Aug 27 11:52:26 | sdl: state = 3<BR>
Aug 27 11:52:26 | sdl: const prio = 1<BR>
Aug 27 11:52:26 | sdz: ownership set to op-tst-fsdata02-rw-04Jun2010<BR>
Aug 27 11:52:26 | sdz: not found in pathvec<BR>
Aug 27 11:52:26 | sdz: mask = 0xc<BR>
Aug 27 11:52:26 | sdz: get_state<BR>
Aug 27 11:52:26 | sdz: state = running<BR>
Aug 27 11:52:26 | sdz: state = 3<BR>
Aug 27 11:52:26 | sdz: const prio = 1<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: pgfailback = 15 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: pgpolicy = multibus (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: selector = round-robin 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: features = 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: hwhandler = 0 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: rr_weight = 2 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: minio = 1000 (controller setting)<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: no_path_retry = -2 (controller setting)<BR>
Aug 27 11:52:26 | pg_timeout = NONE (internal default)<BR>
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: set ACT_CREATE (map does not exist)<BR>
create: op-tst-fsdata02-rw-04Jun2010 (350002ac0021c05d8) undef 3PARdata,VV<BR>
size=2.0T features='0' hwhandler='0' wp=undef<BR>
`-+- policy='round-robin 0' prio=2 status=undef<BR>
|- 3:0:0:10 sdl 8:176 undef ready running<BR>
`- 4:0:0:10 sdz 65:144 undef ready running<BR>
<BR>
<BR>
<BR>
On 8/27/10 11:26 AM, "Malahal Naineni" <<a href="malahal@us.ibm.com">malahal@us.ibm.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Stamper, Brian P. (ARC-D)[Logyx LLC] [<a href="brian.p.stamper@nasa.gov">brian.p.stamper@nasa.gov</a>] wrote:<BR>
> Last night I upgraded a box from Fedora 11 to Fedora 13, which upgraded<BR>
> multipath from 4.8-10 to 4.9-14. After the upgrade, multipath is failing to<BR>
> create maps for some of my volumes. The volumes are coming from a 3par<BR>
> system, which is directly attached to Qlogic HBAs.<BR>
><BR>
> The volumes I'm having problems with contain vgs and lvms. They're also<BR>
> snapshot volumes. I have a base volume (non-snapshot) that contains a vg<BR>
> that is working fine. I would not expect that these volumes being snapshots<BR>
> would be significant, but it's the only common thread I've found so far.<BR>
><BR>
> It seems almost like a timing issue, where lvm is grabbing the disks before<BR>
> multipath has a chance to create the maps. What I can't figure is why it<BR>
> only affects these volumes. Looking through /var/log/messages from startup,<BR>
> I am seeing some "unknown partition type" messages that do seem to<BR>
> correspond to the volumes that dracut is reporting as duplicate PVs, so I'll<BR>
> investigate that.<BR>
><BR>
> Help would be much appreciated.<BR>
<BR>
If you can, deactivate the affected VG, restart multipath (it should be<BR>
able to load maps now) and then activate the VG. If this works, then<BR>
there is something that is causing LVM to claim devices before multipath<BR>
does.<BR>
<BR>
Thanks, Malahal.<BR>
PS: If you don't have multipath in initrd, LVM *may* claim paths as PV's<BR>
before the multipath from active root can claim them. Don't have enough<BR>
info on Fedora13 initrd if this can happen though.<BR>
<BR>
--<BR>
dm-devel mailing list<BR>
<a href="dm-devel@redhat.com">dm-devel@redhat.com</a><BR>
<a href="https://www.redhat.com/mailman/listinfo/dm-devel">https://www.redhat.com/mailman/listinfo/dm-devel</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>