Paths to multipath device does not show the newly created partition
Issue
- After creating the partition on multipath device using steps described in article - 25692, it was found that some of the paths to multipath device does not show newly created partition:
- For example: A partition is created on following multipath device
mpatha, but only one of the four paths are showing newly created partition:
mpatha (360050768018763876478326478231757) dm-21 IBM,2145
size=105G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:1:22 sdbr 68:80 active ready running
| `- 3:0:1:22 sdck 69:128 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:0:22 sdw 65:96 active ready running
`- 3:0:0:22 sdbk 67:224 active ready running
$ parted /dev/mapper/mpatha print
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpatha: 113GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 113GB 113GB primary lvm
$ parted /dev/sdbr print
Model: IBM 2145 (scsi)
Disk /dev/sdbr: 113GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 113GB 113GB primary lvm
- Rest of the paths viz.
/dev/sdck, /dev/sdw, /dev/sdbkdoes not show above first partition even after runningpartprobeorpartxcommands:
$ parted /dev/sdck print
Error: /dev/sdck: unrecognised disk label
$ parted /dev/sdw print
Error: /dev/sdw: unrecognised disk label
$ parted /dev/sdbk print
Error: /dev/sdbk: unrecognised disk label
$ partprobe /dev/sdck
$ partprobe /dev/sdw
$ partprobe /dev/sdbk
$ parted /dev/sdck print
Error: /dev/sdck: unrecognised disk label
$ parted /dev/sdw print
Error: /dev/sdw: unrecognised disk label
$ parted /dev/sdbk print
Error: /dev/sdbk: unrecognised disk label
- Note: After a reboot all paths shows the first partition in
parted /dev/sdX printcommand output.
Environment
- Red Hat Enterprise Linux 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.