1827519 Members
2940 Online
109965 Solutions
New Discussion

LVM Problem

 
SOLVED
Go to solution
HAQBAHU
Occasional Contributor

LVM Problem

i have accidently deleted some conf and map files from /etc/lvmconf directory and my clsuter could not be run using standard way. it is giving errors. any way please ,to recover the files in /etc/lvmconf directory.

Thanks and Best Regards,
Adeel
3 REPLIES 3
Hasan  Atasoy
Honored Contributor
Solution

Re: LVM Problem

hi haqbahu ;

what kind of errors are you getting while starting the cluster or packages.

you can run "vgcfgbackup vgname " for each vg to create configuration backup in that directory.deleting this files shuld not effect cluster operations. that directory is for backup purposes. ( vgcfgrestore .. )

Hasan.
A. Clay Stephenson
Acclaimed Contributor

Re: LVM Problem

Try again; map files are only needed during a vgimport and the files in /etc/lvmconf are only needed to restore LVM meta-data during a vgcfgrestore for a disk replacement, for example.

You can rebuild the files by simply running vgcfgbackup /dev/vgxx --- if /dev/vgxx is activated.

What error messages are you seeing and precisely what commands are you trying to execute?
If it ain't broke, I can fix that.
HAQBAHU
Occasional Contributor

Re: LVM Problem

thanks brother

i will check out your commands tomorrow on the system and then let you know the results. our system is basically regional SAP production system. cluster is configured on db node and files deleted from the db node of the cluster. i rememeber some map and some conf are deleted from /etc/lvmconf directory on db node of cluster.

regards
Adeel