How to create volume Snapshot and attach as Volume on Linux or Windows on ESA HPC
LEGACY ARTICLE
This article is marked as a legacy document and may not reflect the latest information. Please refer to the following articles:
To create a snapshot of a Volume:
Click Volumes tab in Horizon and choose “Create Snapshot” from dropdown menu.
Unmap disk in Windows VM, then in Horizon click on option “Manage Attachments” -> “Detach Volume”
It is possible to create snapshot of attached volume but if any data are written on it while creating snapshot, it might result in corrupted volume.
Convert snapshot into Volume - “Volume Snapshots” -> “Create Volume”.
Map new Volume in your Windows VM.
For Linux systems you may mount that newly created Volume and access the data, the filesystem is the same as on the original Volume.
For example, if the Volume has one partition and is attached as /dev/vdc, do
sudo mkdir /my_snapshot1 && sudo mount /dev/vdc1 /my_snapshot1