🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26018

Re: df usage wrong

#26018
From: tom minchin
Date: Mon, 09 Feb 1998 00:00
19 lines
1363 bytes
Terry L Ridder <terrylr@tbcnet.com> writes:
>First off the numbers returned by 'df' are 1024-blocks not bytes.
>If you desire bytes you need to take the numbers and multiply by
>1024.
>Linux reserves disk space for root, which is why sometimes
>when 'df' is run you will see Capacity > 100%.
>If you take 1,269,928 / 23,500,763 == .0540 or roughly 5.4%
>is reserved, which would be about normal.

Linux reserves about 5% which is probably a little excessive when you
have 4 or 16 gig MD stripes (if that much space is needed for unlinked
files, then you're on borrow time).

You can use tune2fs -m 1 <device> to reduce the reserved space to 1%.

tom@interact.net.au

Technical Details
Message-ID: <6bl8kk$850$1@black.interact.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.development.system.mbox.zip!not-for-mail
References: <34DD77B9.6BAC482A@inode.at> <6bl34q$c87$1@gte2.gte.net>

Show Full Headers
Complete Article Headers
Message-ID: <6bl8kk$850$1@black.interact.net.au>
Subject: Re: df usage wrong
Date: Mon, 09 Feb 1998 00:00:00 +0000
From: tom@black.interact.net.au (tom minchin)
References: <34DD77B9.6BAC482A@inode.at> <6bl34q$c87$1@gte2.gte.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.development.system.mbox.zip!not-for-mail
X-Deja-AN: 323231665
Organization: InterACT Technology Group http://www.interact.net.au/
Newsgroups: comp.os.linux.development.system,news.software.nntp