From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Overfull Filesystems how to solve? Date: Sun, 19 Jan 2020 18:16:25 +0000 Message-ID: <58A04326-47F0-48E6-841A-3C1F55C2DEAD@ipfire.org> In-Reply-To: <20200118103059.GB22878@tarvainen.info> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0860767199991702460==" List-Id: --===============0860767199991702460== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hey Tapani, > On 18 Jan 2020, at 10:30, Tapani Tarvainen wr= ote: >=20 > On Sat, Jan 18, 2020 at 10:57:08AM +0100, Jonatan Schlag (jonatan.schlag(a)= ipfire.org) wrote: >>=20 >> Hi, >>=20 >> 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. >>=20 >> 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.=20 >>=20 >> 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? >=20 > 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. >=20 > 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. >=20 > 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, y= ou will have all the space your hardware allows you and if you are running ou= t, you are running out. ZFS is not available on Linux. -Michael >=20 > --=20 > Tapani Tarvainen --===============0860767199991702460==--