beautypg.com

See "display the multipath device – Dell PowerVault MD3200i User Manual

Page 194

background image

192

Configuration: Device Mapper Multipath for Linux

Display the multipath device topology using the multipath command

The multipath command adds newly scanned and mapped virtual disks to the

Device Mapper tables and creates entries for them in the /dev/mapper

directory on the host server. These devices are the same as any other block

devices in the host.
To list all the multipath devices, run the following command:

# multipath –ll

The output must be similar to this example, which shows the output for one

mapped virtual disk.

mpath1 (3600a0b80005ab177000017544a8d6b92) dm-0 DELL,

MD32xxi

[size=5.0G][features=3 queue_if_no_path

pg_init_retries 50][hwhandler=1 rdac][rw]

\_ round-robin 0 [prio=6][active]

\_ 5:0:0:0 sdc 8:32 [active][ready]

\_ round-robin 0 [prio=1][enabled]

\_ 4:0:0:0 sdb 8:16 [active][ghost]

where:

mpath1

is the name of the virtual device created by device mapper. It is

located in the /dev/mapper directory.

DELL

is the vendor of the device

MD3200i

is the model of the device

Sdc

is the physical path to the owning controller for the device

Sdb

is the physical path to the non-owning controller for the device

The following is an example of SLES output:

mpathb(360080e500017b2f80000c6ca4a1d4ab8) dm-21

DELL,MD32xxi

[size=1.0G][features=3 queue_if_no_path

pg_init_retries 50][hwhandler=1 rdac][rw]

\_ round-robin 0 [prio=6][active]

\_ 4:0:0:22 sdx 65:112 [active][ready]

book.book Page 192 Tuesday, June 18, 2013 3:15 PM

This manual is related to the following products: