Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2001 21:06:42 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Marco Radzinschi <marco@radzinschi.com>
Cc:        FreeBDS-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Inefficient disk space usage?
Message-ID:  <20011009210642.C41739@dan.emsphone.com>
In-Reply-To: <20011009211933.B23880-100000@mail.radzinschi.com>
References:  <20011009211933.B23880-100000@mail.radzinschi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011009210642.C41739>