System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Volume group "/dev/oravg01" does not exist

Aamir14
Regular Advisor

Volume group "/dev/oravg01" does not exist

Hi,

 

After formating the server 11.31.

 

I try restore LVM (vgcfgrestore)

but its not restore.

 

before formatinf.I have three VGs

1.oravg01

2.oravg02

3.oravg03

i have taken backup all VGs (backup file name = oravg01,oravg02,oravg03)

vgcfgrestore -f /tmp/backup-15-5-12/oravg01 oravg01

 

Error:----

 

billdev2#vgcfgrestore -f /tmp/backup-15-5-12/oravg01 oravg01 vgcfgrestore: Volume group "/dev/oravg01" does not exist in the "/etc/lvmtab" file. Configuration info for Physical Volume "oravg01" not found  in "/tmp/backup-15-5-12/oravg01" : Character-special file for PV not supplied on command line, OR PV did not belong to Volume Group /dev/oravg01 when configuration file was created. billdev2#

 

My server lvmfile is;-------

 

#strings /etc/lvmtab

 /dev/vg00 /dev/disk/disk13_p2

 

Disk files:-----

 

 

ioscan -m dsf Persistent DSF Legacy DSF(s) ======================================== /dev/rdisk/disk8 /dev/rdsk/c0t0d0 /dev/rdisk/disk9 /dev/rdsk/c0t4d0 /dev/rdisk/disk10 /dev/rdsk/c0t1d0 /dev/rdisk/disk11 /dev/rdsk/c0t3d0 /dev/rdisk/disk12 /dev/rdsk/c0t2d0 /dev/rdisk/disk13 /dev/rdsk/c0t5d0 /dev/rdisk/disk13_p1 /dev/rdsk/c0t5d0s1 /dev/rdisk/disk13_p2 /dev/rdsk/c0t5d0s2 /dev/rdisk/disk13_p3 /dev/rdsk/c0t5d0s3

 

 

How can restore the volume groups.

 

Thanks

Aamir 

 

 

 

 

 

 

 

 

 

 

 

 

2 REPLIES
Patrick Wallek
Honored Contributor

Re: Volume group "/dev/oravg01" does not exist

vgcfgrestore will not help in this case since the VGs do not exist yet on the server.

 

What you must do is IMPORT hte previous VGs via the 'vgimport' command.  See the man pages for 'vgimport' for more details.

Torsten.
Acclaimed Contributor

Re: Volume group "/dev/oravg01" does not exist

>> After formating the server 11.31.

 

Did you cold install the server?

 

vgcfgrestore writes vg specific information to a (replaced) disk, but in your case you probably need to vgimport your VGs.

 

Did you create a map file before?

 

Consider to try vgscan in preview mode first.


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!