nocow and compression

2014-10-27 Thread Marc Dietrich
Hi, I created a filesystem and mounted it with compress-force=lzo. Then I did: # df -h . Filesystem Size Used Avail Use% Mounted on /dev/loop0 100M 4.1M 96M 5% /mnt # yes Hello World | dd of=/mnt/test iflag=fullblock bs=1M count=20 status=none yes: standard output: Broken pipe

Re: nocow and compression

2014-10-27 Thread Marc Dietrich
Am Montag, 27. Oktober 2014, 13:59:24 schrieb Swâmi Petaramesh: Le lundi 27 octobre 2014, 13:56:07 Marc Dietrich a écrit : oops, no compression. Is this intended? « Compression does not work for NOCOW files » is clearly stated in

Re: nocow and compression

2014-10-27 Thread Swâmi Petaramesh
As far as I understood, NOCOW means that modified parts of files be rewritten into place, whereas compression causes compressed blocks of variable sizes to be created (depending upon their compression ratio). Changing a block in a file will most probably change its compressed size, and then you