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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 80BFF158020 for ; Sun, 18 Dec 2022 15:28:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1675E088C; Sun, 18 Dec 2022 15:27:56 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C08BE0875 for ; Sun, 18 Dec 2022 15:27:55 +0000 (UTC) Received: from mailgw01.thundermail.uk (uwhmailrelay01.unlimited.uk.net [149.255.60.67]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id 6D6A8600CC6A for ; Sun, 18 Dec 2022 15:27:54 +0000 (GMT) X-ASG-Debug-ID: 1671377273-0554134c8636d370001-LfjuLa Received: from mailclean01.thundermail.uk (mailclean01.thundermail.uk [149.255.60.66]) by mailgw01.thundermail.uk with ESMTP id sBu55Q4ImMBCrA5q (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 18 Dec 2022 15:27:53 +0000 (GMT) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: mailclean01.thundermail.uk[149.255.60.66] X-Barracuda-Apparent-Source-IP: 149.255.60.66 Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailclean01.thundermail.uk (Postfix) with ESMTPS id F08C74029C for ; Sun, 18 Dec 2022 15:27:47 +0000 (GMT) Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id 8CF05CE901D for ; Sun, 18 Dec 2022 15:27:48 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1671377268; bh=05nzzWbLDcHzXLA3AwLyHC8wVw+l3lT4jIhyG9dELiU=; h=From:To:Subject; b=s3ioEr637bfB3gT4F2XoVO4pmQ31ZL/CqdM4Qg+r6yL+JmdQvKtbbPzp15v+An7Ly KQmejSJi2m5Ug7Dtl8+eYnE03fO6qt+OpwBgs9kkdxIkU+aAXPLHonGNCSZY5d9ER3 BIphVX1DbETFB3fM6xqB8DMMv0fgsJN9MrB2Rskg= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] NAS and replacing with larger drives Date: Sun, 18 Dec 2022 15:27:31 +0000 X-ASG-Orig-Subj: Re: [gentoo-user] NAS and replacing with larger drives Message-ID: <3394876.QJadu78ljV@lenovo.localdomain> In-Reply-To: References: <9407e524-2226-6ba9-dd7f-bac635d083e3@gmail.com> 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 Content-Type: multipart/signed; boundary="nextPart1843357.CQOukoFCf9"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <167137726881.2407829.2022666405236322990@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Spam-Status: No, score=-0.2 required=11.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from * author's domain * -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from * envelope-from domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mailclean01.unlimited.uk.net X-Barracuda-Connect: mailclean01.thundermail.uk[149.255.60.66] X-Barracuda-Start-Time: 1671377273 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://149.255.60.67:443/cgi-mod/mark.cgi X-ASG-Orig-Subj: Re: [gentoo-user] NAS and replacing with larger drives X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 3116 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.102923 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: eb57fc4e-b2db-425f-9110-712581935f00 X-Archives-Hash: 688ffa6b858837219f1bd7a5a701d4a5 --nextPart1843357.CQOukoFCf9 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] NAS and replacing with larger drives Date: Sun, 18 Dec 2022 15:27:31 +0000 Message-ID: <3394876.QJadu78ljV@lenovo.localdomain> In-Reply-To: MIME-Version: 1.0 On Sunday, 18 December 2022 15:12:37 GMT Dale wrote: > Mark Knecht wrote: > > On Sat, Dec 17, 2022 at 4:42 PM Dale > > wrote: > > > > > > > My reasoning is simple, I'm already familiar with LVM and how to > > > > manage it. > > > > > > Take the machine, wipe it and build a NAS from scratch with Gentoo. If > > all you want is an NFS mount that won't be difficult. Add an NFS > > server, export your mount and you're done, right? Managing it over the > > long term will be far more work than TrueNAS but you will be > > comfortable with changing disks and adding network cards which > > is important to you. Life is too short to deal with things you really > > don't enjoy. > > > > I would not suggest you look at Ubuntu Server because it's NGL. 10 > > minutes to install, 3 minutes to figure out how to add the NFS server. > > However it's a different package manager and truly not as nice as > > emerge/portage so you probably won't like that part of NGL either. I > > truly don't like apt, but it works if I stay in my lane so I've > > learned to do that, the advantage being I've never had to build a > > package from scratch and I've never in 5 or 6 years had an update fail. > > > > Wipe the machine. You'll be happier. > > > > Best wishes, > > Mark > > Well, I finally got it so I could do a backup. I didn't need a hammer > but the thought crossed my mind. lol Even tho I now have a 1GB network > card, it's still really slow. It shows up as a 1GB connection on both > my Gentoo machine and the NAS machine. This is a example of the speeds > I'm seeing. Just snippets. > > > 277,193,507 100% 16.18MB/s 0:00:16 > 519,216,571 100% 18.86MB/s 0:00:26 > 738,078,565 100% 23.54MB/s 0:00:29 > > > As you can see, the files sizes are large enough it should do better. > When I use iftop, it shows it isn't doing anywhere near the speed it > should, maybe 1/4th or so. I'd expect at least double or triple that > speed. In all honesty, I'd think the hard drive would be the limiting > factor. Even on my Gentoo rig I only get about 50 to 60MBs/sec for > encrypted drives. I think the encryption slows that down. When copying > from a plain drive to a plain drive, I get 100MBs/sec or so. > > I can't figure out why it is so slow tho. The NAS rig is a 4 core CPU > and 8GBs of memory. It should have enough horsepower under the hood. > Maybe it is something I'm not aware of. It is a older rig so maybe it > isn't SATA's fastest version, maybe even the original or something. I > can't find anything in lspci or dmesg so not real sure where to look on > BSD. > > Anyway, it's progress for now at least. ;-) At this rate, it'll be > done in about a week, maybe. o_O > > Dale > > :-) :-) Has it auto-negotiated a full-duplex connection at 1Gbps? Run ifconfig and check the output, it should say something like: media: Ethernet autoselect (1000baseT ) If not, then you may need to set this up manually. --nextPart1843357.CQOukoFCf9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmOfMWMACgkQseqq9sKV ZxkODw//SOGaXVV2SrJvEZyoWb0lWIqt17gYqFvayie3LniDFr2yjb+X9B0hvR2w 7E0zG8bDpqXYQYmcN16c0K9SscqTr0W1VP4QzgTDWE5jblP8O88WQjcyWNctW0fC EyHyOKjrKE7Xaas4Xa6kd2Y/RvftB2Pg7BYL1GMbB/gmZ9VbKsCMkbKvU1NYS9dM LatKuQErgsMbYVJFdQ/4W3Sp9XtFNM2SFYgcaUx7N7N6ZKotidF4nEYD4TPChb+G s0os8RXtmekgfRlIlIbCt0oh2ezzpYjjPaAMNyN49fxMeXW90HeRIR01r4i0Kn7w QCCdyr5rvUPHiRFMe53tpDiLL8N0FXZJ9LU5X6g/YiSOpd/IwiKnvdjzzz2lajbU kc2V7YLbxLssTevd8/7k01AvepksL+X3ZwXKrOppBObDlxwpzh+XPwi94hM1afyC Utn/dHv+jUF0VAH6gDGLmPbIBW15qMerIj7fzT/z7U8IbuaGJpQ5z2f3yRoWfM4C 2sG0lGFY00iS96lEQm7WiNIzui4B8+Qj9ZuBsH5tZ/xZojDtxSyrp0jzxySusemk NCf6tZDKb/R4W4kw+gpzI3YukhUd0FqfnjeVKhpwkuMEpXlL9cdI13aUOLTSLBg9 G2+kM1s5AOeJEMnEQ3/ILNXGAK6YQIFP6XMgWsaiBgN9G1u/0XA= =z84B -----END PGP SIGNATURE----- --nextPart1843357.CQOukoFCf9--