From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 431D31382C5 for ; Wed, 20 Jan 2021 13:38:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE66FE082D; Wed, 20 Jan 2021 13:37:59 +0000 (UTC) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 336B3E0815 for ; Wed, 20 Jan 2021 13:37:59 +0000 (UTC) Received: by mail-pj1-x1031.google.com with SMTP id m5so2196727pjv.5 for ; Wed, 20 Jan 2021 05:37:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bI9oz+fE9dJ+c+tt48Y5yiNhj3lyIs8/9zBIxnY3Gyo=; b=Z05mtlldUpUvVX5lCX/OTiVq1VG23tzXt/dtRDDNGoXDIcoqN7lREFUoj7lnbrv2X6 q8MMErHca+7MoOc1K7lH3LZUsJgaKP3HWwECGIXGtGMc8nU0z5XrLjv3bTToJPkYcIMd f5XDfBxwWDool0+JfZ711Cr/EKglkmLeJ0yTH6QeaLqeU9zvPtyKa9js2Nt/n8uc2riD glzF/3q2snT+u15wnItyTn0uwFBZFWthia6YelEpnSwScH3nyxZzJLmI0/fYj/xfuRqr wV86wUV50RY3+IOwS745fKsiRWZDDhdDUpU0s9HrUXsqQ4bY5/ilKtjLl7xwcuh9zZWv fR7Q== 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; bh=bI9oz+fE9dJ+c+tt48Y5yiNhj3lyIs8/9zBIxnY3Gyo=; b=DNWEDIz/e59DEmId4feqDEXgMcbnfK4vZBa/UK1Ms9o6O/xDOaOhthp6ggMNge8UAN 1l8fEoAQZB9mOhitYrh/6qxnwxLfQrP8EqZmTEQ+v+PHEJtfmrmTEPQD9NFQF1J/yBLo JxOKZapyjkvbOOSk45ueVWNh2emrXT8z57jSmeTX8HPx66FdNTjQZ5mff5LJTuR3arMh pouei3lqlvUJzVjw44Fk5AP9vjqfzpHkvZkCCDa5fxz06x4DtT8CyfTgqZA4ZYc7Liiw 4E2832TXEz2pVnGRDlMxbzLL6ld1V+BHa1F9ALshB92g8WH98/ejm3cuYncksQX6Xq73 6eog== X-Gm-Message-State: AOAM531DT0YfBA6SvMstBgFoBbJsRAfI2AMbtuDbcP8yH++eLfZx2IvE YNUwnkL8oa8N8S/jULCEwzOWoOQUBjlDNP3SdRJBPGRQ9T8= X-Google-Smtp-Source: ABdhPJzC/SIsN5EMxByfqv3vuIFK89TEBSj6+OhhBDXVruOAoWuzXlgJFj/u6sZN2nB+dklnuRZ7wf+UCJhv/y+XE4U= X-Received: by 2002:a17:902:ec06:b029:de:67a0:989d with SMTP id l6-20020a170902ec06b02900de67a0989dmr9938603pld.53.1611149877508; Wed, 20 Jan 2021 05:37:57 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <4e6b89be-e977-48a1-895f-d9c7a722b7e6@88.com> In-Reply-To: <4e6b89be-e977-48a1-895f-d9c7a722b7e6@88.com> From: Raphael MD Date: Wed, 20 Jan 2021 10:37:46 -0300 Message-ID: Subject: Re: [gentoo-user] Best approach to a home NAS server To: Gentoo User Content-Type: multipart/alternative; boundary="00000000000020fe9305b9551054" X-Archives-Salt: 7a116d4c-836a-42fd-b0af-b49a3b60a65c X-Archives-Hash: 57456f03cabfe84fcd80571225d5f6bc --00000000000020fe9305b9551054 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >>On Wed, Jan 20, 2021 at 5:57 AM bobwxc wrote: > >>=E5=9C=A8 2021/1/20 =E4=B8=8A=E5=8D=888:04, Raphael MD =E5=86=99=E9=81= =93: > >> > >> Hello folks! > >> > >> > >> What could be the best approach to a small home server with a 20=E2=80= =99s > >> core Xeon and 32GB of ram? > >> > >> I'm thinking of serving a NAS, a virtual machine to record 2 cameras > >> with ZoneMider and a DB server/php. > >> > >> Some configurations I'm guessing are described below. > >> > >> 1)Install FreeNAS, formatting my 3 disk in ZFS raid and setup all > >> stuff upon FreeNas using VirtualBox (1-Linux to ZoneMinder and 1-Linux > >> to a small host php/db server); > >> > >> 2)Install a FreeBSD ZFS using Xen and setup two guests, a Linux Guest > >> to ZoneMinder + DB/php and a FreeNas guest; > >> > >> 3)Install a Linux ZFS host, ZoneMinder and DB/php upon it and a > >> virtual machine for FreeNas; > >> > >> 4)Install a Linux ZFS, setup a NAS on Linux, and run a VirtualBox > >> machine to ZoneMinder and another small server. > >> > >> Thanks! > >> > >> > >> M.S. Raphael Mejias Dias > >> Nuclear Engineer | Reactors > >> > >> Secure e-mail: raphael.mejias.dias@protonmail.com > >> > >> PGP Key for raphaxx@gmail.com : > >> https://pgp.mit.edu/pks/lookup?op=3Dget&search=3D0x87BC5A746072F951 > >> > >Here are some my options, > >1. freenas host, using dockers for ZoneMinder and php/db server; > > (or linux host and docker for nas and other server) > >2. try ESXi, and install virtual machine like freenas and linux servers. > > >I recommend No.2, since you server is powerful and ESXi may get a good > >performance. > > > >-- > >bobwxc > >F645 5C7A 08E8 A637 24C6 D59E 36E9 4EAB B53E 516B > I never have used Docker, is Docker better than Xen? I'm curious if it is easier to understand and maintain than some standalone virtual machine. Regarding the ESXi I'm looking for some free solution, because this will be a home server. In the case of ZFS, is Linux stable for production nowadays? I've read and appear to be in very good condition now. Thanks. M.S. Raphael Mejias Dias Nuclear Engineer | Reactors --00000000000020fe9305b9551054 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0 =C2=A0>>On Wed, Jan 20, 2021 at 5:57 AM bobwxc <<= a href=3D"mailto:bobwxc@88.com">bobwxc@88.com> wrote:
>>=E5=9C=A8 2021/1/20 =E4=B8=8A=E5=8D=888:04, Raphael = MD =E5=86=99=E9=81=93:
>= ;>
>= ;> Hello folks!
>= ;>
>= ;>
>= ;> What could be the best approach to a small home server with a = 20=E2=80=99s
>= ;> core Xeon and 32GB of ram?
>= ;>
>= ;> I'm thinking of serving a NAS, a virtual machine to record= 2 cameras
>= ;> with ZoneMider=C2=A0and=C2=A0a DB server/php.
>= ;>
>= ;> Some=C2=A0configurations I'm guessing are described below.=
>= ;>
>= ;> 1)Install FreeNAS, formatting my 3 disk in ZFS raid and setup = all
>= ;> stuff upon FreeNas using VirtualBox (1-Linux to ZoneMinder and= 1-Linux
>= ;> to a small host php/db server);
>= ;>
>= ;> 2)Install a FreeBSD ZFS using Xen and setup two guests, a Linu= x Guest
>= ;> to ZoneMinder=C2=A0+=C2=A0DB/php and a FreeNas guest;
>= ;>
>= ;> 3)Install a Linux ZFS host, ZoneMinder and DB/php upon it and = a
>= ;> virtual machine for FreeNas;
>= ;>
>= ;> 4)Install a Linux ZFS, setup a NAS on Linux, and run a Virtual= Box
>= ;> machine to ZoneMinder and another small server.
>= ;>
>= ;> Thanks!
>= ;>
>= ;>
>= ;> M.S. Raphael Mejias Dias
>= ;> Nuclear Engineer | Reactors
>= ;>
>= ;> Secure e-mail: raphael.mejias.dias@protonmail.com
>= ;> <mailto:raphael.mejias.dias@protonmail.com>
>= ;> PGP Key for raphaxx@gmail.com <mailto:raphaxx@gmail.com>:
>= ;> https://pgp.mit= .edu/pks/lookup?op=3Dget&search=3D0x87BC5A746072F951
>= ;> <https://pgp.= mit.edu/pks/lookup?op=3Dget&search=3D0x87BC5A746072F951>
>= ;Here are some my options,
>= ;1. freenas host, using dockers for ZoneMinder and php/db server;&g= t;=C2=A0=C2=A0=C2=A0 (or linux host and docker for nas and other ser= ver)
>= ;2. try ESXi, and install virtual machine like freenas and linux= servers.

>= ;I recommend No.2, since you server is powerful and ESXi may get a g= ood
>= ;performance.
>= ;
>= ;--
>= ;bobwxc
>= ;F645 5C7A 08E8 A637 24C6=C2=A0 D59E 36E9 4EAB B53E 516B

I never have used Docker, is Docker better than Xen? I'= m curious if it is easier to understand and maintain than some standalone v= irtual machine.

Regarding the ESXi I'm looking for some free sol= ution, because this will be a home server.

In the case of ZFS, is Li= nux stable for production nowadays? I've read and appear to be in very = good condition now.

Thanks.

M.S. Raphael Mejias Dias
Nuclea= r Engineer | Reactors
--00000000000020fe9305b9551054--