1820080 Members
3062 Online
109608 Solutions
New Discussion юеВ

VPD 0x83 info

 
Ernest Siu
New Member

VPD 0x83 info

What tool is available to find out the VPD page 83 information from a disk?
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: VPD 0x83 info

Is 'diskinfo -v' what you are looking for?
Ernest Siu
New Member

Re: VPD 0x83 info

# diskinfo -v c42t0d0
.....
.....
.....
type: direct access
size: 2208960 Kbytes
bytes per sector: 512
rev level: 7.03
blocks per disk: 4417920
ISO version: 0
ECMA version: 0
ANSI version: 5
removable media: no
response format: 2
(Additional inquiry bytes: (32)67 (33)62 (34)6d (35)41 (36)75 (37)4d (38)4f (39)44 (40)41 (41)41 (42)31 (43)30 (44)30 (45)30 (46)30 (47)59 (48)4f (49)54 (50)41 (51)0 (52)0 (53)0 (54)60 (55)d (56)40 (57)8 (58)c0 (59)3 (60)0 (61)3 (62)20 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 )

It doesn't seem to go far enough. This is from sg_inq from Linux and as far as I know the page 83 stuff is in byte 0x90 to 0x9f and that's way pass byte 90 from what I got in HPUX diskinfo -v.

-bash-2.05b# sg_inq /dev/sdg -h
standard INQUIRY:
00 00 64 04 32 bc 00 30 02 44 47 43 20 20 20 20 20 .d.2..0.DGC
10 52 41 49 44 20 35 20 20 20 20 20 20 20 20 20 20 RAID 5
20 30 32 30 37 5f 65 38 7a 54 44 54 68 44 41 41 31 0207_e8zTDThDAA1
30 30 30 30 30 59 4f 54 41 00 00 00 3c 02 60 01 9c 0000YOTA...<.`..
40 08 c0 13 40 00 00 00 00 00 00 00 00 00 00 00 00 ...@............
50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
60 00 e0 00 10 02 07 00 13 00 00 00 00 24 00 01 00 ............$...
70 00 03 03 04 00 04 00 00 02 00 04 01 02 00 00 00 ................
80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90 60 00 45 30 00 00 00 01 00 03 85 30 d3 cf c7 be `.E0.......0....
a0 10 59 4f 54 54 41 35 33 30 64 33 63 66 63 38 31 .YOTTA530d3cfc81
b0 66 43 58 34 30 30 20 20 20 20 20 20 20 20 20 20 fCX400
c0 20
Product serial number: YOTTA530d3cfc81f
-bash-2.05b# sbin/scsi_id -p 0x83 -s /dev/sdg
Torsten.
Acclaimed Contributor

Re: VPD 0x83 info

What are you looking for? The serial number?
In this case you can use stm on this disk.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ernest Siu
New Member

Re: VPD 0x83 info

Not the serial number. I tried 'stm' with 'Tools'->'Information'->'Run' and it does give me the serial number. Actually that info is also available on diskinfo -v from byte (around byte 0x20 to 0x40 in sg_inq; the 4 byte-sequence of byte 0x34-0x37 of value 0x59 0x4f 0x54 0x41 also appears in diskinfo (47) (48) (49) (50)). I'm looking for the page 83 info in the sg_inq output byte 0x90 to 0x9f, which means in the diskinfo term, byte (113) to (128).

I'm looking for Vital Product Data on page 83 of the SCSI inquiry. From the sg_inq the 16 byte sequences I expect would look something like:
60 00 45 30 00 00 00 01 00 03 85 30 d3 cf c7 be
Ernest Siu
New Member

Re: VPD 0x83 info

I found that the diskinfo command will genenrate additional inquiry bytes up to (138) on some device but on the device I'm interested in it only generates up to (90) which is not enough. I'm curious on why.