i have multipath device /dev/dm-2

# multipath -l
mpath0 (3600c0ff00012bb4eed6bd34e01000000) dm-2 HP,P2000 G3 FC
[size=4.4T][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
 \_ 3:0:0:0 sda 8:0   [active][undef]
\_ round-robin 0 [prio=0][enabled]
 \_ 3:0:1:0 sdb 8:16  [active][undef]
\_ round-robin 0 [prio=0][enabled]
 \_ 5:0:0:0 sdc 8:32  [active][undef]
\_ round-robin 0 [prio=0][enabled]
 \_ 5:0:1:0 sdd 8:48  [active][undef]

when i create partitions with parted on /dev/dm-2 (or /dev/sdX), and run partprobe. New block devices are created in the /dev/mapper/ : /dev/mapper/dm2-pX

is it possible to do so, they were created in the folder /dev/ ?

need: /dev/dm2-pX

PS.

# egrep "^[^#]" /etc/multipath.conf 
blacklist {
}
defaults {
    user_friendly_names yes
}
link|improve this question
1  
What are you asking? – slashdot Dec 10 '11 at 6:55
feedback

closed as not a real question by Scott Pack, Iain Feb 7 at 16:18

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.

1 Answer

You could change the namespace where multipath creates it's device, it's well documented. The question is, why would you want to? Any application that depends on custom locations it just asking to be broken.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.