Re: Why OVA size increases after encryption?

Max Zettlmeißl <max-l0Wi/[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <CACjvM=cLgTbrkKsTX_bdsA7kBj-oOt2L_879=6pPHCsG2NL9qQ@mail.gmail.com>
On Tue, 10 Mar 2020 at 08:36, Ondrej Kozina <[email protected]> wrote:
>
> On 3/9/20 8:16 PM, Manish Upasani wrote:
> >
> > I am comparing the size of OVF after exporting the VM using OVFtool, or
> > others (doesn't make any difference). When I have no encryption, the VM
> > exports with *2.91G size*.
> >
> > If I try to export the same VM after encrypting the disk using dm-crypt,
> > LUKS its sized at *4.34G*.
>
> IIUC those formats are compressed for faster transfer.

I'm not familiar with the intricacies of the OVF, but the contained
disk images might also be sparse by default (which is very common for
VM images) and when encrypting their whole filesystem as it is done
with dm-crypt they can't remain sparse from an outside point of view.
_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.