Skip to contentSkip to conversation

Checking the change in lv layout

linux-lvm sachin 2 participants 2 messages Feb 21, 2004

lore
Share & tools
lore

sachin

author
#0 lore raw

Hi Every one

I am using lvm 1.0.3
i am developing a program which stores the configuration info about the lv.
Is there is any way so that i can check the current lv configuration is same as the previous one which i have stored . lv may be a snapshot volume.

I am more intrested in checking wether the disk layout of that lv changes or not also what should i assign as id to that lv for future comparision of the lv configuration

Thanks in Advance

SachiN_

#1 lore raw
Quoted 3 lines · sachin

I am more intrested in checking wether the disk layout of that lv changes or not also what should i assign as id to that lv for future comparision of the lv configuration

Look at LVM2's text file backups (vgcfgbackup).

You can use that safely to *read* LVM1 on-disk metadata without device-mapper in your kernel if you configure --disable-devmapper.

Alasdair