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 CC312158020 for ; Mon, 12 Dec 2022 00:32:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F5DDE085E; Mon, 12 Dec 2022 00:32:15 +0000 (UTC) Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (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 E94C7E0826 for ; Mon, 12 Dec 2022 00:32:14 +0000 (UTC) Received: by mail-qv1-xf2a.google.com with SMTP id h10so7272438qvq.7 for ; Sun, 11 Dec 2022 16:32:14 -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=/JSei0XmcOsYHwvbaFuI8gQEHUMkcrzHMgvnlxkz9EQ=; b=B6usRmCpxUN0YDsjpG7djsrrfswCwqXOSDaKTck2BYKMwKXiKIUtBZHw7j43N7T+cM W1oKgcdYg1GPse7oZ11tmGj3RX5TojWHk3UuF85gEslmGl0VvF9lQmEJE59PH47x5dxP 4XdUkN4fNzKeafeCGtl/He+OqYddnMQRWwC0RKZWq1rJZyh9zFTp7wE7qIe9I91hZhZn cRFvek5mUjqr9dwR1h3FojW6gPT4cNjUHiigwvZ1RFa7vNz3JHZb38yMrPCDHfJwzG45 cq2BnqUHpvKXNPKHORNKhOq/tbXtfTwdldVtDsTH5eflaftS4Q4Py1JDtCdNv7zdIzAD r7tg== 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=/JSei0XmcOsYHwvbaFuI8gQEHUMkcrzHMgvnlxkz9EQ=; b=WKT0Gl1lJ3mGD8qOjtpy3cLU0idIgOq3tUTa5Xs04MkwN9PgOFt13yT87jLVSAyRoD /JI/js2eIaIHAtTHDyNjH0gTEwTyRL0cbCYz96vM04hwypUcneR4H28Ru0BV2KRq8gwu nzJO+j0BbMqcwKeS/PzyZcCGXiLFplIJlZcBi/d+r1l43giVjGhhZ87mO7mS8UM1mPvp EL0ttX7542UB5/2UHk54mTzpXLjC6hXK1txJudLn2aOdTvHwdHrHX3SAW0d5hFQ4UUei nx68A3Bh6TjwrrlM+c+XObk4jv01Eb756WeZCB6tiGzm8kxnux1hhgkrGzfVb4Z6NWdl 4s4g== X-Gm-Message-State: ANoB5pn2zQvlGAEQpJp65UBIF4RY57vuZWxgCQpdpTI5XC3EH+zBuYKg jTrJF/oRFVE47KwQk1rWFDXY5lpRTZI= X-Google-Smtp-Source: AA0mqf6OztivxJi4YxQliWQ3MwrElzGbD9DX5mjUOJBneuyKjpDFNd/AplwGgzdUYL5M99pJ83EU/A== X-Received: by 2002:a0c:f4c9:0:b0:4c6:e395:b6f7 with SMTP id o9-20020a0cf4c9000000b004c6e395b6f7mr19772814qvm.30.1670805134130; Sun, 11 Dec 2022 16:32:14 -0800 (PST) Received: from [10.8.8.10] ([37.19.221.77]) by smtp.gmail.com with ESMTPSA id f1-20020a05620a280100b006ff8ac9acfdsm2725205qkp.49.2022.12.11.16.32.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 Dec 2022 16:32:13 -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> <9cbb275e-8b55-6544-dad8-e8f03d114205@gmail.com> <000bc7fe-92ad-86d0-3688-17da2c978e91@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 AV7otKuZekDWiLi3Eig8t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ec 2022 18:32:09 -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: 21a2b577-aaa6-4646-be88-9c7efbd2ed23 X-Archives-Hash: e7bd9cf207185bdeffdca8489217d34d Frank Steinmetzger wrote: > Am Sun, Dec 11, 2022 at 08:44:42AM -0700 schrieb Mark Knecht: > >> Also, I think there are ways for you to build complex pools like a RAID0 >> from your 6TB and 8TB drives, and then a RAID1 using the RAID0 and your >> 14TB drive but I've never tried it because mine don't have enough drive >> slots for that. > After a longer fruitless search on the interwebs (I ddidn’t want to start up > my NAS just to check this) I finally found the right search keywords and > found a reddit thread about that. And it even throws LVM into the > discussion. ^^ > https://www.reddit.com/r/zfs/comments/fitc73/raidz_with_nested_vdevs/ > > Also : > “Here's a definitive answer from the man page for zpool. > > Virtual devices cannot be nested, so a mirror or raidz virtual device can > only contain files or disks. Mirrors of mirrors (or other combinations) are > not allowed.” > > > I would advise against a JBOD pool anyways. Because if one drive dies, the > whole JBOD is gone. That goes for ZFS and probably for LVM, too (though I am > not sure how writes are distributed across JBOD disks). If the goal is > redundancy, you could buy a second drive to match the size of an existing > one and build a mirror. If redundancy is not a goal, then use the drives > separately like you do now. If one fails, then only its content is gone (or > even just the files sitting on the broken sector). > >> Also, turn on compression. It saves me between 15-20% so 14TB becomes 16TB >> storage. YMMV. Video files don't compress, at least not much. Data files >> generally do. > It doesn’t hurt to switch it on, especially with lzo. But with video, the > benefit will be negligible. When storing a block of data (a “record” in ZFS > speak), it is passed through the compressor and only if the compression gain > is above a given threshold (10 % methinks), the block is written to disk > with compression. > > What is more relevant in filesystems for big files (i.e. videos): set the > record size to 1 MB. The default is 64 kB, IIRC. Each record requires one > block of metadata (which includes the record checksum). So bigger records → > fewer meta blocks → better storage efficiency. > > If you use big records for small files, then efficiency goes down a little. > It’s a similar (but a little more complicated) principle as when you write a > 100 byte text file to a file system that uses 4 kB clusters. That file will > still use up 4 kB on disk. > > The record size can be set per-dataset. So in your pool you could create a > dataset with a smaller record size for office documents, images and music, > and another dataset just for videos. > >> Hope this helps. I think you'll find TrueNAS fun actually but there is a >> learning curve. I've used it for about a year and barely scratched the >> surface. > The main reason for me why I would wanna use it as opposed to a standard > Gentoo install: the OOTB web interface to manage all sorts of accounts, > access and permissions under one nice hood. > Interesting info.  Since this is a duplicate copy already, I'm not to worried about RAID stuff.  I'd rather have two separate backups myself.  Store them in different places for even more safety.  Still, one of these days.  ;-)  I'm still getting this error.  root@fireball ~ # mkdir /mnt/Backup/Videos mkdir: cannot create directory ‘/mnt/Backup/Videos’: Permission denied root@fireball ~ # I've tried every permission in every place I can find.  I have a user set up, set permissions under storage and pools, all the little directory thingys under it too.  It mounts so I'd think I got everything set up correctly in the Share section.  I actually followed a guide and I don't think I missed anything.  Still, I can't write anything to the thing.  It mounts fine, even shows it is mounted rw.  I can't find anything wrong on the puter or NAS ends.  This reminds me of the last time I played with BSD.  It works so different, it just throws a person upside down and shakes them.  I did switch to TrueNAS tho.  Thing is, I got the same result from both, exact same error.  Can't be a bug.  It has to be me.  No idea what I missed but I bet I did.  lol  Just gonna keep banging on it.  :-D  I do like the GUI part.  That's pretty neat.  Dale :-) :-)