[Linux-cluster] Duplicate Volumes, GFS fail over

isplist at logicore.net isplist at logicore.net
Fri Nov 3 02:02:46 UTC 2006


Thanks for the info on this, checking it out now. 

I've installed and started the service but don't see anything yet. Assuming I 
have to do some configuring. Problem is that the system thinks there is some 
confusion about device letters.

  Found duplicate PV TB3VUn1m3CBOj8dRnRjAbRuD3ZIyBp7t: using /dev/sde1 not 
/dev/sda1
  Found duplicate PV uXjYfhj4NlvQphf1DIz28psAAkFmJRaM: using /dev/sdf1 not 
/dev/sdb1
  Found duplicate PV 3mlyNROBtWp4a3LXQEKBiCwk3pJear7u: using /dev/sdg1 not 
/dev/sdc1
  1 logical volume(s) in volume group "VolGroup01" now active
  1 logical volume(s) in volume group "VolGroup04" now active
  1 logical volume(s) in volume group "VolGroup03" now active
  1 logical volume(s) in volume group "VolGroup02" now active

Do I need to clean this up before I get into the multipath config?

Mike


> wait a minute... this is the procedure i use to turn on multipath (sorry
> i had forgotten that i did more than just turn on the service).
> 
> update /etc/multipath.conf
> mkinitrd -f /boot/initrd-`uname -r` `uname -r`
> 
> reboot
> 
> modprobe dm-multipath
> modprobe dm-round-robin
> service multipathd start
> 
> at that point you should be able to do 'multipath -ll' and see your
> multipath setup.
> 
> Here is an example from one of my boxes that has 3 luns through 4 paths
> a piece:
> 
> [root at phantasos ~]# multipath -ll
> mpath2 (36006016003e115003ef0eb769632db11)
> [size=191 GB][features="1 queue_if_no_path"][hwhandler="1 emc"]
> \_ round-robin 0 [prio=2][active]
> \_ 1:0:3:1 sdg 8:96  [active][ready]
> \_ 2:0:3:1 sdm 8:192 [active][ready]
> \_ round-robin 0 [enabled]
> \_ 1:0:2:1 sde 8:64  [active][ready]
> \_ 2:0:2:1 sdk 8:160 [active][ready]
> 
> mpath1 (36006016003e11500eefae69dd756da11)
> [size=532 GB][features="1 queue_if_no_path"][hwhandler="1 emc"]
> \_ round-robin 0 [prio=2][active]
> \_ 1:0:3:0 sdf 8:80  [active][ready]
> \_ 2:0:3:0 sdl 8:176 [active][ready]
> \_ round-robin 0 [enabled]
> \_ 1:0:2:0 sdd 8:48  [active][ready]
> \_ 2:0:2:0 sdj 8:144 [active][ready]
> 
> mpath0 (360060160a9a01000a23b3bb43cfbda11)
> [size=532 GB][features="1 queue_if_no_path"][hwhandler="1 emc"]
> \_ round-robin 0 [prio=2][active]
> \_ 1:0:1:0 sdc 8:32  [active][ready]
> \_ 2:0:1:0 sdi 8:128 [active][ready]
> \_ round-robin 0 [enabled]
> \_ 1:0:0:0 sdb 8:16  [active][ready]
> \_ 2:0:0:0 sdh 8:112 [active][ready]
> 
> 
> the mpathX is the use_friendly_names part of multipathd.conf, else the
> 3600* would be the name.
> 
> -greg







More information about the Linux-cluster mailing list