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

Re: [dm-devel] oblem with lvm and multipath on fedora 13



Title: Re: [dm-devel] oblem with lvm and multipath on fedora 13

That works, now how do I stop it?

-Brian

[root testfs ~]# multipath -ll
op-tst-fsdata01-rw-04Jun2010 (350002ac0021b05d8) dm-0 3PARdata,VV
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:9  sdk  8:160  active ready running
  `- 4:0:0:9  sdy  65:128 active ready running
testfsdata01 (350002ac000e505d8) dm-8 3PARdata,VV
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:1  sdc  8:32   active ready running
  `- 4:0:0:1  sdq  65:0   active ready running
op-tst-fsdata03-rw-04Jun2010 (350002ac0021d05d8) dm-16 3PARdata,VV
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:11 sdm  8:192  active ready running
  `- 4:0:0:11 sdaa 65:160 active ready running
testsnapfslog02 (350002ac001ca05d8) dm-12 3PARdata,VV
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:13 sdo  8:224  active ready running
  `- 4:0:0:13 sdac 65:192 active ready running
testfslog01 (350002ac000e605d8) dm-7 3PARdata,VV
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:0  sdb  8:16   active ready running
  `- 4:0:0:0  sdp  8:240  active ready running
testsnapfslog01 (350002ac0010905d8) dm-11 3PARdata,VV
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:8  sdj  8:144  active ready running
  `- 4:0:0:8  sdx  65:112 active ready running
op-tst-fsdata02-rw-04Jun2010 (350002ac0021c05d8) dm-18 3PARdata,VV
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:10 sdl  8:176  active ready running
  `- 4:0:0:10 sdz  65:144 active ready running
testnfs02 (350002ac000ea05d8) dm-10 3PARdata,VV
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:3  sde  8:64   active ready running
  `- 4:0:0:3  sds  65:32  active ready running
testnfs01 (350002ac000e905d8) dm-9 3PARdata,VV
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:2  sdd  8:48   active ready running
  `- 4:0:0:2  sdr  65:16  active ready running
op-tst-fsdata04-rw-04Jun2010 (350002ac0021e05d8) dm-17 3PARdata,VV
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=2 status=active
  |- 3:0:0:12 sdn  8:208  active ready running
  `- 4:0:0:12 sdab 65:176 active ready running

Aug 27 11:52:26 | sdk: ownership set to op-tst-fsdata01-rw-04Jun2010
Aug 27 11:52:26 | sdk: not found in pathvec
Aug 27 11:52:26 | sdk: mask = 0xc
Aug 27 11:52:26 | sdk: get_state
Aug 27 11:52:26 | sdk: state = running
Aug 27 11:52:26 | sdk: state = 3
Aug 27 11:52:26 | sdk: const prio = 1
Aug 27 11:52:26 | sdy: ownership set to op-tst-fsdata01-rw-04Jun2010
Aug 27 11:52:26 | sdy: not found in pathvec
Aug 27 11:52:26 | sdy: mask = 0xc
Aug 27 11:52:26 | sdy: get_state
Aug 27 11:52:26 | sdy: state = running
Aug 27 11:52:26 | sdy: state = 3
Aug 27 11:52:26 | sdy: const prio = 1
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: pgfailback = 15 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: pgpolicy = multibus (controller setting)
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: selector = round-robin 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: features = 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: hwhandler = 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: rr_weight = 2 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: minio = 1000 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: no_path_retry = -2 (controller setting)
Aug 27 11:52:26 | pg_timeout = NONE (internal default)
Aug 27 11:52:26 | op-tst-fsdata01-rw-04Jun2010: set ACT_CREATE (map does not exist)
create: op-tst-fsdata01-rw-04Jun2010 (350002ac0021b05d8) undef 3PARdata,VV
size=2.0T features='0' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=2 status=undef
  |- 3:0:0:9  sdk  8:160  undef ready running
  `- 4:0:0:9  sdy  65:128 undef ready running
Aug 27 11:52:26 | sdm: ownership set to op-tst-fsdata03-rw-04Jun2010
Aug 27 11:52:26 | sdm: not found in pathvec
Aug 27 11:52:26 | sdm: mask = 0xc
Aug 27 11:52:26 | sdm: get_state
Aug 27 11:52:26 | sdm: state = running
Aug 27 11:52:26 | sdm: state = 3
Aug 27 11:52:26 | sdm: const prio = 1
Aug 27 11:52:26 | sdaa: ownership set to op-tst-fsdata03-rw-04Jun2010
Aug 27 11:52:26 | sdaa: not found in pathvec
Aug 27 11:52:26 | sdaa: mask = 0xc
Aug 27 11:52:26 | sdaa: get_state
Aug 27 11:52:26 | sdaa: state = running
Aug 27 11:52:26 | sdaa: state = 3
Aug 27 11:52:26 | sdaa: const prio = 1
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: pgfailback = 15 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: pgpolicy = multibus (controller setting)
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: selector = round-robin 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: features = 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: hwhandler = 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: rr_weight = 2 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: minio = 1000 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: no_path_retry = -2 (controller setting)
Aug 27 11:52:26 | pg_timeout = NONE (internal default)
Aug 27 11:52:26 | op-tst-fsdata03-rw-04Jun2010: set ACT_CREATE (map does not exist)
create: op-tst-fsdata03-rw-04Jun2010 (350002ac0021d05d8) undef 3PARdata,VV
size=2.0T features='0' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=2 status=undef
  |- 3:0:0:11 sdm  8:192  undef ready running
  `- 4:0:0:11 sdaa 65:160 undef ready running
Aug 27 11:52:26 | sdn: ownership set to op-tst-fsdata04-rw-04Jun2010
Aug 27 11:52:26 | sdn: not found in pathvec
Aug 27 11:52:26 | sdn: mask = 0xc
Aug 27 11:52:26 | sdn: get_state
Aug 27 11:52:26 | sdn: state = running
Aug 27 11:52:26 | sdn: state = 3
Aug 27 11:52:26 | sdn: const prio = 1
Aug 27 11:52:26 | sdab: ownership set to op-tst-fsdata04-rw-04Jun2010
Aug 27 11:52:26 | sdab: not found in pathvec
Aug 27 11:52:26 | sdab: mask = 0xc
Aug 27 11:52:26 | sdab: get_state
Aug 27 11:52:26 | sdab: state = running
Aug 27 11:52:26 | sdab: state = 3
Aug 27 11:52:26 | sdab: const prio = 1
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: pgfailback = 15 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: pgpolicy = multibus (controller setting)
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: selector = round-robin 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: features = 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: hwhandler = 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: rr_weight = 2 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: minio = 1000 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: no_path_retry = -2 (controller setting)
Aug 27 11:52:26 | pg_timeout = NONE (internal default)
Aug 27 11:52:26 | op-tst-fsdata04-rw-04Jun2010: set ACT_CREATE (map does not exist)
create: op-tst-fsdata04-rw-04Jun2010 (350002ac0021e05d8) undef 3PARdata,VV
size=2.0T features='0' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=2 status=undef
  |- 3:0:0:12 sdn  8:208  undef ready running
  `- 4:0:0:12 sdab 65:176 undef ready running
Aug 27 11:52:26 | sdl: ownership set to op-tst-fsdata02-rw-04Jun2010
Aug 27 11:52:26 | sdl: not found in pathvec
Aug 27 11:52:26 | sdl: mask = 0xc
Aug 27 11:52:26 | sdl: get_state
Aug 27 11:52:26 | sdl: state = running
Aug 27 11:52:26 | sdl: state = 3
Aug 27 11:52:26 | sdl: const prio = 1
Aug 27 11:52:26 | sdz: ownership set to op-tst-fsdata02-rw-04Jun2010
Aug 27 11:52:26 | sdz: not found in pathvec
Aug 27 11:52:26 | sdz: mask = 0xc
Aug 27 11:52:26 | sdz: get_state
Aug 27 11:52:26 | sdz: state = running
Aug 27 11:52:26 | sdz: state = 3
Aug 27 11:52:26 | sdz: const prio = 1
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: pgfailback = 15 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: pgpolicy = multibus (controller setting)
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: selector = round-robin 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: features = 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: hwhandler = 0 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: rr_weight = 2 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: minio = 1000 (controller setting)
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: no_path_retry = -2 (controller setting)
Aug 27 11:52:26 | pg_timeout = NONE (internal default)
Aug 27 11:52:26 | op-tst-fsdata02-rw-04Jun2010: set ACT_CREATE (map does not exist)
create: op-tst-fsdata02-rw-04Jun2010 (350002ac0021c05d8) undef 3PARdata,VV
size=2.0T features='0' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=2 status=undef
  |- 3:0:0:10 sdl  8:176  undef ready running
  `- 4:0:0:10 sdz  65:144 undef ready running



On 8/27/10 11:26 AM, "Malahal Naineni" <malahal us ibm com> wrote:

Stamper, Brian P. (ARC-D)[Logyx LLC] [brian p stamper nasa gov] wrote:
> Last night I upgraded a box from Fedora 11 to Fedora 13, which upgraded
> multipath from 4.8-10 to 4.9-14.  After the upgrade, multipath is failing to
> create maps for some of my volumes.  The volumes are coming from a 3par
> system, which is directly attached to Qlogic HBAs.
>
> The volumes I'm having problems with contain vgs and lvms.  They're also
> snapshot volumes.  I have a base volume (non-snapshot) that contains a vg
> that is working fine.  I would not expect that these volumes being snapshots
> would be significant, but it's the only common thread I've found so far.
>
> It seems almost like a timing issue, where lvm is grabbing the disks before
> multipath has a chance to create the maps.  What I can't figure is why it
> only affects these volumes.  Looking through /var/log/messages from startup,
> I am seeing some "unknown partition type" messages that do seem to
> correspond to the volumes that dracut is reporting as duplicate PVs, so I'll
> investigate that.
>
> Help would be much appreciated.

If you can, deactivate the affected VG, restart multipath (it should be
able to load maps now) and then activate the VG. If this works, then
there is something that is causing LVM to claim devices before multipath
does.

Thanks, Malahal.
PS: If you don't have multipath in initrd, LVM *may* claim paths as PV's
before the multipath from active root can claim them. Don't have enough
info on Fedora13 initrd if this can happen though.

--
dm-devel mailing list
dm-devel redhat com
https://www.redhat.com/mailman/listinfo/dm-devel


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