Skip to content

Add Filler field for XVA exported backups to improve deduplication of backups #6353

Open
@andrey-podko

Description

@andrey-podko

XVA begins from XML of metadata, this XML has random size and do a random shift from beginning of backup file to beginning of VM disks.
That means that disk blocks are not aligned with real blocks on storage, they are shifted
so attempt to do deduplication for these blocks will fail due this shift.
That is not so good if you store XVA backups on ZFS or XFS and you have tens of very similar VMs.

Could you add an option like --align-header-to=8KB(16KB.......1M) to xe vm-export ?
This could be something as simple as an extra field in XML that will be ignored on import but will give the required size of header.

And these so big alignments up to 1MB is not a joke! At least if you use ZFS on backup storage.
I got a best results on deduplication of backup with recordsize=256k ! I mean between multiple daily backups.
And would be very nice to see a normal deduplication inside one daily set to ;)

I would be happy to just send you a patch but OCAML.... unfortunately it makes it too complicated for me

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions