1753706 Members
4651 Online
108799 Solutions
New Discussion юеВ

Re: lvmconf

 
SOLVED
Go to solution
A.G.M. Velthof
Valued Contributor

lvmconf

Hello All,
Do I need to keep the *conf.old files in /etc/lvmconf?
Or can I just remove them. I need to cleanup a little.
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: lvmconf

I believe you should have one of them for each of your VGs, however, if they aren't very recent, then there is little possibility that they might be needed and should be safe to remove.


Pete

Pete
AwadheshPandey
Honored Contributor

Re: lvmconf

when you are modifing any vg info, ie. lvextend, lvcreate, lvremove etc, the current configuration of volume group used to save in vgxx.conf.old.
visit the link below.
http://docs.hp.com/en/B2355-60130/vgmodify.1M.html
http://docs.hp.com/en/5991-6481/ch03s03.html
http://docs.hp.com/en/5991-6481/5991-6481.pdf
It's kind of fun to do the impossible
A.G.M. Velthof
Valued Contributor

Re: lvmconf

Thanks for the quick reply
tkc
Esteemed Contributor

Re: lvmconf

check the date of those config files. if it's been too old, you may want to run a vgcfgbackup to backup the existing lvm config. refer to :

http://docs.hp.com/en/B2355-60130/vgcfgbackup.1M.html
Aneesh Mohan
Honored Contributor

Re: lvmconf

Its really better to keep the conf file ,while replacing any disk it may help you to do restore the vgstructure on the that.

You can save the conf file to other place also using vgcfgbackup.

#vgcfgbackup -f /tmp/vg00.conf vg00
Volume Group configuration for /dev/vg00 has been saved in /tmp/vg00.conf

Aneesh