QMRestore Expands Sparse File - Issue

  • Thread starter Thread starter rsznol
  • Start date Start date
R

rsznol

Guest
hi:

I backed up my KVM VMs using VZDUMP.
This was successful.
The VM disk size is 100GB . But the sparse size was just over 6 GBs.
The backup TAR file is also about 6GB in size.

But when I run the QMRestore command, the sparse image is expanded back to 100GB in size.
I do not want to expand out the sparse file. I would like the restore to retain the original sparse size of 6GB as was original prior to the restore.

I do not see any options for the QMRestore specifically for this.

Can you tell me what can be done to retain the original small sparse size?

Thanks
 
as suggested by dietmar,
Code:
ls (-a, -la, whatever)
will always display the theoretical/maximum size of a sparse file.
to see the actual size of a sparse file you can use
Code:
du [-h]
 
Oh, just noticed that sparse files does not work with LZO compression. We removed that in order to get better performances.

So you need to wait for 2.3 - the issue is fixed in that release.