Operating System - HP-UX
1753481 Members
4125 Online
108794 Solutions
New Discussion юеВ

On what situations we restore the vgconfiguration using vgcfgrestore ?

 
UnixT
Frequent Advisor

On what situations we restore the vgconfiguration using vgcfgrestore ?

On what situations we restore the vgconfiguration using vgcfgrestore ?
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: On what situations we restore the vgconfiguration using vgcfgrestore ?

Hi:

You would use 'vgcfgrestore' during physical disk replacement. This restores the volume group's LVM metadata (headers) to a volume. You can also use the command to display volume group information.

Have a look at the manpages and at the white paper on disk restoration, below:

http://www.docs.hp.com/en/B3921-60631/vgcfgrestore.1M.html

http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

The companion utility to 'vgcfgrestore' is 'vgcfgbackup'. This later command is run by default any time a LVM change is performed (e.g. 'vgextend', 'vgreduce', 'lvcreate', etc.). It is also run automatically whenever you perform an Ignite backup.

Regards!

...JRF...
Sajjad Sahir
Honored Contributor

Re: On what situations we restore the vgconfiguration using vgcfgrestore ?

vgcfgbackup for bakcup lvm configuration
and vgcfgrestore for restore backedup lvm configuration.
Kapil Jha
Honored Contributor

Re: On what situations we restore the vgconfiguration using vgcfgrestore ?

first what vgcgfrestore is doing???
It doin nothing except saving the current lvm configuration.So whenever there is need to put this configuration back on server we use it.
It can be disk replacement.
It can be disk curruption.
Some Lvm error...and there can be n situations to use it.
Not some fixed issues.

BR,
Kapil
I am in this small bowl, I wane see the real world......