From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-200249-garchives=archives.gentoo.org@lists.gentoo.org>
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 0BD54158020
	for <garchives@archives.gentoo.org>; Sat, 17 Dec 2022 23:41:50 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 82F33E08F7;
	Sat, 17 Dec 2022 23:41:43 +0000 (UTC)
Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29])
	(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 05C9DE08A0
	for <gentoo-user@lists.gentoo.org>; Sat, 17 Dec 2022 23:41:42 +0000 (UTC)
Received: by mail-qv1-xf29.google.com with SMTP id q10so4092487qvt.10
        for <gentoo-user@lists.gentoo.org>; Sat, 17 Dec 2022 15:41:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=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=UzA97nE65LT7y72RzGS8jNCgUs6Z9lit1womTzt8i2E=;
        b=ACehbBAIUiFN40tK0F03B8yyCxKLC4LNqepYPqR+juxX+8+PBT9C4UNAtT46soNUIs
         79a/qrpCYf8ZhJhCHPDnWgkRQm0PFojx5uTqCGOgp+M1U1rXqQa87UTTzB1SSs7Ih726
         nXJcgYqftKih7+JdT4JFoJ03d1Dw0ydh7C53ALMDCUtUtcEpsDsspCg8jj/AIpGgTlk0
         aYYEAEShnte1ZSzJxANHiOeDoD/3FzsAgQZ820awdxH2Dynx4CS2D9UsxL/oR9y7K6L3
         ZNEvPUAV5l4JIvgQhVBRmeJHdGaKJ+eqLZ0lDluFb5CHZ7WL0bPWGHMdX6HGVG0g9ycV
         9uNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=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=UzA97nE65LT7y72RzGS8jNCgUs6Z9lit1womTzt8i2E=;
        b=ykWz7ZYwSihVLqplfhvx0iMM18bL2tXwQekh2liJcyy/5jVI9UZs2yTFIil5BlvfF9
         P2B4Re7Aq8ZqWCHcY2D7mhg/jT2+MNj43S/Iuagj8OTcEatHan1vghN0bfn2DyW3DOpc
         9FItfNewxQlWe1hQsZQ+uRTWTiznUgx6A3EJrRy1d/kXSoQt6jY+RQA+KcHMo5iNRJzT
         7L7PlZJx6YkbaKmPuftV8giM7rNf3SZr7BplmQDryOUbTZH2uf9B/xtMmgveStv5Ykor
         exmDk5bOxOa+ZdYoKXrJjdmgur1dyQUcU+lBMytbipQ9ryXQu/P/TgB+iumvM3pe0ct2
         pA4Q==
X-Gm-Message-State: ANoB5plldaDNBnJAD+Ftm1+b/w4OuQpZPd9JT7TVlMFww+aHUwzSod97
	zc9BTfyvqd9PV0Vbrh/f2dIvKkPjifQ=
X-Google-Smtp-Source: AA0mqf6d5cYhHaNfPdn1CcGMQ3EwWKBMLYK2vNdeCh428IQ1H6hABtluPO8JzqjKUKpBEX5n6Q9Nxw==
X-Received: by 2002:a05:6214:2402:b0:4b4:a3d5:8ce8 with SMTP id fv2-20020a056214240200b004b4a3d58ce8mr74220582qvb.10.1671320502117;
        Sat, 17 Dec 2022 15:41:42 -0800 (PST)
Received: from [10.8.8.11] ([37.19.221.77])
        by smtp.gmail.com with ESMTPSA id bm24-20020a05620a199800b006fa4cac54a5sm4270791qkb.72.2022.12.17.15.41.41
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Sat, 17 Dec 2022 15:41:41 -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>
 <CAK2H+ecOuV0au4puhS6jkTb2d4-n269V83Mdmcor33Ku1xwQTQ@mail.gmail.com>
 <78c2c83f-fdd8-5c9b-3ac3-7c22bc4b5d64@gmail.com> <Y50EERoOZ39qsZnS@tp>
 <0a10c428-94f1-6112-4d88-c97143f9564d@gmail.com>
 <CAK2H+efggkKtnHskq9CCHZ-+zpuTEx40pADE_s0+RqMhNndL3g@mail.gmail.com>
 <acc6af1e-c24c-e99a-12ba-ca5b7f083f82@gmail.com>
 <CAK2H+edZztT+Z0NxS8rczjnOhQf+K08XwxY00vr_BR4LX03cDg@mail.gmail.com>
 <7a8384d4-4213-b2df-df28-2b56a8b2d030@youngman.org.uk>
 <CAK2H+efdzK2sEn5xz-oXtp52d2tzjHwY-ieyrFhmq40hh1yawg@mail.gmail.com>
From: Dale <rdalek1967@gmail.com>
Openpgp: preference=signencrypt
Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata=
 mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i
 oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI
 wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh
 Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+
 0Pet8zx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Ut27xlfnKYOmQs7CqONlXuXlGZI6WufrUjxNcVz+5gJsqvUWuuJWsgg
 sDmE92IBnfG/f81fPHWQyfr/SF4wYDMyoFp5xCCQpp1zB63iuFvvrhxBkEHzmbRtVDOhl0Xp
 BVEDR1w3QRACw9QJD/KM05Czv9JNQYlwinWO/OaQ9cMlUpKLgswUPg9IZ5vucxScfuAUA5uC
 B1jlAQ8ZPlVukBmbEv5RGOv+lpuEbA3YDMVtEeH4YMFbjt/+vH3Cr2vTbp5JlpByLburJEH0
 WXZLUawEfUsZvVwpOuJK75vaa2HYXee+Cb3iCIzwfIfctdlqzUcbGRczlRNM59hpvj4z29Gh
 3kAxVHItAYq54ikxQ9l4hQ8s9sLYPbX/WtcBxNX8crBSw0FLnmzGleVEtBHyqtt5CLzQNgrj
 GYWl1vKDUmRPw1CdZ1c+fMN9CY11jOM5B5ZnqZWfDeVYO2iJ5SuvTycChexCb8WYn1bdCBIo
 bBtga2RBXbVt4Mh9E4owsszefn51MwfjXxB20Fc5k3GU1AVpTCMs3ayYCzo0b2pvEvdjtDcA
 CYLEFPWgaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU
Message-ID: <cf466820-b40c-b27d-1f48-a84189c9c9bc@gmail.com>
Date: Sat, 17 Dec 2022 17:41:40 -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: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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: <CAK2H+efdzK2sEn5xz-oXtp52d2tzjHwY-ieyrFhmq40hh1yawg@mail.gmail.com>
Content-Type: multipart/alternative;
 boundary="------------65AAE7D089E0E3E4DFA20E24"
X-Archives-Salt: 5fdae9e7-2bfc-43fa-837f-7c8ec46b1787
X-Archives-Hash: 1cb6fb6ec501fa1528cdfcf625963608

This is a multi-part message in MIME format.
--------------65AAE7D089E0E3E4DFA20E24
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Mark Knecht wrote:
>
>
> On Sat, Dec 17, 2022 at 12:10 PM Wol <antlists@youngman.org.uk
> <mailto:antlists@youngman.org.uk>> wrote:
> <SNIP>
> > Do you want the system layered, with each layer doing one job? Use
> > dm-integrity to protect against corruption, raid to join the disks, lvm
> > to partition them, and ext to manage the directories and files.
> >
> > I do the latter ...
>
> No argument there, at least on a group of drives where you 
> want to have flexibility in the future. Desktop computers or
> system drives certainly. You didn't tell me what replaces
> the compression aspect of the problem but I'm sure there's
> something. It's a great strategy if you have the expertise and
> time to set it up and then manage it when a problem arises,
> if it ever arises. 
>
> I'm just asking what's the purpose of doing LVM, or your
> suggested layering, specifically on a storage pool for a 
> home user like Dale? That's the part I don't understand, 
> especially for a new NAS user like Dale?
>
> Mark
>
>
>

My reasoning is simple, I'm already familiar with LVM and how to manage
it.  While I swap drives on my Gentoo rig pretty regular lately, I don't
want to be limited from doing that on a NAS either.  If for example I
want to replace a 10TB drive with a 16TB drive, LVM makes that easy and
I know how to do it already.  With ZFS tho, is that even doable and if
it is, do I want to learn to do it with a new tool?  From what I've
seen, I'm not even sure you can do that.  It seems you can expand by
adding a drive but not replace or shrink. 

As a example.  I went back to a basic pool of two drives.  I then
recreated a dataset, or whatever it is called, and added for it to be
encrypted.  Since I did that, I get write errors.  I can mount it just
fine but that's it.  I have no idea what the cause is, google isn't
helping and to be honest, I'm thinking about target practice for the
thing.  It took me a good long while to set up the most basic thing. 
Adding encryption shouldn't be hard but apparently, it is more difficult
than I thought.  That or its so secure even I can't use it even with the
password.  lol 

This is what I like about LVM and cryptsetup.  I create a partition, or
use a whole drive, as needed.  I use cryptsetup to start the process
with one drive.  I then put ext4 on top of that.  Then I add a second
drive to that pv, add that to the volume group, extend the file system,
all done.  And it is encrypted as well.  If I need to move from one
drive to say a larger drive, no problem.  Add drive, move data, remove
old drive, extend file system if needed, all done.  I have notes but
I've done it a lot recently and have the general idea still glued to the
back of my head.  ;-)  Thing is, ZFS isn't making sense to me so I'm
clueless where to start when something goes wrong or even getting it to
work period.  I may try watching a video on ZFS and see if that helps. 
Maybe it will, maybe I'll still prefer LVM.  After all, I'm a old dog. 
New tricks ain't easy.  ROFL 

If I bought a pre-made NAS, I'd just have to deal with it.  I'd keep
hammering until I got it to where I could backup my data.  If I build a
Raspberry thing, NAS software may not be my first choice.  Maybe, just
maybe, my light bulb will pop on and I can make sense of TrueNAS and
ZFS.  If so, fine.  Right now, it's a lot of work with really no gain. 
I'm not able to backup my data yet.  It's a brick, time consuming and
confusing brick at that. 

After supper, I'm rebooting and see if I can beat some sense into
again.  Seriously considering using dd and starting over from scratch. 
I can't figure out how to do that with the GUI thing.  No delete button,
that I can find anyway. 

Dale

:-)  :-) 

--------------65AAE7D089E0E3E4DFA20E24
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Mark Knecht wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAK2H+efdzK2sEn5xz-oXtp52d2tzjHwY-ieyrFhmq40hh1yawg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr"><br>
        <br>
        On Sat, Dec 17, 2022 at 12:10 PM Wol &lt;<a
          href="mailto:antlists@youngman.org.uk" moz-do-not-send="true">antlists@youngman.org.uk</a>&gt;
        wrote:<br>
        &lt;SNIP&gt;<br>
        &gt; Do you want the system layered, with each layer doing one
        job? Use<br>
        &gt; dm-integrity to protect against corruption, raid to join
        the disks, lvm<br>
        &gt; to partition them, and ext to manage the directories and
        files.<br>
        &gt;<br>
        &gt; I do the latter ...
        <div><br>
          <div>No argument there, at least on a group of drives where
            you </div>
        </div>
        <div>want to have flexibility in the future. Desktop computers
          or</div>
        <div>system drives certainly. You didn't tell me what replaces</div>
        <div>the compression aspect of the problem but I'm sure there's</div>
        <div>something. It's a great strategy if you have the expertise
          and</div>
        <div>time to set it up and then manage it when a problem arises,</div>
        <div>if it ever arises. </div>
        <div><br>
        </div>
        <div>I'm just asking what's the purpose of doing LVM, or your</div>
        <div>suggested layering, specifically on a storage pool for a </div>
        <div>home user like Dale? That's the part I don't understand, </div>
        <div>especially for a new NAS user like Dale?</div>
        <div><br>
        </div>
        <div>Mark</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    My reasoning is simple, I'm already familiar with LVM and how to
    manage it.  While I swap drives on my Gentoo rig pretty regular
    lately, I don't want to be limited from doing that on a NAS either. 
    If for example I want to replace a 10TB drive with a 16TB drive, LVM
    makes that easy and I know how to do it already.  With ZFS tho, is
    that even doable and if it is, do I want to learn to do it with a
    new tool?  From what I've seen, I'm not even sure you can do that. 
    It seems you can expand by adding a drive but not replace or
    shrink.  <br>
    <br>
    As a example.  I went back to a basic pool of two drives.  I then
    recreated a dataset, or whatever it is called, and added for it to
    be encrypted.  Since I did that, I get write errors.  I can mount it
    just fine but that's it.  I have no idea what the cause is, google
    isn't helping and to be honest, I'm thinking about target practice
    for the thing.  It took me a good long while to set up the most
    basic thing.  Adding encryption shouldn't be hard but apparently, it
    is more difficult than I thought.  That or its so secure even I
    can't use it even with the password.  lol  <br>
    <br>
    This is what I like about LVM and cryptsetup.  I create a partition,
    or use a whole drive, as needed.  I use cryptsetup to start the
    process with one drive.  I then put ext4 on top of that.  Then I add
    a second drive to that pv, add that to the volume group, extend the
    file system, all done.  And it is encrypted as well.  If I need to
    move from one drive to say a larger drive, no problem.  Add drive,
    move data, remove old drive, extend file system if needed, all
    done.  I have notes but I've done it a lot recently and have the
    general idea still glued to the back of my head.  ;-)  Thing is, ZFS
    isn't making sense to me so I'm clueless where to start when
    something goes wrong or even getting it to work period.  I may try
    watching a video on ZFS and see if that helps.  Maybe it will, maybe
    I'll still prefer LVM.  After all, I'm a old dog.  New tricks ain't
    easy.  ROFL  <br>
    <br>
    If I bought a pre-made NAS, I'd just have to deal with it.  I'd keep
    hammering until I got it to where I could backup my data.  If I
    build a Raspberry thing, NAS software may not be my first choice. 
    Maybe, just maybe, my light bulb will pop on and I can make sense of
    TrueNAS and ZFS.  If so, fine.  Right now, it's a lot of work with
    really no gain.  I'm not able to backup my data yet.  It's a brick,
    time consuming and confusing brick at that.  <br>
    <br>
    After supper, I'm rebooting and see if I can beat some sense into
    again.  Seriously considering using dd and starting over from
    scratch.  I can't figure out how to do that with the GUI thing.  No
    delete button, that I can find anyway.  <br>
    <br>
    Dale<br>
    <br>
    :-)  :-)  <br>
  </body>
</html>

--------------65AAE7D089E0E3E4DFA20E24--