Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2020 16:58:46 -0500
From:      Valeri Galtsev <galtsev@kicp.uchicago.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: partitioning server with 2 hard drives
Message-ID:  <c5d1a756-ee97-8ac1-27e8-af6e99387a00@kicp.uchicago.edu>
In-Reply-To: <CAHu1Y731qgvLbdVF1vrPiZ-9Bx7tXG==TKM88g8DMkp8Bd=qzg@mail.gmail.com>
References:  <MWHPR06MB32479D288A8D10AD73FC6A329A200@MWHPR06MB3247.namprd06.prod.outlook.com> <CAHu1Y731qgvLbdVF1vrPiZ-9Bx7tXG==TKM88g8DMkp8Bd=qzg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2020-09-15 16:48, Michael Sierchio wrote:
> On Tue, Sep 15, 2020 at 2:35 PM Marwan Sultan <dead_line@hotmail.com> 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
++++++++++++++++++++++++++++++++++++++++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c5d1a756-ee97-8ac1-27e8-af6e99387a00>