Dell PowerVault MD3260 Administrator's Guide - Page 123

Display The Multipath Device Topology Using The Multipath Command

Page 123 highlights

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, MD3xxxx[size=5.0G] [features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 rdac][rw]\_ roundrobin 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. MD3xxxx 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,MD3xxxx[size=1.0G] [features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 rdac][rw]\_ roundrobin 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. MD3xxxx 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, for example, use the following command: # fdisk /dev/mapper/mpath where mpath is the multipathing device node on which you want to create the partition. NOTE: The 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. 123

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175

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, MD3xxxx[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.
MD3xxxx
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,MD3xxxx[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.
MD3xxxx
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.
123