1748011 Members
4623 Online
108757 Solutions
New Discussion юеВ

pvid, vgid etc

 
UniRock
Regular Advisor

pvid, vgid etc

HI All,

In order to search for VGID I came across following output.
-----------------------------
# echo 2000?8c+8x|adb /dev/dsk/c3t2d0s2
adb: warning: /dev/dsk/c3t2d0s2: Unknown file type.
adb: warning: File '/dev/dsk/c3t2d0s2' is not an object file.
0x2000:
adb: warning: Unrecognized format character - '+'.
LVMREC010xb9bcde5d 0x487a9bc5 0xb9bcde5d 0x487a9bc5
0x437cbff 0 0x250 0x860
---------------------------
# xd -j8200 -N16 /dev/rdsk/c3t2d0s2
0000000 b9bc de5d 487a 9bc5 b9bc de5d 487a 9bc5
0000010
---------------------------
Can anyone please explain the output and the warning message.

Which one is System ID, VGID, PVID and ????

Thanks,
RKK
5 REPLIES 5
Jeeshan
Honored Contributor
Jeeshan
Honored Contributor

Re: pvid, vgid etc

try this command

#echo 2000?8c+8x|adb /dev/dsk/cxtxdx
a warrior never quits
James R. Ferguson
Acclaimed Contributor

Re: pvid, vgid etc

Hi:

One nice thing about using 'xd' to read the physical disk is that you are reading the disk signiture (VGID and PVID) from the disk rather than "asking" the kernel (with 'adb') what it cached when the volume was last activated. An unactivated volume will not return its VGID with the 'adb' method.

In one of the thead's Dennis cited, I explained the system ID (From 'uname'), the timestamp and the VGID and PVID fields:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1181590&admit=109447626+1216212309265+28353475

Regards!

...JRF...

Dennis Handly
Acclaimed Contributor

Re: pvid, vgid etc

>JRF: rather than "asking" the kernel (with adb) what it cached when the volume was last activated. An unactivated volume will not return its VGID with the adb method.

Both methods should return the same value, if you can figure out the cryptic adb command. adb should operate directly on the file.