1854708 Members
18993 Online
104102 Solutions
New Discussion

Re: lvm copy

 
Kgreen
Advisor

lvm copy

Hi experts,

I have about 100 systems. Now the lvm characteristics of each environment is different. How can I have the lvmsnapshot on one system and get them created with the same feature on others.Something like the vgimport ...
2 REPLIES 2
Peter Godron
Honored Contributor

Re: lvm copy

Hi,
not entirely sure I understand, but doesn't vgexport/vgimport also include the required lvol info you want?
Otherwise you could lvdisplay the info and build a create script (lvcreate...) with awk.
Sorry if I mis-understood the question.
Kgreen
Advisor

Re: lvm copy

No problem. what I meant was its tough to do lvdisplay and create scripts as I have many volume groups with lvs having different characteristics , some have strict some are not, etc etc. So when I create the vg on the new system, I wanted something that could replicate the lvs on the other fresh system.