Comprehensive data protection for all workloads
Post Reply
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Full back of a VM, VBK size and free space in VM

Post by lightsout »

My Veeam server is running on 2012 R2, and is using Microsoft deduplication for backups. So inline dedup is on for my jobs, compression is off and I'm using the LAN target. This is v7 patch 4 version.

I'm backing a 2012 R2 file server, which is 4TB VM in total size. This also has deduplication on! :) What surprises me, is that VBK that this job created (only VM in the job) is 4TB in size too. Yet the VM, has ~1.5TB of free space spread out over several disks. I'm using an application aware backup too in Veeam for this server.

So my question is, why is the VBK so large? Isn't it meant to skip the free space?

Thanks.
dellock6
VeeaMVP
Posts: 6166
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Full back of a VM, VBK size and free space in VM

Post by dellock6 »

double deduplication of Windows 2012 R2 is not a good practice, the changed blocks of the deduplicated VM are going to be too many, thus impacting the performances and the size of the backup. If you need to keep the guest OS deduplication on, I'd suggest to disable the one on the Veeam server. Double processing duties with no advantage.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Re: Full back of a VM, VBK size and free space in VM

Post by lightsout »

I agree it isn't ideal, but I don't see the harm. The file server is reduced greatly in physical disk usage by using deduplication. Deduplication does an excellent job in Veeam for the backups. Maybe not for this VM, but for the others I'm sure it does.

Regardless of double deduplication, I don't see why a 4TB VM with 2.5TB disk usage should generate a 4TB VM for a full backup. The change logs the deduplication causes won't be a problem for a full backup after all I'd have thought.
chrisdearden
Veteran
Posts: 1531
Liked: 226 times
Joined: Jul 21, 2010 9:47 am
Full Name: Chris Dearden
Contact:

Re: Full back of a VM, VBK size and free space in VM

Post by chrisdearden »

Free space isn't nessesarily zero'd blocks. While windows may mark them as free, of they are a used block on the virtual disk, we will back it up.
veremin
Product Manager
Posts: 20409
Liked: 2299 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Full back of a VM, VBK size and free space in VM

Post by veremin »

Most likely, the situation is related to dirty blocks being present inside operating system. Thanks.
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Re: Full back of a VM, VBK size and free space in VM

Post by lightsout »

I'm sure that is it. I was hoping the VSS would help the situation, but when I thought about it more, I'm not surprised it doesn't.

So I'll work on sdelete then. :)

I also have a different option. I have, for better or worse, have Condusiv (aka Diskeeper) V-Locity installed for virtual machine optimization. One thing it can do is zero out the disk when it optimizes the file. Whilst this doesn't do what sdelete does, it means it does help keep NTFS clean, and it does so without filling up the disk like sdelete does. It can also just write zeros to all slack space too without writing a file.
dellock6
VeeaMVP
Posts: 6166
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Full back of a VM, VBK size and free space in VM

Post by dellock6 »

Be careful, in both situations those cleaned blocks will be freed from an OS perspective, but still marked as modified at the CBT layer. We suggest usually to run a full backup after an sdelete (or like) operation so you can then beenfit of the reduced number of used blocks.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Re: Full back of a VM, VBK size and free space in VM

Post by lightsout »

Yeah, I see that. On the tests I'm running, I'm suddenly seeing a much higher deduplicate rate on those jobs!
Post Reply

Who is online

Users browsing this forum: Bing [Bot], elenalad, looney_pantz, orb, Semrush [Bot] and 293 guests