[SOLVED] are the "chunk" files compressed?

abma

Active Member
Feb 20, 2021
89
11
28
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.