partitioning server with 2 hard drives
Michael Sierchio
kudzu at tenebras.com
Tue Sep 15 21:48:55 UTC 2020
On Tue, Sep 15, 2020 at 2:35 PM Marwan Sultan <dead_line at 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 think that an 8GB
swap partition on each drive would be more than enough. You can
extrapolate from this.
--
"Well," Brahmā said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."
- The Mahābhārata
More information about the freebsd-questions
mailing list