Ignoring Local Disks When Generating Multipath Devices - Red Hat CLUSTER SUITE 4.7 DM MULTIPATH Configuration And Administration Manual

Table of Contents

Advertisement

Chapter 3. Setting Up DM-Multipath
multipath -v2
The multipath -v2 command prints out multipathed paths that show which devices are
multipathed. If the command does not print anything out, ensure that all SAN connections are set
up properly and the system is multipathed.
For further information on the multipath command output, see
Command
Output".
5. Execute the following command to ensure sure that the multipath daemon starts on bootup:
chkconfig multipathd on
Since the value of user_friendly_name is set to yes in the configuration filea the multipath devices
will be created as /dev/mapper/mpathn. For information on setting the name of the device to an
alias of your choosing, see
3.2. Ignoring Local Disks when Generating Multipath
Devices
Some machines have local SCSI cards for their internal disks. DM-Multipath is not recommended for
these devices. The following procedure shows how to modify the multipath configuration file to ignore
the local disks when configuring multipath.
1. Determine which disks are the internal disks and mark them as the ones to blacklist.
In this example, /dev/sda is the internal disk. Note that as originally configured in the default
multipath configuration file, executing the multipath -v2 shows the local disk, /dev/sda, in
the multipath map.
For further information on the multipath command output, see
Command
Output".
[root@rh4cluster1 ~]# multipath -v2
create: SIBM-ESXSST336732LC____F3ET0EP0Q000072428BX1
[size=33 GB][features="0"][hwhandler="0"]
\_ round-robin 0
\_ 0:0:0:0 sda
device-mapper ioctl cmd 9 failed: Invalid argument
device-mapper ioctl cmd 14 failed: No such device or address
create: 3600a0b80001327d80000006d43621677
[size=12 GB][features="0"][hwhandler="0"]
\_ round-robin 0
\_ 2:0:0:0 sdb
\_ 3:0:0:0 sdf
create: 3600a0b80001327510000009a436215ec
[size=12 GB][features="0"][hwhandler="0"]
8
Chapter 4, The DM-Multipath Configuration
8:0
[---------
8:16
8:80
Section 5.1, "Multipath
File.
Section 5.1, "Multipath

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CLUSTER SUITE 4.7 DM MULTIPATH and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents