we want to use Clonezilla for creating images of systems which are using LVM for Disk Management.
The first disk has a Partition table and therefore sda1-2 are available, however the second disk is directly partitioned as a physical volume without a partition table.
Backing of the first disk works flawlessly but backing and restoring the second disk does not work. When running in ocs-sr from the shell the following error appears when running.
ocs-sr savedisk <diskname> sdb
Selected device [sdb] found!
The data partition to be saved:
The swap partition to be saved:
Activating the partition info in /proc... done!
<red>No input device!</red>
Running 'saveparts' results in the following error:
ocs-sr saveparts sdb
<red>The partition table in this disk is illegal/invalid: /dev/sdb
It's not supported by parted. Parted is used in Clonezilla to parse the filesystem in the partition table. The partition table is detected as WRONG by parted!</red>
The error messages from parted are:
Error: /dev/vdb: unrecognized disk label.********.
<orange>If you contine, something strange might happen (e.g. dd is used, not partimage or ntfsclone, to save the supported file system), and the disk image you saved maybe no be complete!</orange>
Are you sure you want to continue? (y/N) y
Very bad choice.
OK, let's do it!
Reading partition table of /dev/sdb....RETVAL=0
<red>Unknown partition table format on disk /dev/sdb</red>
How to reproduce:
create a virtual machine with one additional disk which will be partitoned as follows:
vgcreate lv1_vg1 /dev/sdb
lvcreate lv1_vg1 -l 100%FREE -n data
mount /dev/lv1_vg1/data /mnt
truncate --size 1MB /mnt/1mb.blob
I tested with the most current version of Clonezilla Debian as well as Ubuntu.
Is there a way to backup this partition without the need for a manual workaround?
Log in to post a comment.