[dm-devel] multipath dm setup

christophe varoqui christophe.varoqui at free.fr
Tue May 4 21:52:08 UTC 2004


> example with StorageWorks driven LUNs :
> sg_inq -e -o=0x83 /dev/sdb
> 
> To code you the right fetching fn, I would need :
> o the opcode page
> o evpd set or not
> o the offset in this page
> 
Just to be absolutely clear :

xa-s03:~# sg_inq -e -o=0x83 /dev/sdb
EVPD INQUIRY, page code=0x83:
 Only hex output supported
 00     00 83 00 14 01 03 00 10  60 05 08 b4 00 01 56 d7   
........`.....V.    
 10     00 01 20 00 00 0b 00 00                             ..
.....            

Here :
o opcode is 0x83
o evpd is set
o offset is 8 (wwid = 600508b4000156d700012000000b0000)





More information about the dm-devel mailing list