From owner-freebsd-isp Wed Aug 19 15:37:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA18498 for freebsd-isp-outgoing; Wed, 19 Aug 1998 15:37:41 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA18483 for ; Wed, 19 Aug 1998 15:37:36 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id PAA07629; Wed, 19 Aug 1998 15:36:06 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id PAA13987; Wed, 19 Aug 1998 15:36:05 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id PAA04857; Wed, 19 Aug 1998 15:36:00 -0700 (PDT) From: Don Lewis Message-Id: <199808192236.PAA04857@salsa.gv.tsc.tdk.com> Date: Wed, 19 Aug 1998 15:36:00 -0700 In-Reply-To: Pecsenyanszky Istvan "Re: file system full" (Aug 19, 3:37pm) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: Pecsenyanszky Istvan , Chris Foote Subject: Re: file system full Cc: Pecsenyanszky Istvan , freebsd-isp@FreeBSD.ORG Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Aug 19, 3:37pm, Pecsenyanszky Istvan wrote: } Subject: Re: file system full } On Wed, 19 Aug 1998, Chris Foote wrote: } } > Some space is reserved for root that normal users are unable to use. } > Using 'tunefs' with the -m option, you should be able to reduce the } > space reserved for root on an existing parition. } } Even root cannot write on the file system. } Incidentally I've created this file system with `newfs -m 0', so 0% } reserved for root. } } # dd if=/dev/zero of=dummy.tmp } /home: write failed, file system is full } dd: dummy.tmp: No space left on device } 15+0 records in } 14+0 records out } 7168 bytes transferred in 0.001444 secs (4964050 bytes/sec) } # df . } Filesystem 1K-blocks Used Avail Capacity Mounted on } /dev/sd0s1e 36790190 35423783 1366407 96% /home } # } } now I have 1.3GB unusable space :( You've run out of free blocks. The only space left on the disk is frags (partial blocks that are allocated to hold the last bit of a file so an entire block isn't wasted). I bet your filesystem performance really sucks now because the files recently created will have their blocks scattered all over the disk, so the disk heads will thrash madly around when you access these files. Allocating space for new files is also really slow because the amount of searching that needs to be done to find free blocks. You can get up to 100% by newfs'ing and making the frag size equal to the block size. This will result in more space being wasted at the end of each file, so you'll be able to store less usable data (with smaller frags the ends of multiple files can occupy the same block), but df will say 100%. The performance will still suck, too. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message