[SOLVED] are the "chunk" files compressed?

Feb 20, 2021
88
10
13
what i read about it in several posts: yes. But when looking into it:

i.e.:
Code:
cd .chunks/683c

for i in *; do echo $i; hexdump -C $i | head; done


some of the data seems uncompressed, as i can read plain data!


are there exceptions or are all chunks uncompressed and only the filesystem is compressed?

also we converted the datatstore from zfs to ext4 and noticed that it uses a lot more disk space. I guess thats because zfs was compressed?

when reading the source code, it seems there are uncompressed chunks:

https://git.proxmox.com/?p=proxmox-...=80ab05e40c45dbbd9c435253d923161e430e577e#l15
 
Last edited:
All chunks are compressed, unless compression leads to bigger files. In that case we store uncompressed because that is smaller.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!