On Tue, Nov 08, 2011 at 11:00:42AM +0900, dima wrote: > On 11/08/2011 10:54 AM, Eric Griffith wrote: > >On 11/7/2011 8:52 PM, Fajar A. Nugraha wrote: > >>On Tue, Nov 8, 2011 at 8:06 AM, Eric Griffith<egriffit...@gmail.com> > >>wrote: > >>>Edit your > >>>fstab, remove the compress flag, reboot. Tell btrfs to rebalance the > >>>system, > >>>reboot again. And I -THINK- that'll decompress all the files > >> > >>I think the original question was how to force uncompressed mode, > >>whether specific to a file or to a whole filesystem, without having to > >>reboot :) > >> > >>AFAIK there's no way to do that. > >> > > > >Whoops! Misunderstood the question haha. Yeah, as far as decompressing > >just a single file; from what I've read, thats impossible. > > > Eric, Fajar, > Thanks. Understood. > > Yes, it is possible to remove the compress flag from fstab, reboot > and even do not do any defragmentation/rebalancing - just re-save > the file and it will be saved uncompressed. This works. But only > with reboot...
chattr -c on the file should work (followed by defrag or rewriting the file). I just retested and it seems to be broken right now. I'll track it down. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html