how to find out the vgid of san disk on 11.31 hpux (690 Views)
Reply
Occasional Contributor
Rajesh Devada
Posts: 8
Registered: ‎08-03-2008
Message 1 of 5 (690 Views)

how to find out the vgid of san disk on 11.31 hpux

we have 11.31 hpux os running on system.
I want to find the vgid of the storage disk.

can anybody help ?

Thanks
Rajesh
Please use plain text.
Trusted Contributor
Vihang.
Posts: 197
Registered: ‎08-09-2008
Message 2 of 5 (690 Views)

Re: how to find out the vgid of san disk on 11.31 hpux

Hi Rajesh,

Run the below command.

# vgexport -s -p -m /tmp/vgname.map /dev/vgname

This will create a map file which will have the VGID of that particular VG. Repeat for all VGs.
Then cat the file to read the VGID.

# cat /tmp/vgname.map


Regards,
Vihang.
Please use plain text.
Honored Contributor
Jeeshan
Posts: 2,084
Registered: ‎11-05-2007
Message 3 of 5 (690 Views)

Re: how to find out the vgid of san disk on 11.31 hpux

run this command

# echo 0x2010?2X|adb /dev/dsk/cXtYdZ|expand|tr -d " "|sed "s/2010:/VGID /"
a warrior never quits
Please use plain text.
Occasional Contributor
Rajesh Devada
Posts: 8
Registered: ‎08-03-2008
Message 4 of 5 (690 Views)

Re: how to find out the vgid of san disk on 11.31 hpux

Thanks Vihang !

But in 11.23 I use to use xd command to see the vgid of the disk that doesnt require to export vg in preview mode.

Looking for the same kind of command in 11.31.

Anyway,
Thanks for quick reply


Regards
Rajesh
Please use plain text.
Occasional Contributor
Rajesh Devada
Posts: 8
Registered: ‎08-03-2008
Message 5 of 5 (690 Views)

Re: how to find out the vgid of san disk on 11.31 hpux

vihang,
want to check vgid on disk.

regards
Rajesh
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation