public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Overfull Filesystems how to solve?
Date: Sun, 19 Jan 2020 18:16:25 +0000	[thread overview]
Message-ID: <58A04326-47F0-48E6-841A-3C1F55C2DEAD@ipfire.org> (raw)
In-Reply-To: <20200118103059.GB22878@tarvainen.info>

[-- Attachment #1: Type: text/plain, Size: 1886 bytes --]

Hey Tapani,

> On 18 Jan 2020, at 10:30, Tapani Tarvainen <ipfire(a)tapanitarvainen.fi> wrote:
> 
> On Sat, Jan 18, 2020 at 10:57:08AM +0100, Jonatan Schlag (jonatan.schlag(a)ipfire.org) wrote:
>> 
>> Hi,
>> 
>> Daniel encountered the problem that his root partition was written full
>> because of the qemu addon being too big (200 MB). See bug #12268 for
>> details.
>> 
>> So he suggested moving the path /usr/share/qemu to /var. I do not
>> really like this solution as there are standards how the filesystem
>> hierarchy works under Linux. 
>> 
>> Furthermore, as the systems become bigger (eg. moving python3 to the
>> core) this problem will become more relevant to us. So I would like to
>> start a discussion on how to solve this. Moving things to /var can only
>> be a temporary solution. Should we force a reinstallation, which solves
>> the root of the problem?
> 
> One obvious alternative would be using LVM. Combined with a suitable
> filesystem like ext4, it makes resizing filesystems pretty trivial.
> It does add a bit of overhead but not enough to matter here, IMHO.
> 
> Another would be using ZFS, which solves the problem a bit differently
> (and arguably better), but it's not included in mainline kernels due
> to licensing issues so it would add maintenance work.
> 
> FWIW, I like LVM and tend to use it in all systems where disk space
> and allocation is likely to change.

LVM is generally a good idea. However it is not implementable on systems that are already running out of space.

Back in the day it seemed to be a good idea to have different partitions for / and /var. New systems will now just have one partition for /. Simply put, you will have all the space your hardware allows you and if you are running out, you are running out.

ZFS is not available on Linux.

-Michael

> 
> -- 
> Tapani Tarvainen


  reply	other threads:[~2020-01-19 18:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18  9:57 Jonatan Schlag
2020-01-18 10:30 ` Tapani Tarvainen
2020-01-19 18:16   ` Michael Tremer [this message]
2020-01-20  4:17     ` Tapani Tarvainen
2020-01-20 10:38       ` Michael Tremer
2020-01-20 11:39         ` Tapani Tarvainen
2020-01-20 11:49           ` Michael Tremer
2020-01-19 18:14 ` Michael Tremer

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=58A04326-47F0-48E6-841A-3C1F55C2DEAD@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /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