public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] NAS and replacing with larger drives
Date: Sat, 17 Dec 2022 17:41:40 -0600	[thread overview]
Message-ID: <cf466820-b40c-b27d-1f48-a84189c9c9bc@gmail.com> (raw)
In-Reply-To: <CAK2H+efdzK2sEn5xz-oXtp52d2tzjHwY-ieyrFhmq40hh1yawg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3770 bytes --]

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

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 5159 bytes --]

  reply	other threads:[~2022-12-17 23:41 UTC|newest]

Thread overview: 135+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-08 12:37 [gentoo-user] NAS and replacing with larger drives Dale
2022-12-08 13:31 ` Mark Knecht
2022-12-08 13:58   ` Dale
2022-12-08 17:16     ` Mark Knecht
2022-12-08 23:35     ` Daniel Frey
2022-12-09  0:34       ` Dale
2022-12-10  0:10     ` Paul Colquhoun
2022-12-08 18:36   ` Wols Lists
2022-12-08 20:05     ` Mark Knecht
2022-12-08 20:44     ` Frank Steinmetzger
2022-12-09 13:13       ` Michael
2022-12-09 13:38         ` Frank Steinmetzger
2022-12-09 14:27           ` [OT] " Peter Humphrey
2022-12-09 14:38             ` Frank Steinmetzger
2022-12-10  0:41               ` Peter Humphrey
2022-12-09 15:28           ` Dale
2022-12-10  9:20           ` Wols Lists
2022-12-10 16:19             ` Frank Steinmetzger
2022-12-10 16:30               ` Wols Lists
2022-12-10 17:27                 ` Michael
2022-12-10 18:17                   ` David Rosenbaum
2022-12-11  4:45               ` David Rosenbaum
2022-12-09 14:15         ` Rich Freeman
2022-12-08 23:09     ` Dale
2022-12-08 13:52 ` Rich Freeman
2022-12-08 23:30   ` Dale
2022-12-08 23:38     ` Rich Freeman
2022-12-09  0:03       ` Dale
2022-12-09  0:17         ` Peter Humphrey
2022-12-09  0:45           ` Dale
2022-12-09  8:27             ` Wol
2022-12-09 10:34               ` Peter Humphrey
2022-12-11 11:34                 ` [OT] " Peter Humphrey
2022-12-13 17:36                   ` Laurence Perkins
2022-12-09  8:24         ` Wol
2022-12-09  0:06     ` Frank Steinmetzger
2022-12-09  1:15       ` Dale
2022-12-09  7:56         ` Wol
2022-12-09  9:15           ` Dale
2022-12-09  6:22     ` William Kenworthy
2022-12-08 13:59 ` Frank Steinmetzger
2022-12-08 14:11   ` Rich Freeman
2022-12-08 16:56     ` Laurence Perkins
2022-12-08 23:26       ` Rich Freeman
2022-12-09 14:11 ` Dale
2022-12-10 20:41 ` Dale
2022-12-10 21:28   ` Mark Knecht
2022-12-10 23:54     ` Dale
2022-12-11  3:31       ` Mark Knecht
2022-12-11  4:35         ` Dale
2022-12-11 14:07           ` Mark Knecht
2022-12-11 15:01             ` Dale
2022-12-11 15:44               ` Mark Knecht
2022-12-11 23:43                 ` Frank Steinmetzger
2022-12-12  0:32                   ` Dale
2022-12-12  1:55                     ` Dale
2022-12-12 23:29                       ` Mark Knecht
2022-12-13  0:43                         ` Dale
2022-12-11  2:46     ` David Rosenbaum
     [not found]     ` <CAL+8heNN7CCQcTrhjuJboAnxvi7ACWVAgPuXqj3bwTPNaNQ94A@mail.gmail.com>
2022-12-11  2:49       ` David Rosenbaum
2022-12-11  4:38         ` David Rosenbaum
2022-12-16  4:08 ` Dale
2022-12-16 12:56   ` Frank Steinmetzger
2022-12-16 22:35     ` Dale
2022-12-16 19:12   ` Mark Knecht
2022-12-16 22:43     ` Dale
2022-12-16 23:49       ` Frank Steinmetzger
2022-12-17  3:50         ` Dale
2022-12-17  4:47           ` Frank Steinmetzger
2022-12-17  6:49             ` Dale
2022-12-17 13:54               ` Frank Steinmetzger
2022-12-17 15:15           ` Mark Knecht
2022-12-17 15:51             ` Dale
2022-12-17 16:09               ` Mark Knecht
2022-12-17 16:42                 ` Dale
2022-12-17 17:18                   ` Mark Knecht
2022-12-17 22:56                   ` David Rosenbaum
2022-12-17 19:10                 ` Wol
2022-12-17 20:03                   ` Mark Knecht
2022-12-17 23:41                     ` Dale [this message]
2022-12-18 14:04                       ` Mark Knecht
2022-12-18 15:12                         ` Dale
2022-12-18 15:27                           ` Michael
2022-12-18 18:38                             ` Dale
2022-12-18 18:55                               ` Mark Knecht
2022-12-18 19:20                                 ` Dale
2022-12-18 19:25                                   ` Mark Knecht
2022-12-18 22:08                                     ` Dale
2022-12-19 21:13                                       ` ralfconn
2022-12-18 18:56                               ` Frank Steinmetzger
2022-12-18 15:29                           ` Frank Steinmetzger
2022-12-18 18:59                             ` Dale
2022-12-18 19:53                               ` Wol
2022-12-18 22:11                                 ` Dale
2022-12-19 11:08                                   ` Wols Lists
2022-12-20  6:52                                     ` Dale
2022-12-26  8:01                                       ` David Rosenbaum
2022-12-26  8:00                                 ` David Rosenbaum
2022-12-18 15:29                           ` Mark Knecht
2022-12-18 15:38                             ` Mark Knecht
2022-12-18 15:48                               ` Living in NGL: was: " Jack
2022-12-18 16:17                                 ` Mark Knecht
2022-12-18 19:00                                   ` Jack
2022-12-18 19:07                                   ` Dale
2022-12-18 19:22                                     ` Mark Knecht
2022-12-18 19:30                                     ` Frank Steinmetzger
2022-12-18 20:06                                       ` Rich Freeman
2022-12-18 20:30                                         ` Mark Knecht
2022-12-18 20:34                                           ` Mark Knecht
2022-12-18 20:53                                           ` Frank Steinmetzger
2022-12-18 21:53                                       ` Dale
2022-12-18 22:08                                         ` Frank Steinmetzger
2022-12-18 22:18                                           ` Dale
2022-12-19  1:37                                         ` Rich Freeman
2022-12-19  5:11                                           ` Dale
2022-12-19 12:00                                             ` Rich Freeman
2022-12-19 12:51                                               ` Wols Lists
2022-12-19 13:30                                                 ` Rich Freeman
2022-12-19 16:43                                                   ` Mark Knecht
2022-12-20  0:00                                                     ` Rich Freeman
2022-12-20  1:46                                                   ` William Kenworthy
2022-12-18 17:11                           ` Wol
2022-12-18 18:03                           ` Mark Knecht
2022-12-18  0:20                     ` Wol
2022-12-17 20:47                 ` Frank Steinmetzger
2022-12-21  0:14   ` Frank Steinmetzger
2022-12-21  2:47     ` Dale
2022-12-21  5:53       ` Wols Lists
2022-12-21  6:19         ` Frank Steinmetzger
2022-12-21  7:01           ` William Kenworthy
2022-12-21 20:03           ` Wol
2022-12-21 20:40             ` Frank Steinmetzger
2022-12-21 21:33               ` Wol
2022-12-21  6:52         ` Dale
2022-12-21 13:50           ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf466820-b40c-b27d-1f48-a84189c9c9bc@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox