Am 08.11.2014 um 23:17 schrieb James:

> I'm trying to keep it as simple as possible (the old boot root swap 
> type of approach for btrfs is all I'm after for now. (simple).
> 
> I have several system to experiment on, so once I get it figured out,
> I'll try a more agressive set up. For now it's everything under
> /root/ with subvolumes created under /root partition ?
> 
> 
> /usr/local/  is the only thing I do special. The /home dir
> is just me. So I'm trying to keep this simple and get
> it working on 3 old boxes.. 

General rule(s) for subvolumes as I learned them:

* create them if you want to separate things logically

* use them if you want to use specific settings/parameters for specific
directories/subvols: for example compression, quotas ...

* use them if you want to use snapshots. A (btrfs-)snapshot is always
based on a subvolume so if you want to create snapshots for particular
areas you have to set them up as subvolumes in advance.

Splitting it into /boot, /, /home and maybe /distfiles (no compression
here ... ?) is a usual approach. Keeping it as simple as possible in the
start is a good idea. You can always add subvols later ... and move
things over ...


As I see the howto and the steps about booting:

http://wiki.gentoo.org/wiki/Btrfs_native_system_root#Embedding_an_initram_filesystem

I didn't do it that way but used dracut for the initrd ... the
ml-archives have some threads around learning this (combined with
systemd and LVM stuff back then I spent quite some time ...).

Canek's tool kerninst also helps here:

https://github.com/canek-pelaez/kerninst


Reply via email to