LVM Partition backup and restore - How?
by ddenial from LinuxQuestions.org on (#545V8)
Hello All
I'm installing fresh CentOS OS on a new hard disk. I want to take two LVM partitions that I'm currently using and restore them on that new disk. Following are my LVM Partitions:
Code:# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
kvm vgg -wi-ao---- 60.00g
rfs vgg -wi-ao---- 200.00g
swp vgg -wi-ao---- 8.00g
win vgg -wi-a----- 40.00gI want to backup win and kvm lvm partitions and restore them on the new disk.
How do I do that? Is dd a good idea?
Thanks


I'm installing fresh CentOS OS on a new hard disk. I want to take two LVM partitions that I'm currently using and restore them on that new disk. Following are my LVM Partitions:
Code:# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
kvm vgg -wi-ao---- 60.00g
rfs vgg -wi-ao---- 200.00g
swp vgg -wi-ao---- 8.00g
win vgg -wi-a----- 40.00gI want to backup win and kvm lvm partitions and restore them on the new disk.
How do I do that? Is dd a good idea?
Thanks