5.4.5 Creating and Configuring the /etc/multipath.conf File
The
/etc/multipath.conf
packages/multipath-tools/multipath.conf.synthetic
multipath.conf
packages/multipath-tools/multipath.conf.annotated
comments for each of the attributes and their options.
"Creating the multipath.conf File" on page 56
"Verifying the Setup in the etc/multipath.conf File" on page 56
"Configuring User-Friendly Names or Alias Names in /etc/multipath.conf" on page 57
"Blacklisting Non-Multipathed Devices in /etc/multipath.conf" on page 58
"Configuring Default Multipath Behavior in /etc/multipath.conf" on page 58
"Applying Changes Made to the /etc/multipath.conf File" on page 59
Creating the multipath.conf File
If the
/etc/multipath.conf
1 In a terminal console, log in as the
2 Enter the following command (all on one line, of course) to copy the template:
cp /usr/share/doc/packages/multipath-tools/multipath.conf.synthetic /etc/
multipath.conf
3 Use the
as a reference to determine how to configure multipathing for your system.
4 Make sure there is an appropriate
documentation on the proper setup of the
The
/etc/multipath.conf
are using a storage subsystem that is automatically detected (see
Multipathing Support" on page
configuration of the
5 Save the file.
Verifying the Setup in the etc/multipath.conf File
After having set up the configuration, you can perform a "dry run" by entering
multipath -v3 -d
This command scans the devices, then displays what the setup would look like. The output is similar
to the following:
26353900f02796769
[size=127 GB]
[features="0"]
[hwhandler="1
\_ round-robin 0 [first]
\_ 1:0:1:2 sdav 66:240
\_ 0:0:1:2 sdr
56
SLES 10 SP3: Storage Administration Guide
file does not exist unless you create it. The
file that you can use as a guide for multipath settings. See
file does not exist, copy the example to create the file:
/usr/share/doc/packages/multipath-tools/multipath.conf.annotated
file requires a different
48), the default entry for that device can be used; no further
/etc/multipath.conf
emc"]
[ready ]
65:16
[ready ]
file contains a sample
for a template with extensive
user.
root
entry for your SAN. Most vendors provide
device
section.
device
device
file is required.
/usr/share/doc/
/etc/
/usr/share/doc/
section for different SANs. If you
"Tested Storage Arrays for
file
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 SP3 - STORAGE ADMINISTRATION GUIDE 2-23-2010 and is the answer not in the manual?
Questions and answers