From owner-freebsd-questions@freebsd.org Wed Sep 9 05:17:44 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 E7877A008D2 for ; Wed, 9 Sep 2015 05:17:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 B97EE12A1 for ; Wed, 9 Sep 2015 05:17:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-222-143.knology.net [216.186.222.143] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t895Hga3011939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 9 Sep 2015 00:17:42 -0500 Subject: Re: Storage question To: freebsd-questions@freebsd.org References: <55EF3D23.5060009@hiwaay.net> <20150908220639.20412cbd@gumby.homeunix.com> From: "William A. Mahaffey III" Message-ID: <55EFC0F5.4000601@hiwaay.net> Date: Wed, 9 Sep 2015 00:23:11 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150908220639.20412cbd@gumby.homeunix.com> Content-Type: text/plain; charset=windows-1252; format=flowed 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: Wed, 09 Sep 2015 05:17:45 -0000 On 09/08/15 16:12, RW via freebsd-questions wrote: > On Tue, 8 Sep 2015 15:00:45 -0453.75 > William A. Mahaffey III wrote: > >> >> I am prepping to bring 2 new FreeBSD 9.3R boxen online. I am trying >> to figure out how large to make root & usr partitions to make most >> effective use of storage. To that end, I did the following: >> >> >> find / -xdev -maxdepth 3 -type f -exec ls -lSrF {} + > It's easier to see the usage if you use: > > du -xhd1 / > > and then work down. [root@kabini1, /etc, 3:38:34pm] 445 % du -xhd1 / 4.0k /.snap 4.0k /home 512B /dev 244k /libexec 10G /var 4.0k /mnt 6M /sbin 4.0k /tmp 8.6M /lib 600M /boot 5.7M /etc 0B /proc 5.2M /rescue 38M /root 1.2M /bin 4.0k /usr 14k /media 512B /net 512B /host 32k /.amd_mnt 312M /compat 11G / [root@kabini1, /etc, 12:18:08am] 446 % & I think we may have a winner :-) !!!! *Wow*, 10 GB (out of 11-ish) in /var. I knew it could get porky, but no idea that bad (& consistent w/ other replies showing *very* small root dirs & astutely sized other partitions). A bit more thinking required here :-) .... Thanks for *all* replies thus far & continuing :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.