Test step
- Create and attach a volume (recommended volume size > 1Gi).
- Write some data into the file then calculate the SHA512 checksum of the volume block device.
- Create a backing image from the above volume. And wait for the 1st backing image file ready.
- Download the backing image to local via UI (Clicking button
Download
inOperation
list of the backing image). => Verify the downloaded file checksum is the same as the volume checksum & the backing image current checksum (whenExported Backing Image Type
is raw). - Create and attach the volume with the backing image. Wait for the attachment complete.
- Re-download the backing image to local. => Verify the downloaded file checksum still matches.
GitHub Issue: https://github.com/longhorn/longhorn/issues/3155