[dm-devel] dmsetup target parameters

Ling Hwa Hing hwahing at nasioncom.net
Thu May 20 03:28:02 UTC 2004


On Wed, 19 May 2004 13:09:03 +0200
christophe.varoqui at free.fr wrote:
> > 
> > # 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]
> 
> This block is purely informative : it displays information that was gathered by
> SCSI inquiries
> 
> > # 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]
> 
> This block is purely informative too : it displays information about the path
> coalescing done by the tool
> 
> > # 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
> >
> This block shows what is currently being instructed to the device-mapper : the
> devmap creation is failing here.
>  
> are your connection set to Solaris in the HSV110 ?
yes, the host type is set to solaris.
> is your kernel configured with REPORT_LUN ?
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_REPORT_LUNS=y

> does a simple dd on a ghost path fail or block ?
it say input/output error.

> do a simple multipath map without the ghosts work ?
it works

> do a simple multipath map with non SAN disks work (don't do writes, don't mount :) ?
allocated 120gb for testing. full access to SAN disk.

> > 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
any way to work around the device maps value? i try to remove the device and rmmod/modprobe the lpfc driver. but somehow the dmsetup still give me the same result as what i've setup before.

regards,
hwahing



More information about the dm-devel mailing list