Hi,
I had a problem using clonezilla-live with DRBL. The version installed was clonezilla-live-20150608-vivid-amd64.iso. I followed the instructions at http://clonezilla.org/clonezilla-SE/use_clonezilla_live_in_drbl.php. My first issue was that it wouldn't image any LVM logical volumes. I found the following post which fixed that initially: https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/075d3f5a/. I applied the last patch, and that worked except for logical volumes with snapshots, so I added to that patch. I've attached a patch here that includes both. Specifically, in my CentOS 7 environment, I fix DRBL by doing the following:
mount /tftpboot/node_root/clonezilla-live/live/filesystem.squashfs /mnt
cd /mnt
tar -cvf ../filesystem.tar .
cd /
umount /mnt
cd /mnt
tar -vxf ../filesystem.tar
cd usr/share/drbl/sbin
- Copy the ocs-functions.patch file to this directory.
patch -p0 <ocs-functions.patch
cd /mnt
mksquashfs . ../filesystem.squashfs
cd /tftpboot/node_root/clonezilla-live/live
mv filesystem.squashfs filesystem.squashfs.orig
mv /filesystem.squashfs .
rm /filesystem.tar
This might not be the best way to fix that, and perhaps it has already been fixed. Being able to image LVM logical volumes with and without snapshots is very important to what I'm doing, so I wanted to file a ticket just in case. I'm sure those extra comments in my patch aren't needed, but I had added those for myself. Thank you.
Thanks. This patch has been applied in clonezilla 3.16.24.
Steven.