Snapshots and Clones
With snapshots and clones, you can leverage fast and thin point-in-time snapshots/clones of Lightbits volumes. A snapshot can be taken from a volume, and a volume can be created from a snapshot (aka a clone).
Creating the Initial Volume on Lightbits
To create a sample volume:
Get the cluster details for attaching the volume to the client.
Connect to the volume from a client to see the SSD device.
Connect to the volume to attach the SSD device to the client (this can be executed with a simple ‘for’ loop as well).
Check volumes are mapped
Sample Output
Mount the SSD device to a mounting point on the client.
Make sure the e2fsprogs package is installed. If not: yum install e2fsprogs.
Put some data into the mounted SSD disk.
Create a file using the dd command:
From the Lightbits server, create a snapshot of the initial volume.
Put more data from the client side to the mounted disk.
Create a clone from the snapshot that was created.
Connect to the clone and verify that it holds only the initial data.
If the same ACL is used, the cloned SSD disk should be attached automatically on the client.
Mount the clone to a different directory
Check mounts
See that only the original sample file exists before the snapshot was taken
Roll back a volume to the snapshot, and verify that its contents now only have the file that was created before taking the snapshot.
The rollback operation takes a volume and restores it back to a snapshot state (data + md). It is recommended to either remove active mounts, detach the volume, or flush caches before performing this operation.
The process should be as follows:
Stop process/es that use the volume.
Unmount FS create on top of the volume; e.g., for mount point /mnt/volumetorollback.a. Unmount /mnt/volumetorollback.
Perform rollback via lbcli.
Mount the volume: mount /mnt/volumetorollback.
Unmount the device from the mount point:
Check the UUID of the snapshot, and of the volume you would like to roll back:
To roll back the volume to the snapshot, run:
Mount the volume again from the client side, and verify that only one file is there:
Create a snapshot-policy:
List snapshot-policies:
Get snapshot-policies:
Rollback volume:
Delete snapshots/snapshot-policy:
© 2026 Lightbits Labs™