cc-snapshot takes snapshots of baremetal instances on the Chameleon testbed.
The script requires the following dependencies:
- Ubuntu or CentOS system
- Baremetal instance
Use this script from a Chameleon baremetal instance. To snapshot a baremetal instance, when logged into the instance via SSH, run cc-snapshot with the following command:
sudo cc-snapshot [snapshot_name]
You can optionally specify a snapshot name. If no argument is present, the snapshot name is set to the instance hostname followed by a universally unique identifier.
cc-snapshot will ask for your Chameleon password, and after a few minutes, a snapshot will be uploaded in the image repository of the instance's site (UC or TACC).
virt-customize: error: libguestfs error: lvs: lvm lvs --help: Invalid units specification
- Problem: the LVM2 package is incompatible with libguestfs (see https://bugzilla.redhat.com/show_bug.cgi?id=1475018)
- Resolution: update the lvm2 package. On CentOS:
sudo yum makecache sudo yum update lvm2
cc-snapshot supports the following operating systems:
- CentOS Linux
- CentOS Stream
- All Ubuntu distributions
Note: The script is also designed to work with non-UEFI boot installations of Ubuntu.