sureshanaparti commented on PR #9270: URL: https://github.com/apache/cloudstack/pull/9270#issuecomment-2718180396
Hi @JoaoJandre Performed my earlier tests, seems end of chain set for full snapshots is fixed now. Create & restore snapshot operations works fine with normal/full & incremental snapshots. Noticed incremental snapshots taking more physical size as earlier (you mentioned [here](https://github.com/apache/cloudstack/pull/9270#issuecomment-2334007857), these are the extra bytes to store the metadata, but it varies - please check/confirm). ``` Snapshot physical size diff (incremental - full): (ROOT-3-incr-file3 - ROOT-3-file3) = (2854486016 - 1694826496) = 1159659520 (ROOT-3-incr-file14 - ROOT-3-file14) = (6072369152 - 1529544704) = 4542824448 (DATA-3-incr-file3 - DATA-3-file3) = (1168048128 - 24379392) = 1143668736 (DATA-3-incr-file14 - DATA-3-file14) = (4630446080 - 85721088) = 4544724992 ``` <img width="1159" alt="full-and-incr-snapshot-records-new" src="https://github.com/user-attachments/assets/3465f8ad-7c2a-4e57-9847-e08897486221" /> Note: A file added with 300MB for each snapshot taken. Incremental snapshots with _incr_ name are taken with _kvm.incremental.snapshot_ true, and _snapshot.delta.max_ set to 3. Disks/files details from the VM below. ``` [root@testvm01 ~]# fdisk -l Disk /dev/vda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/vda1 * 1 13 104391 83 Linux /dev/vda2 14 1044 8281507+ 8e Linux LVM Disk /dev/vdb: 5368 MB, 5368709120 bytes 16 heads, 63 sectors/track, 10402 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/vdb1 1 10402 5242576+ 83 Linux [root@testvm01 ~]# ls -lrt total 4305152 -rw-r--r-- 1 root root 0 Jun 10 2010 install.log.syslog -rw-r--r-- 1 root root 22433 Jun 10 2010 install.log -rw------- 1 root root 1125 Jun 10 2010 anaconda-ks.cfg -rw-r--r-- 1 root root 314572800 Mar 12 09:05 root-file1 -rw-r--r-- 1 root root 314572800 Mar 12 09:07 root-file2 -rw-r--r-- 1 root root 314572800 Mar 12 09:08 root-file3 -rw-r--r-- 1 root root 314572800 Mar 12 09:12 root-file4 -rw-r--r-- 1 root root 314572800 Mar 12 09:14 root-file5 -rw-r--r-- 1 root root 314572800 Mar 12 09:16 root-file6 -rw-r--r-- 1 root root 314572800 Mar 12 09:19 root-file7 -rw-r--r-- 1 root root 314572800 Mar 12 09:21 root-file8 -rw-r--r-- 1 root root 314572800 Mar 12 09:22 root-file9 -rw-r--r-- 1 root root 314572800 Mar 12 09:24 root-file10 -rw-r--r-- 1 root root 314572800 Mar 12 09:29 root-file11 -rw-r--r-- 1 root root 314572800 Mar 12 09:30 root-file12 -rw-r--r-- 1 root root 314572800 Mar 12 09:32 root-file13 -rw-r--r-- 1 root root 314572800 Mar 12 09:36 root-file14 [root@testvm01 ~]# [root@testvm01 ~]# mount /dev/vdb1 /mnt [root@testvm01 ~]# cd /mnt [root@testvm01 mnt]# ls -lrt total 4305128 drwx------ 2 root root 16384 Mar 12 09:01 lost+found -rw-r--r-- 1 root root 314572800 Mar 12 09:05 data-file1 -rw-r--r-- 1 root root 314572800 Mar 12 09:07 data-file2 -rw-r--r-- 1 root root 314572800 Mar 12 09:09 data-file3 -rw-r--r-- 1 root root 314572800 Mar 12 09:12 data-file4 -rw-r--r-- 1 root root 314572800 Mar 12 09:15 data-file5 -rw-r--r-- 1 root root 314572800 Mar 12 09:17 data-file6 -rw-r--r-- 1 root root 314572800 Mar 12 09:20 data-file7 -rw-r--r-- 1 root root 314572800 Mar 12 09:21 data-file8 -rw-r--r-- 1 root root 314572800 Mar 12 09:22 data-file9 -rw-r--r-- 1 root root 314572800 Mar 12 09:24 data-file10 -rw-r--r-- 1 root root 314572800 Mar 12 09:29 data-file11 -rw-r--r-- 1 root root 314572800 Mar 12 09:31 data-file12 -rw-r--r-- 1 root root 314572800 Mar 12 09:33 data-file13 -rw-r--r-- 1 root root 314572800 Mar 12 09:36 data-file14 [root@testvm01 mnt]# ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org