🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10536

Re: INN gets ENOSPACE even though there is plenty of disk and inodes

#10536
From: Jim Prescott
Date: Thu, 29 Aug 1996 00:00
37 lines
2399 bytes
In article <1069@crane.ukc.ac.uk>,
Richard Hesketh <R.L.Hesketh@ukc.ac.uk> wrote:
>INN (1.4 + some hacks) running on a Solaris 2.5 based SPARC 20
>has just started to throttle itself claiming it has run out
>of disk space writing the article file.  df gives me the following:
>Filesystem             iused   ifree  %iused  Mounted on
>/dev/dsk/c0t0d0s7     481370 1466662    25%   /news
>Filesystem            kbytes    used   avail capacity  Mounted on
>/dev/dsk/c0t0d0s7    1830821 1687591   51690    98%    /news
>writev(6, 0xEFFFF178, 5)			Err#28 ENOSPC

Free disk space comes in two forms, full blocks and fragments (partial
blocks).  Full blocks will be fragmented as needed but the reverse can
only happen when files are deleted.  If you run out of full blocks you
will start getting "filesystem full" messages even if df says you have
lots of free space (it doesn't mention that it is all fragments).

You can check see if you've run out of full blocks by checking nbfree:
	ftyp -v /dev/dsk/c0t0d0s7 | grep nbfree
("ftyp -v" is spelled "dumpfs" in SunOS).

You could also try copying various sized files onto the partition.  Files
under 512 bytes will work, files over 8192 bytes will not.

While not really related, running out of free blocks becomes easier the
lower you set minfree.

Deleting files is the only way to get full blocks.  If you delete a lot
of them and use tunefs to set optimization to space (which makes the OS
thriftier at creating fragments) you might be ok.  If not you may have
to do a dump/newfs/restore to fix things.
-- 
Jim Prescott - Systems Staff	jgp@seas.rochester.edu	ur-valhalla!jgp
School of Engineering and Applied Sciences, University of Rochester, NY

Technical Details
Message-ID: <50566s$3jm@harn.ceas.rochester.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <1069@crane.ukc.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <50566s$3jm@harn.ceas.rochester.edu>
Subject: Re: INN gets ENOSPACE even though there is plenty of disk and inodes
Date: Thu, 29 Aug 1996 00:00:00 +0000
From: jgp@harn.ceas.rochester.edu (Jim Prescott)
References: <1069@crane.ukc.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 177400459
Distribution: inet
Organization: University of Rochester, School of Engineering
Newsgroups: news.software.nntp,comp.unix.solaris