Attaching a snapshot (as an additional volume) to a Ceph-based VM
Visit the details page of your VM, click on the VM name, you will see the following screen and the attached disc. Click on the disc to go to the overview page.
Switch to the snapshots tab to view the snapshots created manually or automatically for this machine.
On the snapshot overview page, select the desired snapshot and create a volume from it.
Now assign the desired name for your volume in the next tab.
When the process is complete, you can attach the volume you just created on the overview page of your instances.
Your volume is now ready on the system, now you need to take a few more steps on the system.
Log into the system
- become root
make sure which is the system disc
- Display available system disk
- Disk mounten
mount /dev/sdb1 /mnt
- Volume unmounten
Attention, you must not be in the mount directory
- Detach data carrier at the machine
Instance overview -> desired instance -> "Detach volume".
Delete volume and if necessary manually created snapshot
Volume -> Detach volume -> Delete volume
If the volume was attached overnight, it may also have been backed up, in which case the snapshot created must be deleted before deleting the volume.