Configuration: Device Mapper Multipath for Linux 189
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]
\_ round-robin 0 [prio=1][enabled]
\_ 6:0:0:22 sdcl 69:144 [active][ghost]
where:
mpathb 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.
MD3600i is the model of the device.
Sdx is the physical path to the owning controller for the device.
Sdcl is the physical path to the non-owning controller for the device.
Create a New fdisk Partition on a Multipath Device Node
The fdisk command allows creation of partition space for a file system on
the newly scanned and mapped virtual disks that have been presented to
Device Mapper.
To create a partition with the multipathing device nodes
/dev/mapper/mpath<x>, for example, use the following command:
# fdisk /dev/mapper/mpath<x>
where mpath<x> is the multipathing device node on which you want to
create the partition.
NOTE: The <x> value is an alphanumeric operating system dependent format. The
corresponding value for mapped virtual disks can be seen using the previously run
multipath command. See your operating system documentation for additional
information on fdisk.
book.book Page 189 Thursday, December 9, 2010 3:20 PM