[dm-devel] dmsetup target parameters

christophe.varoqui at free.fr christophe.varoqui at free.fr
Wed May 19 10:42:33 UTC 2004


> I've create with the dmsetup. this is what i've from the console.
> 
> echo "0 262132604 multipath 2 round-robin 1 0 /dev/sdc round-robin 1 0
> /dev/sdd round-robin 1 0 /dev/sde round-robin 1 0 /dev/sdf" | dmsetup create
> imapstor01
> device-mapper ioctl cmd 9 failed: Invalid argument
> Command failed
>
The fourth param (2) is the number of paths group. In your example you got 4,
not 2. Try :
 echo "0 262132604 multipath 4 round-robin 1 0 /dev/sdc round-robin 1 0 /dev/sdd
round-robin 1 0 /dev/sde round-robin 1 0 /dev/sdf" | dmsetup create imapstor01

> errm... i guess you misunderstood the statement above. the statement 
> Here is an example of a multipath target :
> 0 27262976 multipath 2 round-robin 2 0 /dev/sda /dev/sdk round-robin 2 0
> /dev/sdc /dev/sdm
>  was copied from the website.
> 
So, what does the "multipath -v" command say ?



More information about the dm-devel mailing list