On Dec 15, 2013, at 10:40 AM, Gene Czarcinski <gczarcin...@gmail.com> wrote:

> On 12/14/2013 01:43 PM, Chris Murphy wrote:
>> On Dec 14, 2013, at 2:57 AM, Gene Czarcinski <gczarcin...@gmail.com> wrote:
>>>  Since I run Fedora with anaconda I use kickstart installs and can easily 
>>> repeat an install since it included almost everything I want installed.  
>>> And then I have a post-install script I run to pickup additional stuff.
>> This is a bit of a hijack question, but does kickstart offer a way to mount 
>> Btrfs with compression option?
>> 
>> 
>> Chris Murphy
> Interesting; it does not "currently" but that sounds like it should be (RFE 
> time) an added option so that it would be in fstab from the start.  It may 
> not be that simple since if you specify compression for a subvolume, that 
> means that everything anaconda installs on the subvolume should be subjected 
> to compression and not just stuff written post-install.

It needs to be mounted with the option prior to installation, and also needs to 
be added to the fstab.
> 
> I do not currently use compression but I should give it a try.
> 
> Chris, since I know kickstart and you do not, I will BZ the RFE. BTW, is this 
> an option on the regular GUI install?

No, and I'm not finding it in any of the code for kickstart or anaconda GUI. My 
recollection is that if it was brought into the GUI it wasn't going to offer 
any choice of compression algorithm, it would use the Btrfs default. Currently 
that's zlib, which I think maybe isn't the best default choice because while it 
offers higher compression ratio over lzo, it's slower to compress and 
decompress. HDD space is cheap, the benefit of compression isn't so much saving 
space as it is to make r/w faster. In all of my tests LZO does this better. I 
*think* Snappy is better still than LZO, but that's not yet an option.

Chris Murphy--
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

Reply via email to