Linux LVM with EMC powerpath

How you plan to use Linux LVM with a multipathing software like EMc powerpath?
The trick is to mask out the non emcpower devices from LVM view. This is to ensure any path failure is handled by the multipathing software rather than LVM itself. The underlying path management complexity is offloaded to multipathing software. When the command pvscan, is issued you see only the emcpower devices.

You will have to enable the filter for accepting the emcpower devices and reject all the non emcpower devices inside /etc/lvm/lvm.conf file

filter =[ "a|/dev/emcpower.*|", "r|/dev/sd*|", "r|/dev/cdrom|" ]

Ensure only one filter is enabled.

Comments

  1. Thank you, Rupesh - this is just what I was looking for and needed! Appreciate it!

    ReplyDelete
  2. This is good stuff Rupesh, thanks. Do you know if the same is required when using native Linux multipathing?

    ReplyDelete
  3. No, this rule isn't needed when using multipath. By the way, EMC doesn't recommend using multipath and powepath turned on simultaneously.

    Really good stuff. An old and useful post!

    ReplyDelete

Post a Comment

Popular posts from this blog

zpool and power path partial compatibility

Recoverpoint replication reporting with vmax splitter

Weird problem post power maintenance, no Powerpath pseudo name for Luns