From owner-freebsd-questions@freebsd.org Tue Sep 8 20:55:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 444919CC3AD for ; Tue, 8 Sep 2015 20:55:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0AEC01A7F for ; Tue, 8 Sep 2015 20:55:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id DB3542784F; Tue, 8 Sep 2015 22:55:42 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t88KtgQc003505; Tue, 8 Sep 2015 22:55:42 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 8 Sep 2015 22:55:42 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: Storage question Message-Id: <20150908225542.799975bb.freebsd@edvax.de> In-Reply-To: <55EF468A.4090902@hiwaay.net> References: <55EF3D23.5060009@hiwaay.net> <44lhcgbr4f.fsf@be-well.ilk.org> <55EF468A.4090902@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 08 Sep 2015 20:55:45 -0000 On Tue, 8 Sep 2015 15:40:52 -0453.75, William A. Mahaffey III wrote: > On 09/08/15 15:26, Lowell Gilbert wrote: > > "William A. Mahaffey III" writes: > > > >> I'm pretty sure the last few can't be deleted, but what about the > >> stuff in '/var/backups' & '/rescue' ? I am trying to figure out a > >> reasonable minimum I can size the root directory & still have safe, > >> reliable operations. Any clues appreciated. TIA & have a good one. > > You're worrying about a few tens of megabytes? You must have *really* > > small disks on these systems. [/rescue takes less than 10MB, and can > > save you a lot of time in a rescue situation.] > > > > Not really, & you may be right, much ado about nothing, but I like > things as efficient as possible. That's no ado. :-) > I may be reading wrong, but I think I > see ~5.3 MiB *per file*, or a few hundred MiB total in /rescue. You're reading it wrong. :-) If you try the command % ls -li /rescue then you'll see that all the files have the same inode number, i. e., they are _the same file_ (hardlinks), so only _one time_ the disk space is allocated - for _one_ file (one binary with many different names). > There > are also those pkg.sql backups, @ about 10 MiB apiece. Those usually reside in /var, not "directly" on /. > The reason I ask > is I have about 12 GiB used total in my root dir & I'm trying to figure > out where it is all going. See the important difference between "ls", "du" and "df" output. > It may be nothing, I wanted to see if I could > get down to an 8 GiB root partition, but that may be unrealistic. No, that's entirely possible. Just create different partitions for all the "other" things that can be left off of / and still keep things operational. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...