From owner-freebsd-questions@freebsd.org Tue Sep 15 21:58:53 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0EB653E19AC for ; Tue, 15 Sep 2020 21:58:53 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4BrcZ429Pmz3TlK for ; Tue, 15 Sep 2020 21:58:52 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 970FD4E64C for ; Tue, 15 Sep 2020 16:58:46 -0500 (CDT) Subject: Re: partitioning server with 2 hard drives To: freebsd-questions@freebsd.org References: From: Valeri Galtsev Message-ID: Date: Tue, 15 Sep 2020 16:58:46 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BrcZ429Pmz3TlK X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [1.34 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.43)[0.428]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.77)[0.768]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(0.04)[0.043]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2020 21:58:53 -0000 On 2020-09-15 16:48, Michael Sierchio wrote: > On Tue, Sep 15, 2020 at 2:35 PM Marwan Sultan wrote: > >> Good day/Evening for all FreeBSDers 🙂 >> >> I want to install latest FreeBSD for a business server >> erver with the following specification. : >> Intel Xeon E3-1240 v5 3.5GHz >> Hardware RAID Controller 1 GB Cache with BBU >> 16 GB DDR4 RAM - Total >> 1 TB 7200 SATA >> 1 TB 7200 SATA >> >> I understand its advised to create it in this order and SWAP double (or >> triple) of the RAM (is 50 GB ok) ? >> / >> swap >> var >> /tmp >> /usr >> > > The swap advice is obsolete and deprecated. With only two drives, you'll > have to decide whether to RAID1 or not. > > I'm a firm believer that any world-writable directory ( /tmp, /var/tmp ) > should be a separate filesystem w/ rw,noexec,nosuid. I would second that. Apologies about Linuxism question: we do not have "nodev" mount option (I just double checked with man mount). Are we weaker here than Linux folks? I do use "nodev" in addition to the above on world writable mount points on Linux boxes. Valeri > I think that an 8GB > swap partition on each drive would be more than enough. You can > extrapolate from this. > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++