rickardnobel
Champion
Champion

Changed block tracking and Guest defrag?

Jump to solution

If I understand it correctly the Vmware Data Recovery uses changed block tracking to spot the differences inside the VMs for each backup.

How does this work together with guest operating system defrag tools? If there is a defragmentation job running each night, would that not "change" a lot of blocks by just moving them around?

My VMware blog: www.rickardnobel.se
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
jsykora
Enthusiast
Enthusiast

If for some reason you choose to defrag the VM using guest OS tools you will indeed change huge amounts of blocks. If you use the change block tracking to perform differential or incremental backups, they will be large.

Generally when your VMs sit on VMFS it's recommended not to defrag the guest OS.

View solution in original post

0 Kudos
4 Replies
jsykora
Enthusiast
Enthusiast

If for some reason you choose to defrag the VM using guest OS tools you will indeed change huge amounts of blocks. If you use the change block tracking to perform differential or incremental backups, they will be large.

Generally when your VMs sit on VMFS it's recommended not to defrag the guest OS.

0 Kudos
AndreTheGiant
Immortal
Immortal

As written, a lot of blocks will changes...

And if you have a thin disk, you will see this disk become more larger after the defrag!

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
cebomholt
Enthusiast
Enthusiast

Agree with others- typically not recommended to defrag a guest OS. It will inflate your thin disks- and I believe that storage vMotion will help fragmentation of the vmdk.

rickardnobel
Champion
Champion

Thanks for your replies.

My VMware blog: www.rickardnobel.se
0 Kudos