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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E59E8158020 for ; Fri, 16 Dec 2022 22:35:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95DF9E08F6; Fri, 16 Dec 2022 22:35:10 +0000 (UTC) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 546F3E088F for ; Fri, 16 Dec 2022 22:35:10 +0000 (UTC) Received: by mail-qt1-x82d.google.com with SMTP id ay32so3884676qtb.11 for ; Fri, 16 Dec 2022 14:35:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=Yb70Ga2jpsom8CEpIQTiA7cUssaSi4/kP+/xlG6G/ig=; b=Kc0+eRmBGdC9CAOVc2+qjoxF1kqzY6Jv3XqOEOT9Wjl9wBtV5m/u6F31YJWO7fgWxb BVZdYTFC8Cq+/6LYvHSIf6bSqahDZ+BybPxJmSOPmeYJpHh+VdVQLgQZKQPjkXtZoerK xLaTHQXmc+0YKX7COklPAsDYqan4swIvdxgyrJoXDrvKkPnp84EB6V2w3e6D/eEqMC9F 8Iuy/OLQezCvjkrME041UalcvpBWrJVt5GGDYkxc1WdWsZwJz+R405ADU3pj+aPcflE4 sG+a6yg669HX5tBNUhDGMFcigiWWHHK6P8cHjyPPGSOvDHCxbBdLnI2uDak1RlFPaaFa GH6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yb70Ga2jpsom8CEpIQTiA7cUssaSi4/kP+/xlG6G/ig=; b=SFpV9ge/SltFNssuCdpSZgsbjYUDoB3RNxXKzT9j1GN7tGCHtirb80kuKhJ9MC9xe1 4Ro5WR3yuPoVs6J7ja7f42iClQ93HZiraFZBgqgo2i3Nw2ZWPx1uhR2DsVGfYcJlHrO8 1jLrNFxwZz6AG5QryVM9LH5+PalafalJ5s9lMuVQH56MOfuUGZOveDGdZXPzZpLMeLA8 juLgwV3Zv1bpaq/TZbTMDvEye1/kiH87jbN2F1LA8xHvwerN49dY3BxK+tTzRA4G64Kn BpnksQPhQHCq/44jfqlVQUlSotaiuFORyxiJxmplcL7ZJ8/F73k+WBhFfMmYG0wNLHiT 4elw== X-Gm-Message-State: ANoB5plTdMRZBpNcnvYXfgbEBzBjFgelrUxWQ5A74fhXoi5dPzPJLK0v 8vbehc0amZwVJT8TzJRkl+A9CEE7cp4= X-Google-Smtp-Source: AA0mqf4rPl1YGizpB177g2zTS4ZviD/NUUo32UrIJoBIPuWgZpqR0ti78UHIO5CnFeN/5agSZ2hgfQ== X-Received: by 2002:ac8:141a:0:b0:39c:da20:f7ac with SMTP id k26-20020ac8141a000000b0039cda20f7acmr40916603qtj.9.1671230109324; Fri, 16 Dec 2022 14:35:09 -0800 (PST) Received: from [10.8.8.11] ([37.19.221.77]) by smtp.gmail.com with ESMTPSA id r17-20020ac84251000000b003a50ef44a77sm2015270qtm.28.2022.12.16.14.35.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Dec 2022 14:35:09 -0800 (PST) Subject: Re: [gentoo-user] NAS and replacing with larger drives To: gentoo-user@lists.gentoo.org References: <9407e524-2226-6ba9-dd7f-bac635d083e3@gmail.com> <10b30d8a-5c5d-a80a-e659-b5624e2848e4@gmail.com> From: Dale Openpgp: preference=signencrypt Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJy8gAKCRA3RqOgiQH1G+waEACeTZCt77jnRAmQ AV7otKuZekDWiLi3Eig8tj5ZJiCNSYA/hIxzmexRP0GMqjitcXK1iGw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 2022 16:35:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.14 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 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: f0479ba8-6571-4582-b353-62eb6e696252 X-Archives-Hash: fbc0c918e7e367af30d89cc7c2853f80 Frank Steinmetzger wrote: > Am Thu, Dec 15, 2022 at 10:08:02PM -0600 schrieb Dale: > >> I have a couple questions.  I currently have the NAS thingy on a older >> Dell machine.  It has a 4 core CPU and 8GBs of ram so it is acceptable, >> for the time being at least.  Bad thing is, only two drive bays.  :/  I >> have a few questions that I can't quite find answers to with google.  >> >> 1:  I have the OS on a USB stick.  From what I've read, they do fail due >> to wear at some point. > OTOH, TrueNAS is designed to run from it, so I would assume it handles its > root drive with care. Perhaps you can disable verbose logging and such. I've just read that changes were made a while back and they recommend not using a USB stick anymore.  It works but they tend to not last as long as they once did.  There could be any number of variables in that tho.  > >> If I reinstall TrueNAS on a new USB stick, will it automatically see the >> previous pools and such or do I have to set everything up again fresh? > Pools and their metadata are stored inside the pools. In Linux, you don’t > even need to set up fstab. The pool stores its mount point internally. So > you just start the zfs daemon and it does everything magically. > >> In other words, will I lose data? > You won’t lose data, of course. But I think you meant settings(?). Probably > about users, shares and such. Perhaps it has an export feature which can be > run periodically. > >> This also includes if it is encrypted. > Encryption is a built-in ZFS feature. So yes, it will remember that. Not > sure about the decryption process (keyfile). That's what I was expecting.  I may test that theory just so I don't run into any surprises.  I kinda figure it works a lot like LVM does.  Different but details stored on the drive itself.  Basically, works wherever you put it.  > >> 2:  Hardware change.  The Dell comes with a 100MB network card.  I >> ordered a 1GB card.  I plan to put it in when it gets here.  Will it see >> the new card and work automatically or will it take some work to get the >> network going? > I assume the kernel is built like many general-purpose-distros: with > everything in it you may need for the purpose. But since it is BSD, it may > have driver issues (availability and stability for certain cards). > Sometimes, when I read news about a new product, people complain that the > NIC is not Intel and will thus cause problems with BSD, especially with > niche stuff like the Killer-brand ethernet cards. > >> and recompile.  I'm not sure about BSD tho.  Since it is sort of a >> binary thing, does TrueNAS handle hardware changes such as a network >> card well?  > I don’t see a connection between being a “binary thing” and hardware change. > Your gentoo is also a binary thing once it is compiled. ;-) My thinking was, I didn't compile any of the software myself.  Sort of like if I install a binary based distro.  It may have a feature or driver turned on, it may not. Maybe you are right, it will at least have the driver it needs built as a module and it will load it and work fine.  I have the same card in my Gentoo box so it is Linux compatible so in theory, should work in BSD as well.  I'd think.  ;-)  First thing, it has to get here.  It's already two days later than originally claimed.  >> I also found out something power wise.  The Dell when booted and sitting >> idle consumes about 120 watts monitor and all. > I figured as much when you mentioned its 100 Mbps card. It must be old then, > and back then, idle power was a non-issue. > >> My main rig consumes just under 200 watts.  Not to bad > That’s a very lot for my taste. With a lower mid-range GPU (110 W Radeon R7 > 370) and one spinning rust, my 8-year-old PC used to idle at 50 W. Without > the HDD and with Intel graphics it is now at 27 W. Still not a good number > when compared with today’s hardware. My Gentoo rig is a little old too.  AMD 8 core CPU, 32GBs of memory, LOTS of hard drives.  I think there is eight in there right now.  A couple may be older but most are newer.  >> but a Raspberry Pi would likely consume 15, 20 watts max according to what >> I've read. > My 3B idles at 5 W tops, I think. It cannot be much more under load since it > comes without a built-in heat spreader. > >> Given the number of hard drives, it could pull 25 or 30 watts max but >> doubtful it would get that high.  I'm looking at 4 bays but also found a 6 >> bay.  I think 6 is overkill tho.  > My four-bay NAS has four 6 TB drives and it draws around 50 W at idle. But > that’s because it is a server board, incuding IPMI chip (and—interestingly— > an internal USB-A for an OS stick). And it’s Haswell generation, so almost a > decade old design. For this reason I switch it on only every few weeks or > even months and only keep it running for a short time. > >From what I've read, the Raspberry Pi pretty much all sip on power.  They really efficient.  It's nice to know that even tho the one you mention is more powerful, even it only pulls 50 watts.  Thing is, I don't plan to run the one I build except when updating backups.  The rest of the time, tucked into the fire safe.  Thanks for the info.  Now to read next response.  Dale :-)  :-)