From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Gates Subject: RE: Set nodatacow per file? Date: Wed, 29 Feb 2012 09:09:28 -0600 Message-ID: References: <4F38B8F0.5020506@yahoo.com> <4F38BE53.4080204@parallels.com>,<20120213141040.GG15350@twin.jikos.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: To: Return-path: In-Reply-To: <20120213141040.GG15350@twin.jikos.cz> List-ID: > > Actually it is possible. Check out David's response to my question from > > some time ago: > > http://permalink.gmane.org/gmane.comp.file-systems.btrfs/14227 > > this was a quick aid, please see attached file for an updated tool to set > the file flags, now added 'z' for NOCOMPRESS flag, and supports chattr > syntax plus all of the standard file flags. > > Setting and unsetting nocow is done like 'fileflags +C file' or -C for > unseting. Without any + or - options it prints current state. I get the following errors when running fileflags on large (>2GB) database files: open(): No such file or directory open(): Value too large for defined data type