1753505 Members
4928 Online
108794 Solutions
New Discussion юеВ

missing vg

 
mit_3
Advisor

missing vg

I use an rp3440 attached to MSA30 Disk array of 8 Disks, mirrored 4-4. After a power failure on the MSA, the machine can boot normaly but can not mount the volumegroups vg01 and vg02 which reside on the Disk array. Physiscaly the disks are fine and i can see them with ioscan command. I have oracle database on them and i don't want to lose any of the data. How can I reattach these vg's?
20 REPLIES 20
Rick Garland
Honored Contributor

Re: missing vg

Are these VGs not activated? If you run the 'vgdisplay -v' command do these VGs show in the output?

mit_3
Advisor

Re: missing vg

When I do vgdisplay -v they do not show for both vg's. The message is:
Vgdisplay: volume group not activated
Can not display volume group /dev/vg01


Geoff Wild
Honored Contributor

Re: missing vg

vgchange -a y vg01
vgchange -a y vg02

Then

mount -a

Your server may have come up before the array did.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Peter Nikitka
Honored Contributor

Re: missing vg

Hi,

to activate a VG, use

vgchange -a y /dev/vgXX

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Rick Garland
Honored Contributor

Re: missing vg

If the VGs are not active, you will need to activate with the commands listed above.

Then you can mount them.

mit_3
Advisor

Re: missing vg

Trying to activate i get this
# vgchange -a y /dev/vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c4t0d0":
Unknown error
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t0d0":
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 "/dev/vg01":
Quorum not present, or some physical volume(s) are missing.


Torsten.
Acclaimed Contributor

Re: missing vg

Hi,

try

vgchange -a y -q n vg01

to activate the VG. Investigate the missing disk - could be broken.

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!   
Rick Garland
Honored Contributor

Re: missing vg

Missing disks? Incorrect device names?

Further investigation is needed.

Did the device names change for the disks on the reboot?
mit_3
Advisor

Re: missing vg

hi
followin the instructions I entered:

# vgchange -a y -q n vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c4t0d0":
Unknown error
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t0d0":
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 "vg01":
Quorum not present, or some physical volume(s) are missing.