partprobe removes multipath partitions from /dev

Solution Unverified - Updated -

Issue

  • partprobe removes 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
  • kpartx is not creating devices under /dev/dm-X or /dev/mpath after running partprobe
# 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content