1827293 Members
2609 Online
109717 Solutions
New Discussion

lvm configuration files

 
SOLVED
Go to solution
gany59
Regular Advisor

lvm configuration files

Hi,

I have a 500gb lun to extend the volume group, and need to extend 2 file systems in that same VG.so i need to know what are the configuration files need to take backup, because if any thing goes wrong,i need to roll back the newone.

what are the configuration files for the lvm in hp-ux ,

Thanks in advance
4 REPLIES 4
Kapil Jha
Honored Contributor
Solution

Re: lvm configuration files

Hi,

you can use vgcfgbackup.
and can save /etc/lvmtab.

If something goes wrong you may just have to removed the LUNs and you configuration would be fine as before, provided you have not increased the file system.

Reducing the filesystem may resut in data loss so its better to take backup of data in case you have to revert the changes.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
gany59
Regular Advisor

Re: lvm configuration files

Hi kapil,

Pls tell me , is there anyother configuration files is there for the LVM in hp-unix. I am performing this kind of task for the first time
Kapil Jha
Honored Contributor

Re: lvm configuration files

you can save
ls -lrt|grep lvm
lr-xr--r-T 1 root sys 20 Jul 12 2008 lvmmigrate -> /usr/sbin/lvmmigrate
-rw-rw-r-- 1 bin bin 1423 Jul 12 2008 lvmrc
-r-------- 1 root sys 44268 Jul 17 2008 lvmtab.old
-rw------- 1 root sys 31932 Dec 24 2008 lvmtab.23.12.08
-rw------- 1 root sys 102890 Oct 28 03:35 lvmtab
drwxr-xr-x 2 root root 8192 Nov 11 22:58 lvmconf


files and directories from /etc/

Anyways whenever u would do any change in lvm its configuration is saved in /etc/lvmconf file.

And the activity you are doing it very simple nothing bad would happen.
[for worst case keep backup ready]

BR,
Kapil+
I am in this small bowl, I wane see the real world......
R.K. #
Honored Contributor

Re: lvm configuration files

Hi Gany

/etc/lvmtab
/etc/lvmconf/* << This will have map files and VG config files

And before taking these backup, just check the TIMESTAMP of above files, only to make sure that they are updates ones.

And as said for the worst have backup ready.

Regds..
Don't fix what ain't broke