🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26094

Re: df usage wrong

#26094
From: Michael Salmon
Date: Wed, 11 Feb 1998 00:00
33 lines
2130 bytes
Peter Augustin wrote:
> 
> Michael Salmon schrieb:
> 
> > > Now, I understand that its fine for a root Partition or any other
> > > 'working' Part of Linux, but I wonder why I lose 5% on a dumb newsspool.
> >
> > A Unix filesystem is more like a hash table than anything else, you can
> > use a full hash table if you like but it stops being a hash table and
> > becomes an unordered array with the appropriate search times. If you
> > don't want to waste the 5% reduce it 1% or even 0%, who knows it might
> > be OK in your case, though that is typically not the case in newsspools.
> 
> Is there a kind of df over this reserved part of the disk? I want to
> know how much it is used.

There isn't any reserved part. When you get to 100% ordinary users can't
allocate more space even though there is free space left on the disk.
The usual df shows this:

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t3d0s0      38383   33585    4760    88%    /
/dev/dsk/c0t3d0s7     529294  435235   93530    83%    /usr

For / the sum of used and avail is 38K less than the total i.e. 1% is
unavailable. That 1% can be anywhere.

/Michael
-- 
This space intentionally left non-blank.

Technical Details
Message-ID: <34E1528C.F742E555@uab.ericsson.se>
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> <6bl8kk$850$1@black.interact.net.au> <34DE6D7C.15D05149@inode.at> <34E03ED2.67C9C0F4@uab.ericsson.se> <34E05457.ABB7195E@inode.at>

Show Full Headers
Complete Article Headers
Message-ID: <34E1528C.F742E555@uab.ericsson.se>
Subject: Re: df usage wrong
Date: Wed, 11 Feb 1998 00:00:00 +0000
From: Michael Salmon <Michael.Salmon@uab.ericsson.se>
References: <34DD77B9.6BAC482A@inode.at> <6bl34q$c87$1@gte2.gte.net> <6bl8kk$850$1@black.interact.net.au> <34DE6D7C.15D05149@inode.at> <34E03ED2.67C9C0F4@uab.ericsson.se> <34E05457.ABB7195E@inode.at>
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: 324029086
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Ericsson AXE Research & Development
Newsgroups: comp.os.linux.development.system,news.software.nntp