From owner-freebsd-questions@freebsd.org Tue Sep 8 21:02:41 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 7C1699CC7E7 for ; Tue, 8 Sep 2015 21:02:41 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 585461EC3 for ; Tue, 8 Sep 2015 21:02:40 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 4262333C46; Tue, 8 Sep 2015 17:02:39 -0400 (EDT) From: Lowell Gilbert To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: Storage question References: <55EF3D23.5060009@hiwaay.net> <44lhcgbr4f.fsf@be-well.ilk.org> <55EF468A.4090902@hiwaay.net> Date: Tue, 08 Sep 2015 17:02:39 -0400 In-Reply-To: <55EF468A.4090902@hiwaay.net> (William A. Mahaffey, III's message of "Tue, 8 Sep 2015 15:40:52 -0453.75") Message-ID: <44h9n4bp5c.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain 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 21:02:41 -0000 "William A. Mahaffey III" writes: > 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. Just make sure you leave room for emergencies. > I may be reading wrong, but I think I > see ~5.3 MiB *per file*, or a few hundred MiB total in /rescue. The directory entries are all the same inode. "du /rescue" will show you around 5.5 megabytes total. > see ~5.3 MiB *per file*, or a few hundred MiB total in /rescue. There > are also those pkg.sql backups, @ about 10 MiB apiece. 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. It may be nothing, I wanted to see > if I could get down to an 8 GiB root partition, but that may be > unrealistic. Um, what else is in your root directory? Do you have all of /usr in there or something? Even /var isn't likely to take up gigabytes (and if it is, I'd want it on a separate partition). For example: on my server, I have: Filesystem Size Used Avail Capacity Mounted on /dev/ad6s1a 1.9G 938M 883M 52% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad6s1f 291G 133G 134G 50% /home /dev/ad6s1d 4.8G 1.4G 3.0G 32% /usr /dev/ad6s1g 147G 16G 119G 12% /usr/scratch /dev/ad6s1e 4.8G 670M 3.8G 15% /var /dev/md0 62M 32K 57M 0% /tmp