From owner-freebsd-questions@FreeBSD.ORG Fri Apr 17 14:26:10 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 1DFF3C2E for ; Fri, 17 Apr 2015 14:26:10 +0000 (UTC) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBBB39C1 for ; Fri, 17 Apr 2015 14:26:09 +0000 (UTC) Received: by igblo3 with SMTP id lo3so12810377igb.1 for ; Fri, 17 Apr 2015 07:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=0c0tp840J3D+tvXgCnIyv273GRohMLyslmDmM8H9vwA=; b=bHT4AEMMVw1MqjxcZJbG0WRXriL1xkxj0ZpCe0sALkpaSjdTSWdYn4RB8Fehyi5een BB4YCGqi9MCpWeImW2fc0yjG0lgQT+mF9/Un4qfzmV+JICyebBte2ZuWWMPyvvK5+iRm s2PP8Vr8Vmb8qSRiXewlCERGg1aPXWTKtjlPeUPl4SeUB+Yr76A5Gp2az4PiPIMOo5ha FQxzD9tzgNqidGt1z8YRaGSddSs0rLjI/L7dz241+qJC+NYfiyhlrYK4XuvmXpREg48i FUxxapNbCnUFKRHrLKSLm4qFUd2XR1wxBLBb2vLfQkzFNtD08uozhho/tOJ8vrbsodxT kJpg== X-Received: by 10.50.77.13 with SMTP id o13mr3217301igw.39.1429280769133; Fri, 17 Apr 2015 07:26:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.131.194 with HTTP; Fri, 17 Apr 2015 07:25:48 -0700 (PDT) In-Reply-To: <553113AD.6000502@gmx.de> References: <553113AD.6000502@gmx.de> From: Alex Merritt Date: Fri, 17 Apr 2015 10:25:48 -0400 Message-ID: Subject: Re: Disk space allocation To: "lokadamus@gmx.de" Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Fri, 17 Apr 2015 14:26:10 -0000 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 > > > > 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. > > > > What could I be missing here? > > > > # fdisk > > [...] > > The data for partition 1 is: > > sysid 165,(DragonFly/FreeBSD/NetBSD/386BSD) > > start 63, size 16773057 (8189 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 1; > > end: cyl 1023/ head 255/ sector 63 > > > > # dumpfs /dev/ad0s1a | grep minfree > > minfree 8% optim time maxcontig 15 maxbpg 2048 > > > > # df -hT > > Filesystem Type Size Used Avail Capacity Mounted on > > /dev/serno/--.s1a ufs 620M 140M 431M 24% / > > devfs devfs 1.0K 1.0K 0B 100% /dev > > /dev/serno/--.s1d ufs 2.2G 396K 2.0G 0% /home > > /dev/serno/--.s1e ufs 248M 10K 228M 0% /tmp > > /dev/serno/--.s1f ufs 2.6G 1.5G 882M 64% /usr > > /dev/serno/--.s1g ufs 248M 213M 15M 93% /var > > procfs procfs 4.0K 4.0K 0B 100% /proc > > > > Thanks! > > Alex > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > 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%. > > 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. The file system is UFS. What do you mean use it with 110%?