Operating System - HP-UX
1752661 Members
5747 Online
108788 Solutions
New Discussion юеВ

Re: local and shared volumes

 

local and shared volumes

Hi,

Can we exactly know (using SG commands or system commands) if a volume is local or is shared (accessible by many nodes)?

Thanks,
Cristi
2 REPLIES 2
Massimo Bianchi
Honored Contributor

Re: local and shared volumes

Hi,
there is no direct way in which you can discover if the vg is accessed by other host.

But you can know wheter the vg was built on that host, with this trick:

Extract the VGID:

# echo "0d8208?UY" | adb /dev/dsk/c11t0d0
2010: 3216063718 2003 Mar 5 15:09:00

# uname -i
3216063718

if uname -i and
the second number of VGID match, the vg was built on your server, and hopefullt no-one else will access it.

Massimo

Ollie R
Respected Contributor

Re: local and shared volumes

Hi Cristi,

You can check in your cmclconf.ascii file which should be located in the /etc/cmcluster directory.

If this file does not exist, you can query the running config using:
cmquerycl -C -n -n ...

Check out the manpage for more info.

This output file will contain the VG names near the bottom of the file.

Hope this helps,


Ollie.
To err is human but to not award points is unforgivable