From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Freeing up disk space problem!!
Date: Wed, 29 Feb 2012 00:25:00 +0100 [thread overview]
Message-ID: <20120229002500.6d2ab8a9@weird.wonkology.org> (raw)
In-Reply-To: <20120228132712.6df1ca07@digimed.co.uk>
Neil Bothwick writes:
> On Tue, 28 Feb 2012 14:01:50 +0100, Alex Schuster wrote:
>
> > If you instantly need more space, reduce the amount of reserved space
> > for the superuser, which is 5% as default:
> > tune2fs -m 2 /dev/your/partition
> > Don't reduce it to 0, the lower this value is, the more fragmentation
> > you will get.
>
> Why is that? I would have expected more usable space to reduce the need
> for fragmentation. I routinely use 0 on non-system filesystems.
I read this often, and to me it seems to make sense. When a file system
is nearly full, writing a last big file will make the file being
cluttered along all those tiny places where some free space is still
left. And this probably already happens to some extent before the
filesystem is completely full.
Now, which values for reserved percentage are good, I don't know.
This probably depends much on the typical size of files on that partition,
and usage patterns. For large movies on your data partition, it probably
does not matter, but for my system partitions (/root, /usr, /var, /tmp,
portage stuff) I just keep it at 5%.
With the benefit that I can instantly free some space in /var when it's
just become full, without needing to decide what to delete. Okay, in
practice this does not matter much because resizing the LVM and resizing
the FS is also a matter of seconds only.
Wonko
next prev parent reply other threads:[~2012-02-28 23:26 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-28 11:37 [gentoo-user] Freeing up disk space problem!! trevor donahue
2012-02-28 11:52 ` Alan McKinnon
2012-02-28 13:37 ` William Kenworthy
2012-02-28 11:57 ` Mick
2012-02-28 11:59 ` [gentoo-user] " Nikos Chantziaras
2012-02-28 12:24 ` [gentoo-user] " YoYo Siska
2012-02-28 12:50 ` trevor donahue
2012-02-28 13:25 ` Neil Bothwick
2012-02-28 13:01 ` Alex Schuster
2012-02-28 13:27 ` Neil Bothwick
2012-02-28 23:25 ` Alex Schuster [this message]
2012-02-29 0:32 ` Neil Bothwick
2012-02-29 1:05 ` Alex Schuster
2012-02-29 6:22 ` Neil Bothwick
2012-02-29 9:29 ` Alan McKinnon
2012-02-29 9:57 ` Neil Bothwick
2012-02-29 10:40 ` Alan McKinnon
2012-02-29 11:08 ` Neil Bothwick
2012-02-29 12:11 ` Alan McKinnon
2012-03-01 0:59 ` Frank Steinmetzger
2012-03-01 9:54 ` Neil Bothwick
2012-02-29 23:59 ` [gentoo-user] " walt
2012-03-01 0:43 ` Pandu Poluan
2012-02-29 0:48 ` [gentoo-user] " Dale
2012-02-29 1:01 ` Alex Schuster
2012-02-29 2:38 ` Dale
2012-02-29 6:17 ` Neil Bothwick
2012-02-29 7:10 ` Dale
2012-02-29 7:49 ` J. Roeleveld
2012-02-29 9:23 ` Alan McKinnon
2012-03-01 1:09 ` Frank Steinmetzger
2012-03-01 8:26 ` Alan McKinnon
2012-02-29 9:53 ` Neil Bothwick
2012-02-29 9:19 ` Alan McKinnon
2012-02-29 14:44 ` Dale
2012-02-29 7:43 ` J. Roeleveld
2012-02-29 13:06 ` Daddy
2012-02-29 14:44 ` Dale
2012-02-28 16:14 ` James Broadhead
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=20120229002500.6d2ab8a9@weird.wonkology.org \
--to=wonko@wonkology.org \
--cc=gentoo-user@lists.gentoo.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