Operating System - HP-UX
1832690 Members
2708 Online
110043 Solutions
New Discussion

vg_apps disappears on the system

 
SOLVED
Go to solution
Dewa Negara_4
Regular Advisor

vg_apps disappears on the system

Hi All,

Last week I created a new volume group (VG called vg_apps on my system. But suddenly when I checked the system today, vg_apps some how disappear from the system. Thus, all file systems under vg_apps also disappear. When I tried vgdisplay -v vg_apps command, it gives the error below:

[root@sihp5010:/etc]
# vgdisplay -v vg_apps
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "vg_apps".

Anyone can help to determine why this happen? How can I recover my vg_apps?

Please help. Thanks alot in advance.

Best Regards,
Dewa
Santos
10 REPLIES 10
RobinKing
Valued Contributor

Re: vg_apps disappears on the system

Have you tried activating the vg to see if it's still available? vgchange -a y vg_apps
Dewa Negara_4
Regular Advisor

Re: vg_apps disappears on the system

Hi,

Thanks. Yes..I did. But got the error below:

[root@sihp5010:/etc]
# vgchange -a y vg_apps
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c2t0d0":
Cross-device link
vgchange: Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c2t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg_apps":
Quorum not present, or some physical volume(s) are missing.

Santos
RobinKing
Valued Contributor
Solution

Re: vg_apps disappears on the system

I'd suggest checking out the thread below this, sounds like you have quorum issues

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1145144
RobinKing
Valued Contributor

Re: vg_apps disappears on the system

Or of course you're missing all the disks :o)

Does an ioscan suggest you've lost some disks?
Torsten.
Acclaimed Contributor

Re: vg_apps disappears on the system

Check
strings /etc/lvmtab
what disks belong to this VG.
Check "ioscan -fnCdisk" for these disks.

Did you reboot? If not, is the status NO_HW?
If the disks are on SAN, check the array and the switches for problems.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dewa Negara_4
Regular Advisor

Re: vg_apps disappears on the system

Hi All,

vg_apps contains 3 disks c2t0d0,c2t0d1, and c2t0d2.Pls refer to lvmtab below. All those 3 disks are on CLAIMED status. It looks to me that I am encoutering a quorom issue, because the vg has been activated using vgchange -a y -q n /dev/vg_apps. But now when I try to use command vgdisplay -v vg_apps, it's giving me the error below.

[root@sihp5010:/root]
# vgdisplay -v vg_apps|more
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":

How can I recover my vg_apps?

Please help.

Thanks and Best Regards,
Dewa

[root@sihp5010:/root]
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t0d0s2
/dev/dsk/c1t1d0s2
/dev/vg_apps
/dev/dsk/c2t0d0
/dev/dsk/c2t0d1
/dev/dsk/c2t0d2
Santos
RobinKing
Valued Contributor

Re: vg_apps disappears on the system

Have you rebooted? You suggest the disks are showing as CLAIMED, did you run ioscan -fnC or -fnkC?
Avinash Agarkar
Valued Contributor

Re: vg_apps disappears on the system

Is any disk failure on the system check in ioscan the disk which are allocated to vg_apps all are clained.

Great Power Comes With Great Responsibility
Juan M Leon
Trusted Contributor

Re: vg_apps disappears on the system

Is this part of a cluster of Business Copy.
Juan M Leon
Trusted Contributor

Re: vg_apps disappears on the system

Is this part of a cluster or Business Copy.