From owner-freebsd-fs@FreeBSD.ORG Fri Nov 14 11:17:06 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 893861065672 for ; Fri, 14 Nov 2008 11:17:06 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1704C8FC13 for ; Fri, 14 Nov 2008 11:17:05 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L0wfZ-0001WC-FO for freebsd-fs@freebsd.org; Fri, 14 Nov 2008 11:16:58 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Nov 2008 11:16:57 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Nov 2008 11:16:57 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Fri, 14 Nov 2008 12:17:22 +0100 Lines: 49 Message-ID: References: <491D5296.3000600@bsd.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4A5918546800C398884A8683" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.17 (X11/20080925) In-Reply-To: <491D5296.3000600@bsd.ee> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Filesystem size and free space X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 11:17:06 -0000 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--