-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COW datastore tracked by CBT when transition-to-snapshot #364
Comments
Hi, thanks for kind words. |
You're right, CBT is known for VMware CBT feature.
As i understand and i've already tested, all changed blocks are tracked and a flag is set for each disk sector where a block is altered in 'index' COW file. What i've do is this:
At this stage, when i read /.datto0 cow index, i find more than 200.000 sectors changed. My new file of 100Mb should only have changed 25.600 (100Mb * 1024 * 1024 / 4096) sectors on my device. |
Hello,
First at all, thanks for you work. Your solution runs very well.
My aim goal is to track all block changes with the CBT feature. For that, i use "transition-to-incremental".
Without any changes, when i "transition-to-snapshot", i get 234340 block changes. It's huge considering the change rate near to 0.
After some research, i guest it's coming from cow datastore which size is 10% of the device by default. For my case, a size of 957349888.
So, 234340 * 4096 = 959856640 seems to be near of my cow file size.
For this reason, i would like to know if there is a way to ignore those block changes ?
The cow datastore is ephemeral and in my opinion, should be ignored.
Without this, each time we use update-img, we'll synchronize at least the cow datastore.
Thanks in advance.
The text was updated successfully, but these errors were encountered: