Operating System - HP-UX
1834697 Members
1880 Online
110069 Solutions
New Discussion

Re: Volumn group not activated

 
jackizm
Occasional Contributor

Volumn group not activated

Hi All
There is a error output when I use the command "vgdisplay".

vgdisplay: Volumn group not activated
vgdisplay: cannot display volumn group "/dev/myvg01"

Who could tell me the reason?

Thanks a lot!


5 REPLIES 5
Sunil Sharma_1
Honored Contributor

Re: Volumn group not activated

try to run

#vgchange -a y /dev/vg01

This will activate volume group vg01

then

#vgdisplay -v vg01

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Bharat Katkar
Honored Contributor

Re: Volumn group not activated

Hi Jack,
This definitely means vg01 is not activated on your system. You can activate this VG as told above but you need to check whether it is active on any other system if it is on shared storage.

Is this is a Cluster Node??

Regards,
You need to know a lot to actually know how little you know
Ravi_8
Honored Contributor

Re: Volumn group not activated

Hi

#vgchange -a y /dev/myvg01
#vgdisplay /dev/myvg01
never give up
Gordon  Morrison
Trusted Contributor

Re: Volumn group not activated

If this node is in a cluster, you definitely want to check that this vg is not active on another node before you activate it. During a "clean" failover of a package, all vg's should be exported, so they wouldn't normally show up on another node in the cluster, but this kind of thing can happen if the failover was due to a disaster of some kind, especially if Serviceguard did not start up on the failed node when if rebooted.
Only activate it if you're sure this VG isn't active anywhere else.
What does this button do?
Florian Heigl (new acc)
Honored Contributor

Re: Volumn group not activated

for safe testing You can use
vgchange -a r /dev/myvg01

to my eyes, this sounds like a vg left over from testing, so I'd first do a
strings /etc/lvmtab to see which disk devices it ought to use and check their availability using lssf or ioscan -fnCdisk.
yesterday I stood at the edge. Today I'm one step ahead.