From owner-freebsd-questions@FreeBSD.ORG Sat Apr 18 03:54:38 2015 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2278EB7 for ; Sat, 18 Apr 2015 03:54:38 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A018FD93 for ; Sat, 18 Apr 2015 03:54:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=hO/IyJ4h0aBMDBKoGL11p50EgSlIomUlsszHG1l6omY=; b=oFh9yqRFyuo1UeYXmMCw1tR/B+i8YJ9wYfgm/yVu3Da/Wje7L34MO/Ecmmo/4A5nBBnKPKmyT7I3oIIlIBaCwYjI9dsmRN8qTFTi7yrLBM43+Lybd3APffKofLQ/Aj2Jw9n0Wof00ngCWUc4LaEG4WqbtEdOXTlSEqyqy6U7PWQ=; Received: from [114.124.37.199] (port=42483 helo=B85M-HD3-0.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1YjJpu-001w3x-In; Fri, 17 Apr 2015 21:54:31 -0600 Date: Sat, 18 Apr 2015 11:54:04 +0800 From: Erich Dollansky To: Alex Merritt Cc: "lokadamus@gmx.de" , questions@freebsd.org Subject: Re: Disk space allocation Message-ID: <20150418115404.5c5af778@B85M-HD3-0.alogt.com> In-Reply-To: References: <553113AD.6000502@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2015 03:54:38 -0000 Hi, On Fri, 17 Apr 2015 10:25:48 -0400 Alex Merritt wrote: > On Fri, Apr 17, 2015 at 10:07 AM, lokadamus@gmx.de > wrote: > > > On 04/15/15 20:45, Alex Merritt wrote: > > > Hello, > > > > > > File systems such as ext3/4 reserve some amount of space for > > > allocation only by privileged users, which can be adjusted, e.g. > > > > > > tune2fs -m reserved-blocks-percentage /dev/sdaN > > > same as FreeBSD. > > > I installed a BSD system using Virtualbox, giving it an 8GB disk, > > > but > > 'df' > > > shows an aggregate size among all mount points to be less than the > > > capacity. The minfree parameter to tunefs defaults to 8% (see > > > below) but > > 8% > > > does not account for the difference in 8189MB capacity vs sum of > > > ca. 6G among all file systems (shown by df). There's ca. 27% of > > > capacity unavailable. > > > There is space required to manage the disk too. > > Which filesystem and FreeBSD Version you are using? > > UFS/ UFS2 have an option, that in default setting 10% are reserved. > > So you can use your partition with 110%. But only root can write into this extra space. > > > > Greetings > > > > I am using DragonFly BSD, and "geom" does not seem to be in the > package repository. I mailed here assuming it is not a distro-specific > characteristic. > geom is part of FreeBSD. It do not know if PC-BSD compiles it into the kernel. > The file system is UFS. What do you mean use it with 110%? Root can use above 100% of the nominal capacity of drive. I am not so sure if it really is 110% but it is a figure above 100% and this figure can be tuned when the file system is not mounted. Erich