From owner-freebsd-questions Tue Oct 9 19: 6:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id E746337B405 for ; Tue, 9 Oct 2001 19:06:44 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id f9A26h974515; Tue, 9 Oct 2001 21:06:43 -0500 (CDT) (envelope-from dan) Date: Tue, 9 Oct 2001 21:06:42 -0500 From: Dan Nelson To: Marco Radzinschi Cc: FreeBDS-Questions Subject: Re: Inefficient disk space usage? Message-ID: <20011009210642.C41739@dan.emsphone.com> References: <20011009211933.B23880-100000@mail.radzinschi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011009211933.B23880-100000@mail.radzinschi.com> User-Agent: Mutt/1.3.22.1i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Oct 09), Marco Radzinschi said: > I am curious as to what cluster sizes FreeBSD uses. I use this > FreeBSD box as a mail and file server, and I formatted the whole disk > as dedicated to FreeBSD. My concern is that I have 8.51 GB worth of > files in one particular directory, but they take up 9.02 GB of > physical space. By default, filesystems are set up with 8K blocks, which can further be split into 8 1K fragments. Files over 8K will take up multiple blocks and up to 7 fragments. Small files will occupy 1-7 frags, depending on filesize. The du command will tell you how much disk space is taken up. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message