From owner-freebsd-questions@freebsd.org Wed Sep 9 13:18:27 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 419FF9CC7BA for ; Wed, 9 Sep 2015 13:18:27 +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 0ECCC135E for ; Wed, 9 Sep 2015 13:18:26 +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 t89DIODE009185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 9 Sep 2015 08:18:25 -0500 Subject: Re: Storage question References: <55EF3D23.5060009@hiwaay.net> <20150908220639.20412cbd@gumby.homeunix.com> <55EF5409.8020007@yahoo.com> <55EFC2DA.3020101@hiwaay.net> <08B351DD-AA48-4F30-B0D6-C500D0877FB3@lafn.org> <55F02DC8.7000706@hiwaay.net> <20150909150626.5c3b99e5.freebsd@edvax.de> Cc: freebsd-questions@freebsd.org From: "William A. Mahaffey III" Message-ID: <55F031A0.40500@hiwaay.net> Date: Wed, 9 Sep 2015 08:23:54 -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: <20150909150626.5c3b99e5.freebsd@edvax.de> 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 13:18:27 -0000 On 09/09/15 08:12, Polytropon wrote: > On Wed, 9 Sep 2015 08:07:30 -0453.75, William A. Mahaffey III wrote: >> *Agreed* on all counts, that's why I was trying to see what I could >> shrink out of my current 9.3R install, since both new boxen will be 9.3R >> as well. > Keep later updating to v10 and v11 in mind. Kernels and modules > tend to occupy more space, so when you had started with v4 and > a root partition of 256 MB, this could lead to unpleasant results. :-) > > As I mentioned in my comments regarding multiple partitions: > Disk space is cheap today. If you don't intend to use ZFS and > rather stay with UFS, allocate 2 GB for / and put /var on a > separate file system. Look at your current /var for what has > the biggest occupation and conclude. Make /var sufficiently > large not to run into trouble later on. Also note that there > are things that you can manually clean out of /var when not > needed anymore (possibly freebsd-update and pkg metadata). I like ZFS in principal (it's one of the things that attracted me to FreeBSD about a year ago), but, as someone else noted, it seems to require lots of RAM & possibly CPU for best effect. The MythTV box is an AMD A4-5000, 1.5 GHz quad-core jaguar, w/ 16 GB of RAM, which isn't especially robusto by today's standards, so I am staying w/ UFS. Someone else provided a better incantation of du which told me that my ~12 GiB of stuff on my root partition was 10+ GiB of stuff in /var, the rest in root. Since I will be using gpart to partition, I am now planning on 4 partitions per drive, 2 GiB for root, 16 GiB for /var, 16 GiB swap, & the rest for /home, which is where most of the data will actually reside. I am modifying my setup scripts accordingly. BTW, I tried to post those scripts for review by savvier-than-I eyes & they didn't come through to the list, or at least not to my E-mail from the list. Any clue why ? Does the list strip-off '.sh' files ? No biggie. Thanks & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.