From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8D9FB138825 for ; Sun, 9 Nov 2014 13:09:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06386E0A61; Sun, 9 Nov 2014 13:09:48 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7DDDE08A0 for ; Sun, 9 Nov 2014 13:09:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id DC367123CE for ; Sun, 9 Nov 2014 14:09:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1415538583; bh=cNFxR/5cJ3znsRysHDyhGeH3RnLaNe9I/R5sdz3NI5s=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=gUomzFWm+lQFfYHFRiKjoKHjm8PTc/jXTYKi/Bijc5PvA0u8dtrLFnQ9v7BY33loh Xu1DsChCH2zPHFOq6qWxDRzaumf/6jsnBe0oNYh21LoH8C4Ebw3TM6ioKfmibUGn+n virCGdiggR0h5umplTfk3mGETk6HX9Un8nwbYMfc= Received: from postler.lichtfels.com ([127.0.0.1]) by localhost (postler.lichtfels.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 00667-01 for ; Sun, 9 Nov 2014 14:09:42 +0100 (CET) Received: from hiro.oops.intern (mail.oops.co.at [213.129.238.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by postler.lichtfels.com (Postfix) with ESMTPSA id E2C38123C9 for ; Sun, 9 Nov 2014 14:09:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1415538582; bh=cNFxR/5cJ3znsRysHDyhGeH3RnLaNe9I/R5sdz3NI5s=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=TsNLADrckUe5qLSIjiXnWN5bDnxOpF3Mr0KgLfMKu0uW+dP+xf09ikSk9nhuHMdr2 MppCQET/rZUGS4zIRAIZX8Ki9UVYSQt8lGwpkxVYR/7kzZ1V0Qveke/Fk6pjCySfhM d6bLUGXoa69Qfv8R6OdLN0eBLCU7EYcTcrSUHYcY= Message-ID: <545F6794.9060105@xunil.at> Date: Sun, 09 Nov 2014 14:09:40 +0100 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: btrfs and gcc 4.9 References: <545E8608.7030605@xunil.at> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.2c X-Archives-Salt: 6b1a5e1b-0a4b-46a0-a931-6483857ff143 X-Archives-Hash: 71d934affa9f7cfd20125d25847eb11c 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