--- MPATH-ALU-fix ---

When pvscan returns WARNING's like
    Found duplicate PV wMAKI2G2jn2VDker1GmjxbaRd3ZYSBV3: using /dev/sde not /dev/sdb
    Using duplicate PV /dev/sde which is last seen, replacing /dev/sdb
    Found duplicate PV wMAKI2G2jn2VDker1GmjxbaRd3ZYSBV3: using /dev/sdh not /dev/sde
    Using duplicate PV /dev/sdh which is last seen, replacing /dev/sde
    Found duplicate PV wMAKI2G2jn2VDker1GmjxbaRd3ZYSBV3: using /dev/sdh not /dev/sdl
    Using duplicate PV /dev/sdh without holders, ignoring /dev/sdl

  1. Find UUID's for storage : /usr/sbin/blkid
  2. vi /etc/lvm/lvm.conf
    in the devices { section
    Find preferred_names = mod the entry ...
    preferred_names = [ "^/dev/sd*/", "^/dev/mapper/cd*", "^/dev/[hs]d" ]
     
    Find filter = add an entry (afer finding how many /deb/mapper/cd* disks there are )
    filter = [ "a|/dev/sda.*|", "a|/dev/mapper/cdb.*|", "r|.*|" ]
    filter = [ "a|/dev/sda.*|", "a|/dev/mapper/cdb.*|", "a|/dev/mapper/cdc.*|", "r|.*|" ]
  3. CHECK IT: pvscan
     
  4. vi /etc/multipath.conf
    mode this entry if not already ... devnode "^sda"
  5. Reconfigure the running multipathd
    /sbin/multipathd -k'reconfigure'
  6. CHECK IT: pvscan
     
  7. If there are still errors ... vgchange --refresh <VolumeGroupName>
    Re-Check pvscan

Some useful multipathd commands multipathd -k
    multipathd> show paths
    multipathd> show devices
    multipathd> list maps
    multipathd> list topology
    multipathd> list multipaths status

Valid HTML 4.01!