1 |
Am Sat, Dec 17, 2022 at 09:09:48AM -0700 schrieb Mark Knecht: |
2 |
|
3 |
> On Sat, Dec 17, 2022 at 8:52 AM Dale <rdalek1967@×××××.com> wrote: |
4 |
|
5 |
> > > I |
6 |
> > > wonder, could one install the LVM stuff and use that? That would be |
7 |
> > > interesting. I wonder if there is a NAS software that uses LVM |
8 |
> > > instead. Interesting thought. I just may go bug google on that one. |
9 |
> > |
10 |
> > Maybe I'm missing the point but why would you want LVM on a |
11 |
> > storage pool? If I'm doing backups I just want space. I let TrueNas |
12 |
> > put it on disk and give it back if asked. Why put another layer |
13 |
> > of indirection? |
14 |
> > […] |
15 |
> It's more about me being more used to using LVM. Also, more used to |
16 |
> Linux as well. BSD is not something I have much experience with and until |
17 |
> recently, none with ZFS. Even the little experience I have with BSD was |
18 |
> well over a decade ago, maybe two decades ago. I barely remember it really. |
19 |
|
20 |
The truenas interface is supposed to hide all that from you. As Mark wrote |
21 |
two posts up, it’s an appliance. You install it once, that’s it. I think you |
22 |
can install addons, but don’t have to. You maybe do updates once in a while, |
23 |
perhaps not even that if it’s a critical production host. You don’t ssh into |
24 |
it to do maintenance or to add or remove disks on the commandline. That’s |
25 |
what the web UI is for. All of it. The biggest and most obvious difference |
26 |
for me would be how devices are named in comparison to Linux. |
27 |
|
28 |
> Hummm...I don't know Dale, I don't know... ZFS is a file system. |
29 |
> LVM is an abstraction on top (or underneath?) of a file system. |
30 |
> My understanding of LVM is that it frees you from hard decisions |
31 |
> on partition sizes, not that it replaces ZFS or ext3/4/5. |
32 |
|
33 |
LVM is “just” an abstraction layer between file system and storage. At the |
34 |
bottom there are your block devices (drives, image files), which then may or |
35 |
may not be RAIDed. Then you have LVM on top of that to encompass all those |
36 |
devices into one big “virtual hard drive” and partition it (logical |
37 |
volumes). And lastly you put file systems into those volumes. So there are |
38 |
two, three (or even four, if you add encryption somewhere in between) layers |
39 |
stacked onto your raw devices. |
40 |
|
41 |
ZFS OTOH is all of that in one. It takes the raw block devices as a whole, |
42 |
puts them (optionally) into redundancy structures, allows for “partitions” |
43 |
(i.e. datasets) and lastly also *is* the file system. The advantage is that |
44 |
it can combine its knowledge about all those layers to improve performance |
45 |
and reliability. So for instance it distributes writes according to vdev |
46 |
occupancy (LVM has no knowledge about the FS layer above it). Or when you |
47 |
rebuild a RAID, only those parts that are actually used by the FS need to be |
48 |
reconstructed, not the whole disk. |
49 |
|
50 |
I may come off as a ZFS fanboy in this thread. But I am in no way an expert, |
51 |
just a small-time user with just that one NAS with one RAID setup. That’s |
52 |
it. I did a lot of reading beforehand, whether I should use it or mdadm or |
53 |
btrfs. All my knowledge comes from that time, I never worked with it in my |
54 |
professional life. |
55 |
|
56 |
I also use LVM on my systems these days, just in case my root partition |
57 |
becomes crowded and needs some extra space that I can take from the media |
58 |
partition. Had to do this once, it went quick and was a fun experience. |
59 |
|
60 |
> WRT you I recommend that you try living in NGL for a while. Possibly |
61 |
> you are just a bit too indoctrinated in the religion of building packages |
62 |
> 30-50 times a year believing (without hard data) that it provides value. |
63 |
|
64 |
+1 |
65 |
I admit I like the occasional update of my Gentoo NAS. But that’s also |
66 |
because it’s my last living Gentoo device. I always liked the environment, |
67 |
still do. Gentoo was my first Linux after all, that stuff stays in your |
68 |
mind. But oh the time-consuming hassle sometimes. |
69 |
|
70 |
-- |
71 |
Grüße | Greetings | Salut | Qapla’ |
72 |
Please do not share anything from, with or about me on any social network. |
73 |
|
74 |
The fantasy of men is often inadequate to grasp the reality of women. |