LVM and VxVM
Showing results for 
Search instead for 
Do you mean 

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

Occasional Contributor

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
4 REPLIES
Trusted Contributor Trusted Contributor

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.
Honored Contributor Honored Contributor

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
Occasional Contributor

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
Occasional Contributor

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

vihang,
want to check vgid on disk.

regards
Rajesh