From owner-freebsd-questions@freebsd.org Tue Sep 15 21:48:55 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 9F6D83E1577 for ; Tue, 15 Sep 2020 21:48:55 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BrcLZ6l09z3TRp for ; Tue, 15 Sep 2020 21:48:54 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lj1-x22b.google.com with SMTP id u4so4107969ljd.10 for ; Tue, 15 Sep 2020 14:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q6oapK0uTB/yaF9SQ1fPdgkhU4y4SwX3w7H0DtZqyBs=; b=VnlaPJoK9LSH7GvPsTTmIM8xFJ4g0d7hQiQRQfBsDu4cOQRMDeGmf+TwGS4s9mmZJj Ssurdg5RRHLscr6KYK/tT46cz/wAyZy0HalLnT7kH+hEqtD5RzsGNf7SYGK1imcqHX+N m7Dx/2srlgVyI3mZdhcFywk57qul3gMN5QkKOFL6uWy4ssjNd7XVgJIyy1GlkSa3idvA Vzi4RuR5G6I8Zb12MSDpSOzo9VKhpwrqeCJ9uXpCxqItdB7RFI43bS5uyRQYz7H7wZJO u1kN/MBuGpX6/u5LYpdM8NTZSGiWQJtHVmF/vvGKWqc8lJEMXfSFTqNK8dPPqloxxd42 km6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q6oapK0uTB/yaF9SQ1fPdgkhU4y4SwX3w7H0DtZqyBs=; b=MzdwLw0REcXDaLa66HuHPN3Ll9ReY4L+I9Fpw2NH4hxAzr8hvf5rISKwQeWsnQz7mb +lP6rr9IXRW3XghWVSnnyTwMrOJ7Ybc+6sBBAmnjx490zuD0V1zuKcNmzbc4lSTT2RR0 6U/EfbAl9Ka84iRu1STQDZL9aQoqEHk37hLZIzf3dAbvchJ/VqGJEKRsiyhSDezr4rl6 l5FC1ukJGOABAkE+5I8Rd6jdtkYkE/VpomYrq+er+dJuWXNxTDen/fYuzx5YmdZPlyXC SvfbqJd3H1qNASvKreZhfKMcSKjMtIavIcKj20xsYmQFo8+yoqA3s41TF6ZwhGyYKmH8 ZvsQ== X-Gm-Message-State: AOAM533bx/UzFGFH2q3AzSWdFYMzYdiOMlLlTnTkuTZwggBTl61yot/t LwBynbajNtB53v6RCO0dejzpDkW2mD5qHZycgxVfAg== X-Google-Smtp-Source: ABdhPJx4A70bWGvEvn4V86+MTOe8liLIJMGiU4X8892jV9uKzZcGXNuHlbvgJzVQ8uze0GkyFIS9wV5T2cMoYJ3Uz00= X-Received: by 2002:a2e:760e:: with SMTP id r14mr6934219ljc.331.1600206532769; Tue, 15 Sep 2020 14:48:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Michael Sierchio Date: Tue, 15 Sep 2020 14:48:16 -0700 Message-ID: Subject: Re: partitioning server with 2 hard drives To: Marwan Sultan Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4BrcLZ6l09z3TRp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=VnlaPJoK; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::22b) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-1.86 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.88)[-0.880]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.29)[0.286]; NEURAL_HAM_LONG(-0.97)[-0.966]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22b:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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:48:55 -0000 On Tue, Sep 15, 2020 at 2:35 PM Marwan Sultan wrote= : > Good day/Evening for all FreeBSDers =F0=9F=99=82 > > 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. --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata