BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Debian 11 -> 12
- Subject: [Discuss] Debian 11 -> 12
- From: richard.pieri at gmail.com (Rich Pieri)
- Date: Thu, 30 May 2024 15:08:58 -0400
- In-reply-to: <5a1522b2-3ae4-4496-9b58-0ee9475377c6@borg.org>
- References: <4ce2088f-6eef-414d-9c6a-e4ae3aae005f@borg.org> <01ada0c6-0b70-414a-bf6e-8a0005529203@borg.org> <20240519182325.62e7b5d3.Richard.Pieri@gmail.com> <ec3822a4-baeb-42cd-8092-2344a1d5f514@borg.org> <20240520141310.48334308.Richard.Pieri@gmail.com> <20240522150727.16e8dc9a@mydesk.domain.cxm> <20240530154752.GC15543@bladeshadow.org> <18475cc5c596826d1b0461b3f2f9f7b4.squirrel@mail.mohawksoft.com> <5a1522b2-3ae4-4496-9b58-0ee9475377c6@borg.org>
On Thu, 30 May 2024 10:15:18 -0700 Kent Borg <kentborg at borg.org> wrote: > I would amend that: Any new deployment?that is conventional (from > ZFS's perspective) and can afford the necessary expertise. While ZFS's *syntax* is different from say LVM + ext4, in *practice* it's quite simpler: zpool create tank /dev/sda /dev/sdb... zfs create tank/mydata vs gdisk /dev/sda, create partition; repeat with /dev/sdb... pvcreate /dev/sda1; repeat with /dev/sdb1... vgcreate volumegroup /dev/sda /dev/sdb... lvcreate -L size volumegroup logicalvol mkfs.ext4 /dev/mapper/volumegroup-logicalvol mkdir /mountpoint edit fstab mount /mountpoint Want to change a mountpoint? zfs set mountpoint=/path/to/mydata zpool/mydata and now mydata is mounted as /path/to/mydata instead of /zpool/mydata. Want compression? Simple: zfs set compression=on pool/dataset Can't do that with the commonly used filesystems (ext2 has a simple compression mechanism but it's clunky and to my knowledge was never forward ported to ext3 and ext4). That's the default algorithm there by the way, but there are others which balance performance and compression. Want encryption on your dataset? zfs create -o encryption=on -o keylocation=prompt \ -o keyformat=passphrase pool/dataset for a simple example, and you'd import this after reboot with zpool import pool -l '-l' tells zpool to request encryption keys for encrypted datasets. Doing anything even vaguely similar with LVM + anything else, or just anything else, requires mucking around with cryptsetup and loopback devices. > matter of taste, I found it ornery. And it flat out *crashed* when I > tried to do the same stuff on a Raspberry PI 4. I was certainly doing And as I have noted in the past, SD cards are inherently flakey. Your Pi itself might be flakey. Or overheating. Or power management is set wrong. Or insufficient power. Or any number of possible root causes which aren't ZFS itself. > As far as I can tell ZFS is a specialized tool, with impressive > features, but rough edges. It is not a smoothly crafted, general > purpose package suited to a general audience. I almost agree on a technicality: ZFS was not designed for a "general audience". It was designed to be the last word -- or at least the last letter, "Z" -- in enterprise scalability and performance. But it just so happens to be really good at smaller scales, too. Better than almost anything else I've used, but I have a fondness for Digital's AdvFS for OSF/1 aka Tru64 Unix and there may be nostalgia goggles in the way. -- \m/ (--) \m/
- Follow-Ups:
- [Discuss] Debian 11 -> 12
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Debian 11 -> 12
- From: slitt at troubleshooters.com (Steve Litt)
- [Discuss] Debian 11 -> 12
- References:
- [Discuss] Debian 11 -> 12
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Debian 11 -> 12
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Debian 11 -> 12
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Debian 11 -> 12
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Debian 11 -> 12
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Debian 11 -> 12
- From: slitt at troubleshooters.com (Steve Litt)
- [Discuss] Debian 11 -> 12
- From: invalid at pizzashack.org (Derek Martin)
- [Discuss] Debian 11 -> 12
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Debian 11 -> 12
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Debian 11 -> 12
- Prev by Date: [Discuss] Debian 11 -> 12
- Next by Date: [Discuss] Debian 12 in the Cloud
- Previous by thread: [Discuss] USB Cables (was Debian 11 -> 12)
- Next by thread: [Discuss] Debian 11 -> 12
- Index(es):