[dm-devel] dmsetup target parameters

Ling Hwa Hing hwahing at nasioncom.net
Wed May 19 10:56:34 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
 
> So, what does the "multipath -v" command say ?

# all paths :
600508b400014ae80001b000001e0000 (2 0 0 1) /dev/sdc [HSV110 (C)COMPAQ]
600508b400014ae80001b000001e0000 (2 0 1 1) /dev/sdd [HSV110 (C)COMPAQ]
600508b400014ae80001b000001e0000 (3 0 0 1) /dev/sde [HSV110 (C)COMPAQ]
600508b400014ae80001b000001e0000 (3 0 1 1) /dev/sdf [HSV110 (C)COMPAQ]
# all multipaths :
600508b400014ae80001b000001e0000
 \_(2 0 0 1) /dev/sdc [HSV110 (C)COMPAQ]
 \_(2 0 1 1) /dev/sdd [HSV110 (C)COMPAQ]
 \_(3 0 0 1) /dev/sde [HSV110 (C)COMPAQ]
 \_(3 0 1 1) /dev/sdf [HSV110 (C)COMPAQ]
# device maps :
N:600508b400014ae80001b000001e0000:0 262144000 multipath 2 round-robin 2 0 /dev/sdd /dev/sdf round-robin 2 0 /dev/sdc /dev/sde
device-mapper ioctl cmd 9 failed: 22

some times multipath -v just hung. it just stop after display the 
<snip>
# device maps :
N:600508b400014ae80001b000001e0000:0 262144000 multipath 2 round-robin 2 0 /dev/sdd /dev/sdf round-robin 2 0 /dev/sdc /dev/sde

<stop display but no exit>

and i have another question.
When I remove the device with dmsetup mknodes and dmsetup remove_all, why the informations in the multipath -v still remains the same as what is created earlier.

Thanks for reply my mail.

regards,
hwahing



More information about the dm-devel mailing list