Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!sdd.hp.com!caen!usenet.coe.montana.edu!bsd.coe.montana.edu!nate From: nate@bsd.coe.montana.edu (Nate Williams) Newsgroups: comp.os.386bsd.questions Subject: Re: [FreeBSD] free diskspace? Date: 8 Jan 1994 18:08:23 GMT Organization: Montana State University - Bozeman MT Lines: 35 Message-ID: <2gmsqn$qo9@pdq.coe.montana.edu> References: <gate.8oaTFc1w165w@subway.hacktic.nl> NNTP-Posting-Host: bsd.coe.montana.edu In article <gate.8oaTFc1w165w@subway.hacktic.nl>, Koen Martens <gmc@subway.hacktic.nl> wrote: > >I am having a little trouble with my diskspace. When I do an 'df', it >gives me something like this: > >Filesystem 512-blocks Used Avail Capacity Mounted on >/dev/wd0a 28303 13364 12108 52% / >/dev/wd0e 266030 142957 96470 60% /usr >/dev/fd0a 2847 1928 919 68% /mnt > >As you can see, for /dev/wd0a 13364+12108 does not equal 28303.. Also, >142957+96470 does not equal 266030. It has happened that my system >reported a negative value for available disk-space! fsck however does >return the correct free disk space, but does not discover anything wrong >with the disks.. Note that on a floppy everything seems ok. This has been the default behavior for BSD FFS (Fast File Systems) for a long time. Basically, to get a big improvement in I/O speed, you must leavre 10% free on your disk to keep the filesystem from becoming too fragmented. Get a good BSD book and read up on the BSD FFS. >Is this a known problemm? And if yes, could you please tell me what to >do to fix it?? If you want to take the hit of having slower I/O operations, you can decrease the minimum free space using tunefs(8). Nate -- nate@bsd.coe.montana.edu | Freely available *nix clones benefit everyone, nate@cs.montana.edu | so let's not compete with each other, let's work #: (406) 994-4836 | compete with folks who try to tie us down to home #: (406) 586-0579 | proprietary O.S.'s (Microsloth) - Me