Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] NAS and replacing with larger drives
Date: Sun, 18 Dec 2022 18:39:13
Message-Id: f3d288d5-afc4-1a70-7d6b-d80fdc519aea@gmail.com
In Reply to: Re: [gentoo-user] NAS and replacing with larger drives by Michael
1 Michael wrote:
2 > On Sunday, 18 December 2022 15:12:37 GMT Dale wrote:
3 >> Mark Knecht wrote:
4 >>> On Sat, Dec 17, 2022 at 4:42 PM Dale <rdalek1967@×××××.com
5 >>> <mailto:rdalek1967@×××××.com>> wrote:
6 >>> <SNIP>
7 >>>
8 >>>> My reasoning is simple, I'm already familiar with LVM and how to
9 >>> manage it.
10 >>> <SNIP>
11 >>>
12 >>> Take the machine, wipe it and build a NAS from scratch with Gentoo. If
13 >>> all you want is an NFS mount that won't be difficult. Add an NFS
14 >>> server, export your mount and you're done, right? Managing it over the
15 >>> long term will be far more work than TrueNAS but you will be
16 >>> comfortable with changing disks and adding network cards which
17 >>> is important to you. Life is too short to deal with things you really
18 >>> don't enjoy.
19 >>>
20 >>> I would not suggest you look at Ubuntu Server because it's NGL. 10
21 >>> minutes to install, 3 minutes to figure out how to add the NFS server.
22 >>> However it's a different package manager and truly not as nice as
23 >>> emerge/portage so you probably won't like that part of NGL either. I
24 >>> truly don't like apt, but it works if I stay in my lane so I've
25 >>> learned to do that, the advantage being I've never had to build a
26 >>> package from scratch and I've never in 5 or 6 years had an update fail.
27 >>>
28 >>> Wipe the machine. You'll be happier.
29 >>>
30 >>> Best wishes,
31 >>> Mark
32 >> Well, I finally got it so I could do a backup. I didn't need a hammer
33 >> but the thought crossed my mind. lol Even tho I now have a 1GB network
34 >> card, it's still really slow. It shows up as a 1GB connection on both
35 >> my Gentoo machine and the NAS machine. This is a example of the speeds
36 >> I'm seeing. Just snippets.
37 >>
38 >>
39 >> 277,193,507 100% 16.18MB/s 0:00:16
40 >> 519,216,571 100% 18.86MB/s 0:00:26
41 >> 738,078,565 100% 23.54MB/s 0:00:29
42 >>
43 >>
44 >> As you can see, the files sizes are large enough it should do better.
45 >> When I use iftop, it shows it isn't doing anywhere near the speed it
46 >> should, maybe 1/4th or so. I'd expect at least double or triple that
47 >> speed. In all honesty, I'd think the hard drive would be the limiting
48 >> factor. Even on my Gentoo rig I only get about 50 to 60MBs/sec for
49 >> encrypted drives. I think the encryption slows that down. When copying
50 >> from a plain drive to a plain drive, I get 100MBs/sec or so.
51 >>
52 >> I can't figure out why it is so slow tho. The NAS rig is a 4 core CPU
53 >> and 8GBs of memory. It should have enough horsepower under the hood.
54 >> Maybe it is something I'm not aware of. It is a older rig so maybe it
55 >> isn't SATA's fastest version, maybe even the original or something. I
56 >> can't find anything in lspci or dmesg so not real sure where to look on
57 >> BSD.
58 >>
59 >> Anyway, it's progress for now at least. ;-) At this rate, it'll be
60 >> done in about a week, maybe. o_O
61 >>
62 >> Dale
63 >>
64 >> :-) :-)
65 > Has it auto-negotiated a full-duplex connection at 1Gbps? Run ifconfig and
66 > check the output, it should say something like:
67 >
68 > media: Ethernet autoselect (1000baseT <full-duplex>)
69 >
70 > If not, then you may need to set this up manually.
71
72 Mine says that here too. 
73
74
75 media: Ethernet autoselect (1000baseT <full-duplex>)
76
77
78 You know, it's not that easy to copy that from a console on BSD.  It was
79 kind enough to give me a hint on how tho.  ;-) 
80
81 I was pretty sure it was at full speed.  In iftop it showed it was a 1GB
82 connection, just not using much of it. 
83
84 I suspect it has something to do with this being a older system.  I
85 wouldn't be surprised if the SATA was a older and slower version.  I
86 guess I could google it. 
87
88 Dale
89
90 :-)  :-) 

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] NAS and replacing with larger drives Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] NAS and replacing with larger drives Frank Steinmetzger <Warp_7@×××.de>