Troubleshooting Disk Bitmap Count Discrepancy in Live VM Environment

vijay98

New Member
Mar 22, 2024
2
0
1
I'm currently scripting a process involving the creation of a disk bitmap using QMP commands. Initially, the bitmap count is set at 131072. However, after adding or modifying data on the disk, the count doesn't increase.

To troubleshoot this issue, I conducted a similar process with the VM powered off:

1. First, I powered off the VM and created the bitmap using the "block-dirty-bitmap-add" QMP command.
2. Then, I added files/folders after powering on the VM.
3. Finally, I powered off the VM again and checked the bitmap info using the "query-block" QMP command.

Following this sequence, the bitmap count increased as expected.

I need to understand why the bitmap count didn't increase for the live VM.