Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #197561

Re: BTRFS and debian

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: BTRFS and debian
Date Thu, 12 Jul 2018 20:00:01 +0200
Message-ID <waO2J-2GP-7@gated-at.bofh.it> (permalink)
References <w9IVs-5bn-3@gated-at.bofh.it> <w9RFo-1Lb-5@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Thu Jul 12 17:52:46 2018
Old-Return-Path <deblis@lionunicorn.co.uk>
X-Amavis-Spam-Status No, score=-7.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_FINANCE10=0.5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
X-Asg-Debug-ID 1531417949-05541365c73952900001-KlT975
X-Barracuda-Envelope-From deblis@lionunicorn.co.uk
X-Barracuda-Effective-Source-IP cloud11.unlimitedwebhosting.co.uk[149.255.60.164]
X-Barracuda-Apparent-Source-IP 149.255.60.164
X-Asg-Orig-Subj Re: BTRFS and debian
Reply-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.5.21 (2010-09-15)
X-Ppp-Message-ID <20180712175229.3714692.29075@cloud11.unlimitedwebhosting.co.uk>
X-Ppp-Vhost lionunicorn.co.uk
X-Barracuda-Connect cloud11.unlimitedwebhosting.co.uk[149.255.60.164]
X-Barracuda-Start-Time 1531417949
X-Barracuda-Encrypted ECDHE-RSA-AES256-GCM-SHA384
X-Barracuda-URL https://149.255.60.72:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size 2111
X-Barracuda-Brts-Status 1
X-Barracuda-Spam-Score 0.00
X-Barracuda-Spam-Status No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.0 tests=
X-Barracuda-Spam-Report Code version 3.2, rules version 3.2.3.53507 Rule breakdown below pts rule name description ---- ---------------------- --------------------------------------------------
X-Mailing-List <debian-user@lists.debian.org> archive/latest/737437
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20180712175219.GB6101@alum
Approved robomod@news.nic.it
Lines 52
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 12 Jul 2018 12:52:19 -0500
X-Original-Message-ID <20180712175219.GB6101@alum>
X-Original-References <982c295e-8e04-e5c6-6229-8bed3cc38bd0@mailbox.org> <f2ba44df-e472-eb01-db45-1109e1415d44@holgerdanske.com>
Xref csiph.com linux.debian.user:197561

Show key headers only | View raw


On Mon 09 Jul 2018 at 20:33:00 (-0700), David Christensen wrote:
> On 07/09/18 11:17, Ge wrote:
> >1. Whats the appropriate layout?
> >My current layout is:
> >
> >LVM VG Laptop-vg LV root 16.9GB Linux device mapper (linear)
> >#1	16.9GB	f	btrfs	/
> 
> I use 16 GiB SSD's and/or 16 GiB USB flash drives for system drives.
> I wipe and test them using the manufacturer's diagnostic tool before
> installing Debian, or just wipe them with dd(1) if I do not have a
> tool.  In the Debian Installer, I choose 'manual' for 'partitioning
> method', create a new partition table (MBR), and create three
> primary partitions:
> 
> 1   ~1 GiB btrfs mounted at /boot
> 2   ~2 GiB LUKS (random key) with swap
> 3  ~10 GiB LUKS (passphrase) with btrfs mounted at /
> 
> 10 GiB root is enough for single-user Xfce workstation (my bulk data
> is on a file server).

I'm not an LVM user so I live with my partitioning for years.
I would opine that 10GiB is rather risky for a root partition
(with /home separate). My smallest root partition, on an old
laptop that I've been using since 2009, is 15GiB (74.5 GiB drive).

I'm not a DE user, which might reduce usage a little, but /usr
alone ranges from 8.4GiB (jessie on that laptop) to 10.2GiB
(wheezy, as it happens, on a desktop). That's without giving
any consideration to /var and /tmp.

> >Should i make a different partition for /home/ ?
> 
> I don't -- I put my bulk data on a file server, including all e-mail
> attachments.  My home directory is ~1 GB.
> 
> 
> (If/when I want to travel with my laptop, I will need to figure out
> how to set up a VPN to my file server.)

I would find that rather risky, so I have a "proper" separate,
encrypted /home that ranges from 50GiB (laptop) to ~400GiB
(desktops)—basically, the rest of the drive, though one laptop
gives a fair amount of space over to a W10 installation.

Bear in mind that were you to make your root far too large, it's easy
enough to borrow some space by symlinking to, say, /var/local/myname
(for unencrypted, less sensitive material).

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

BTRFS and debian Ge <gpdsbe@mailbox.org> - 2018-07-09 20:20 +0200
  Re: BTRFS and debian Matthew Crews <mailinglists@mattcrews.com> - 2018-07-09 21:40 +0200
    Re: BTRFS and debian Ulf Volmer <u.volmer@u-v.de> - 2018-07-09 22:00 +0200
      Re: BTRFS and debian Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-07-09 23:00 +0200
        Re: BTRFS and debian Ulf Volmer <u.volmer@u-v.de> - 2018-07-09 23:10 +0200
      Re: BTRFS and debian Matthew Crews <mailinglists@mattcrews.com> - 2018-07-09 23:40 +0200
  Re: BTRFS and debian David Christensen <dpchrist@holgerdanske.com> - 2018-07-10 05:40 +0200
    Re: BTRFS and debian Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-07-11 20:40 +0200
      Re: BTRFS and debian David Christensen <dpchrist@holgerdanske.com> - 2018-07-12 05:10 +0200
        Re: BTRFS and debian Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-07-12 07:50 +0200
          Re: BTRFS and debian David Christensen <dpchrist@holgerdanske.com> - 2018-07-13 03:20 +0200
            Re: BTRFS and debian Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-07-14 00:40 +0200
              Re: BTRFS and debian David Christensen <dpchrist@holgerdanske.com> - 2018-07-14 03:00 +0200
                Re: BTRFS and debian Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-07-14 11:10 +0200
                Re: BTRFS and debian David Christensen <dpchrist@holgerdanske.com> - 2018-07-14 21:40 +0200
                Re: BTRFS and debian Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-07-14 23:10 +0200
            Re: BTRFS and debian Zenaan Harkness <zenaan@freedbms.net> - 2018-07-14 01:40 +0200
    Re: BTRFS and debian David Wright <deblis@lionunicorn.co.uk> - 2018-07-12 20:00 +0200
      Re: BTRFS and debian David Christensen <dpchrist@holgerdanske.com> - 2018-07-13 05:00 +0200
        Re: BTRFS and debian Dan Ritter <dsr@randomstring.org> - 2018-07-13 12:00 +0200
          Re: BTRFS and debian <tomas@tuxteam.de> - 2018-07-13 12:30 +0200
          Re: BTRFS and debian David Christensen <dpchrist@holgerdanske.com> - 2018-07-14 03:10 +0200
        Re: BTRFS and debian Zenaan Harkness <zenaan@freedbms.net> - 2018-07-14 01:40 +0200
          Re: BTRFS and debian David Christensen <dpchrist@holgerdanske.com> - 2018-07-14 03:10 +0200
            Re: BTRFS and debian Zenaan Harkness <zenaan@freedbms.net> - 2018-07-14 12:00 +0200
              Re: BTRFS and debian Reco <recoverym4n@gmail.com> - 2018-07-14 12:30 +0200
                Re: BTRFS and debian Zenaan Harkness <zenaan@freedbms.net> - 2018-07-14 12:40 +0200
              Wrapping lines, was Re: BTRFS and debian David Wright <deblis@lionunicorn.co.uk> - 2018-07-15 05:20 +0200
                Re: Wrapping lines, was Re: BTRFS and debian Zenaan Harkness <zenaan@freedbms.net> - 2018-07-15 05:30 +0200
                Re: Wrapping lines, was Re: BTRFS and debian Zenaan Harkness <zenaan@freedbms.net> - 2018-07-15 12:30 +0200
        Re: BTRFS and debian Zenaan Harkness <zenaan@freedbms.net> - 2018-07-14 11:40 +0200

csiph-web