Re: Set nodatacow per file?

2012-02-13 Thread Dmitry Olenin
On 02/13/2012 10:51 PM, Roman Mamedov wrote: On Mon, 13 Feb 2012 22:42:23 +0900 dimadole...@parallels.com wrote: gcc -o /usr/local/bin/nocow nocow.c ln -sf /usr/local/bin/nocow /usr/local/bin/cow I don't seem to be able to 'unset' the NOCOW flag. Looking at the code I would guess that it

Re: How to remount btrfs without compression?

2011-11-09 Thread Dmitry Olenin
On 11/09/2011 04:48 PM, Lubos Kolouch wrote: Sorry for possibly OT question - when I have historical btrfs system mounted with zlib compression, can I remount it with lzo ? What will happen? Will the COW be broken and the files taking duplicate space? Or will the Universe explode and be

Re: How to remount btrfs without compression?

2011-11-09 Thread Dmitry Olenin
On 11/10/2011 03:57 PM, Lubos Kolouch wrote: Dmitry Olenin, Wed, 09 Nov 2011 17:03:39 +0900: On 11/09/2011 04:48 PM, Lubos Kolouch wrote: Sorry for possibly OT question - when I have historical btrfs system mounted with zlib compression, can I remount it with lzo ? What will happen