From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Shriramana Sharma <samjnaa@gmail.com>,
dsterba@suse.cz, Chris Murphy <lists@colorremedies.com>,
linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Moving an entire subvol?
Date: Tue, 02 Dec 2014 16:13:21 -0500 [thread overview]
Message-ID: <547E2B71.8050606@gmail.com> (raw)
In-Reply-To: <CAH-HCWVubkp+viAEVqGoJFxJ_t1chTVC08xm6A15ucosqbWqxQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]
On 2014-12-02 10:11, Shriramana Sharma wrote:
> On Tue, Dec 2, 2014 at 6:58 PM, David Sterba <dsterba@suse.cz> wrote:
>>
>> A subvolume is also a snapshotting barrier, so it's convenient to create
>> subvolumes in well-known paths that contain data that should not be
>> rolled back (/var/log, /srv, bootloader).
>
> Hi David -- a real honour to meet one of the core Btrfs/SuSE (heh,
> when that was the spelling!) guys!
>
> That makes sense. Is there anywhere that the "official" SuSE
> recommended subvol layout is mentioned that I can refer to without
> having to start up an installer? (I currently chose ext4 for / for
> other reasons so I can't refer to my layout.)
>
> I am now reading a SuSECon 2013 presentation by Nyers and Schnell but
> they are very generic about the recommendations.
>
Here's my approach to things:
In the top level of the btrfs filesystem I use for /, I have a subvolume
called /root, This is what get's mount on /. I also have a separate
subvolume called /home for the home directories when I have those on the
same FS. I place /boot on an entirely separate filesystem because I use
a bunch of mount options there that would break or slow down other
filesystems (most notably, noexec, nosuid, nodev, and sync). Within
both /home and /root, I use a handful of subvolumes to control what gets
saved in a snapshot, the most notable examples being /var//log,
/usr/portage, and /home/austin/dropbox.
As far as snapshots go, I take a snapshot of /root every time I boot,
and keep the past 2 days worth, take a snapshot of /home hourly, and
keep a weeks worth, and do a snapshot of both when I generate a system
backup. I generally don't do snapshots of /boot, as I keep around the
previous few kernel versions anyway, and mark things there as immutable
so that I can't accidentally mess them up.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2455 bytes --]
next prev parent reply other threads:[~2014-12-02 21:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-30 3:31 Moving an entire subvol? Shriramana Sharma
2014-11-30 4:21 ` Marc MERLIN
2014-11-30 10:27 ` Shriramana Sharma
2014-12-01 0:10 ` Marc MERLIN
2014-12-01 0:54 ` Chris Murphy
2014-12-02 3:21 ` Shriramana Sharma
2014-12-02 8:34 ` Hugo Mills
2014-12-03 2:32 ` Shriramana Sharma
2014-12-03 8:37 ` Hugo Mills
2014-12-02 8:50 ` Duncan
2014-12-02 13:28 ` David Sterba
2014-12-02 15:11 ` Shriramana Sharma
2014-12-02 20:30 ` Robert White
2014-12-02 21:13 ` Austin S Hemmelgarn [this message]
2014-12-03 2:33 ` Shriramana Sharma
2014-12-05 17:34 ` David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=547E2B71.8050606@gmail.com \
--to=ahferroin7@gmail.com \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.com \
--cc=samjnaa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox