
White Paper
3. Next, the alias of iSCSI device will be created. The alias name will help iSCSI
device to be identified easily. Find the UUID of iSCSI device in Red below:
# multipath -ll
mpath1 (320a6001378a8a27a) Qsan,P150C
[size=100G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][undef]
\_ 2:0:0:0 sdb 8:16 [undef][ready]
\_ round-robin 0 [prio=1][undef]
\_ 3:0:0:0 sdc 8:32 [under][ready]
4. Edit the /etc/multipath.conf again:
ultipaths {
multipath {
wwid 320a6001378a8a27a
alias Qsandisk
path_grouping_policy multibus
path_checker directio
path_selector "round-robin 0"
failback manual
rr_weight priorities
no_path_retry 5
rr_min_io 10
}
5. Save the configuration file, and confirm that the persistent name to iSCSI device
has been created.
# multipath –ll
QsanDisk (320a6001378a8a27a) Qsan,P150C
[size=100G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][undef]
\_ 2:0:0:0 sdb 8:16 [undef][ready]
\_ round-robin 0 [prio=1][undef]
\_ 3:0:0:0 sdc 8:32 [undef][ready]
# ls –l /dev/mapper
total 0
crw------- 1 root root 10, 63 Dec 26 17:19 control
brw-rw---- 1 root disk 253, 2 Dec 26 18:29 QsanDisk
brw-rw---- 1 root disk 253, 0 Dec 26 17:19 VolGroup00-LogVol00
brw-rw---- 1 root disk 253, 1 Dec 26 17:19 VolGroup00-LogVol01
Usually it uses the command multipath to manage the multipath devices. Here is the
parameter manual.
multipath
without parameters, create the devmaps for the multipath devices.
-F
clear all the existing devmaps of the multipath devices.
-f pathname
clear the existing devmap of the pathname specified.
-d
show the devmaps will be create but not really create or update
devmaps.
-l
show the current multipath topology from the information fetched in
sysfs and the device mapper.
-ll
show the current multipath topology form all available
information (sysfs, device mapper, path checkers…)
-v level
print all paths and multipaths.
0 no output
- 6 -
Kommentare zu diesen Handbüchern