Date: Fri, 14 Nov 2008 12:17:22 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-fs@freebsd.org Subject: Re: Filesystem size and free space Message-ID: <gfjmn2$7v7$1@ger.gmane.org> In-Reply-To: <491D5296.3000600@bsd.ee> References: <491D5296.3000600@bsd.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4A5918546800C398884A8683 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Andrei Kolu wrote: > Hi, >=20 > due to migration from Windows Server 2003 NTFS filesystem to FreeBSD > 7.1Beta2 UFS+softupdates filesystem I encountered strange problem. NTFS= > formatted filesystem seen in FreeBSD as read-only and exactly 500GB wit= h > 28GB free space but after format to UFS disk shows up as 484GB and afte= r > copying back files that was on same disk (from ntfs) UFS filesystem > shows that I got -33GB (minus?) of free space. What's wrong? Is UFS so > inefficient filesystem or it is a bug? UFS reserves a small percentage of the space for the superuser (root) utilities and also for performance benefits. "-33 GB" is telling you that you have used 33 GB of this reserved space, which isn't good if the file system is going to be used in a read-write environment. If the file system is going to be used read-only, you can safely ignore this; otherwise try never to use the reserved space. In particular, userland programs running under non-root user accounts will not see this reserved space and will get "out of disk space" errors when they try to add data to files in such a file system. You can lower the size of this reserved space with "tunefs -m" which will allow non-root users to access more space, but this isn't recommended. Either delete files or buy a bigger drive. --------------enig4A5918546800C398884A8683 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJHV5DldnAQVacBcgRAjJtAKDGp7phOEs323fUypN3kvWLTKBh/wCeKS/a fepWhsimX0CQDI4wVcr9E6U= =yoRX -----END PGP SIGNATURE----- --------------enig4A5918546800C398884A8683--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gfjmn2$7v7$1>