[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] multipath dm setup



> 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]