Help creating image from LVM
- by jackhab
I need to duplicate CentOS hard drive image for multiple stations. The HD has the following layout:
Disk /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 250GB 250GB primary lvm
I saved /dev/sdb1 to file with fsarchiver but for sdb2 I get:
/fsarchiver savefs an2.fsa /dev/sdb2
oper_save.c#1006,filesystem_mount_partition(): can't detect and mount filesystem of partition [/dev/sdb2], cannot continue.
removed an2.fsa
Although fsarchiver probe simple correctly detects sdb2 as LVM2_member.
Is fsarchiver correct tool for this job? What's wrong?
I'm on Ubuntu 9.1 with fsarchiver 0.6.8 and lvm tools installed.
Thanks.