partprobe removes multipath partitions from /dev
Issue
partproberemoves multipath partitions from/dev
# dmsetup info -c | grep mpath2
mpath2 253 3 L--w 1 1 1 mpath-360014380125989a10000400000770000
mpath2p1 253 10 L--w 0 1 0 part1-mpath-360014380125989a10000400000770000
# ll /dev/dm-3 /dev/dm-10
brw-rw---- 1 root root 253, 10 Oct 11 11:40 /dev/dm-10
brw-rw---- 1 root root 253, 3 Oct 11 11:38 /dev/dm-3
# ll /dev/mpath/mpath2*
lrwxrwxrwx 1 root root 7 Oct 11 11:38 mpath2 -> ../dm-3
lrwxrwxrwx 1 root root 8 Oct 11 11:40 mpath2p1 -> ../dm-10
# partprobe /dev/mapper/mpath2
# ll /dev/dm-3 /dev/dm-10
brw-rw---- 1 root root 253, 3 Oct 11 11:38 /dev/dm-3
# ll /dev/mpath/mpath2*
lrwxrwxrwx 1 root root 7 Oct 11 11:38 mpath2 -> ../dm-3
kpartxis not creating devices under/dev/dm-Xor/dev/mpathafter runningpartprobe
# partprobe /dev/mapper/mpath2
# ll /dev/dm-3 /dev/dm-10
brw-rw---- 1 root root 253, 3 Oct 11 11:38 /dev/dm-3
# ll /dev/mpath/mpath2*
lrwxrwxrwx 1 root root 7 Oct 11 11:38 mpath2 -> ../dm-3
# kpartx -v /dev/mapper/mpath2
mpath2p1 : 0 20964762 /dev/mapper/mpath2 63
# ll /dev/dm-3 /dev/dm-10
brw-rw---- 1 root root 253, 3 Oct 11 11:38 /dev/dm-3
# ll /dev/mpath/mpath2*
lrwxrwxrwx 1 root root 7 Oct 11 11:38 mpath2 -> ../dm-3
Environment
Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
