Subscribe

Multipath and LVM configuration

Hi Guys,

We have RHEL 5.9 and NetApp 7 mode storage. I have problem in creating partition in those NetApp LUNs It is not allowing me to create partition. We tried a lot of things, but didn't help. Currently we investigate multipath.conf file and lvm.conf file.

Does anyone have any idea what's wrong?

My multipath.conf file

defaults {

       user_friendly_names no

       queue_without_daemon no

       flush_on_last_del yes

       max_fds max

       pg_prio_calc avg

}

blacklist {

                    devnode "^hd[a-z]"

                    devnode "^(ram|raw|loop|fd|md|dm-|sr|sdc|st)[0-9]*"

                    devnode "^cciss.*"

          }

devices {

        device {

                vendor                  "NETAPP"

                product                 "LUN"

                getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"

                prio_callout                     "/sbin/mpath_prio_alua /dev/%n"

                features                     "3 queue_if_no_path pg_init_retries 50"

                hardware_handler           "1 alua"

                path_grouping_policy           group_by_prio

                failback                     immediate

                rr_weight                     uniform

                rr_min_io                     128

                path_checker                     tur

                    path_selector                    "round-robin 0"

                    flish_on_last_del           yes

        }

}

My lvm,conf file

preferred_names = [ "^/dev/cciss/", "^/dev/mpath", ]

filter = [ "a/sda[1-9]$/" "a/mpath.*/" "r/.*/" ]

And I have attached the error that which i got while creating partition, Thanks in advance by Magesh

Re: Multipath and LVM configuration

Enable the multipath service?   pls check multipath service,perform service multipath status .Look your multipath software doesn't work, you can perform multipath - ll check

Partition, and you should multipath devices, rather than to directly identify the disk operations