Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Delete volume group when physical disk is missing.

SOLVED
Go to solution
Leif Halvarsson_2
Honored Contributor

Delete volume group when physical disk is missing.

Hi,
How can I delete a volume group when the physical disk is missing. The volume group is deactivated and when I try "vgremove vg01" I get "Volume group is not activated". And "vgchange -a y vgo1" :

vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t0d2":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t0d2":
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.

5 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: Delete volume group when physical disk is missing.

Hi Leif:

Try 'vgreduce -f'.

Regards!

...JRF...
Robert-Jan Goossens
Honored Contributor
Solution

Re: Delete volume group when physical disk is missing.

Think you can use vgexport here.

Robert-Jan.
John Payne_2
Honored Contributor

Re: Delete volume group when physical disk is missing.

'vgexport vg01' will do what you want it to do.

Hope it helps

John
Spoon!!!!
James R. Ferguson
Acclaimed Contributor

Re: Delete volume group when physical disk is missing.

Hi (again):

Oh, sorry, yes, use 'vgexport' to remove the whole volume *group*.

/no_points_please/

...JRF...
Leif Halvarsson_2
Honored Contributor

Re: Delete volume group when physical disk is missing.

Hi,
Vgreduce need an active volumegroup but vgexport worked.

Thanks to all of you.

Regards,
Leif