RAID vs ZFS
RAID: tecnología que agrupa discos para mejorar rendimiento o seguridad según el nivel que elijas (RAID 0, 1, etc.). Es simple, útil y eficiente para muchas tareas.
ZFS : sistema de archivos + gestor de volúmenes que incluye su propio tipo de RAID, snapshots, compresión, verificación de integridad...
¿Lo básico? RAID.
¿Potencia y control? ZFS es el camino.
Descubre más en nuestra sección de tutoriales en la web:
https://slimbook.com/blog/tutoriales-2/post/raid-y-zfs-que-son-y-para-que-sirven-453
SDDM, KDE Plasma, root-on-OpenZFS – simple. On Linux.
Yes, I'll install the theme snaps.
Will I install zectl – a ZFS boot environment manager for Linux? Maybe …
<https://ramsdenj.com/posts/2020-03-18-zectl-zfs-boot-environment-manager-for-linux/> | <https://github.com/johnramsden/zectl>
Übrigens kann ich nur sehr dringend empfehlen, sich mit #ZFS zu beschäftigen. Das ist einfach endgeil, schon wegen der Snapshots. Aber auch Volumes, Quota, RAID, Dedup, Kompression… - alles eingebaut.
Mir fällt wirklich kein Grund für ext4 und Genossen ein.
#btrfs ist wohl ähnlich geil, das kenne ich aber nicht.
@vermaden @justine
Addendum: prefix "pkg upgrade" with "make-snapshots" to be able to rollback the file systems(s) without fuss ...
make-snapshots \
&& pkg upgrade && make-snapshots \
&& pkg autoremove && make-snapshots \
&& pkg clean && make-snapshots
... I had made the change before the issue of {missing,disappearing}-packages-on-upgrade that various other peoples are experiencing currently.
I've never seen so much activity on my #HomeServer before.
#ZFS is replacing / resilvering the 2nd member of the old mirror.
One of the old HDDs is getting zeroed for resale.
new 18TB mirror: sda & sdb via SATA
old 10TB mirror: sdc & sdd via USB
Documentation in operating systems is cool. It is possible to extend and rewrite utilities as time goes on, as #freebsd proves. You can still have cool utilities, like #containers and #zfs and #hypervisors, good docs for them and a consistent base system.
I dunno where I am going with this, other than wishing I didn't have to peruse the Arch wiki and the Gentoo wiki for everything when I get stuck, and instead could just "man xyz" and get good answers, speaking as #nixos user.
mysqldumpst Du noch oder zfssnapshotst Du schon?
Eine 20 GB mariadb Datenbank.
Backup:
Datenbank anhalten, zfs snapshot, Datenbank starten: 52 Sekunden.
Restore:
Datenbank ist angehalten. zfs rollback, Datenbank starten: 1,2 Sekunden (kein Typo!)
Meanwhile on the NAS;
zpool replace tank sdb /dev/sdc
My fancy new Toshiba MG09 HDDs arrived today (18TB MG09ACA18TE).
The 1st MG09 is currently running in a USB "toaster". Once "zpool replace" finishes, i'll shut the box down and physically replace the 10TB HDDs with the new ones. One of the 10TB HDDs will then go in the toaster, and i'll "zpool replace" it with the now internal remaining MG09.
@chaosexanima What did you do, and what's the current state of the pool?
fuckkkk ZFS why you do this. guess i know what i'm spending tonight doing.
any #zfs experts out there able to help me recover my pool? i apparently broke things quite significantly lol
Today, out of nowhere, my shell started to misbehave. My prompt suddenly reverted to default. Some unexpected "command not found" errors started popping up. Something was off.
I went to check my shell configuration. The directory was not there. I then went look into ~/.config. Half of the directories inside were simply gone.
I immediately flipped into what the fuck is happening mode.
This system is an Alpine root-on-ZFS. I have a script called by cron every 20 minutes that snapshots everything.
First I went into the snapshot directory and started copying some things. I soon noticed it was just too much missing. How to map out what was gone in the first place? Even so, copying would only go so far because I was duplicating things.
I looked to my left at the resource monitor. I had less than 1 GB left of free space. That was not going to work.
I flip some pages, looking for an incantation...
% zfs rollback zroot/home@20m
A long second hanged in the air. Then all the resource monitor's bars flipped at once to green: 53% free space.
"Blessed be the ZFS Daemons and the Authors who conjured Them."
The system was still confused, so I rebooted. It let its conscience drift - as it is used to -, uncertainty still heavy in the air. Then it resurfaced... every line of output unconcerned.
Back up, no trace was left of the seconds leading up to the warp. The only suspicion came from a cryptography guardian, who noticed something was wrong about the timestamps. "Please re-enter the passcodes", it asked. Every other blob was either unconcerned or unimpressed with the glitch.
Like any time travel, the only trace left was in my memory. No history anywhere has me looking for that spell. I booted 20 minutes into the past and that's from when I am writing to you.
A nice side effect of expanding my ZFS pool is that scrubs are now quite a bit faster. Down from ~19 hours to under 15. Makes sense since it can read data faster now.
I'd still like to know why the speed of scrubs decreases over as it progresses.
scrub repaired 0B in 14:27:28 with 0 errors on Mon Apr 14 14:51:33 2025
Latest 𝗩𝗮𝗹𝘂𝗮𝗯𝗹𝗲 𝗡𝗲𝘄𝘀 - 𝟮𝟬𝟮𝟱/𝟬𝟰/𝟭𝟰 (Valuable News - 2025/04/14) available.
https://vermaden.wordpress.com/2025/04/14/valuable-news-2025-04-14/
Past releases: https://vermaden.wordpress.com/news/
Latest 𝗩𝗮𝗹𝘂𝗮𝗯𝗹𝗲 𝗡𝗲𝘄𝘀 - 𝟮𝟬𝟮𝟱/𝟬𝟰/𝟭𝟰 (Valuable News - 2025/04/14) available.
https://vermaden.wordpress.com/2025/04/14/valuable-news-2025-04-14/
Past releases: https://vermaden.wordpress.com/news/
Wrote a backup of the last #windows10 #vm and transferred to my #zfs-#ghostbsd box. And then deleted it from the #fedora host. Didn’t touch the system for month since I switched from #citavi to #zotero. Away with that time consuming bullshit os. It took more time to wait for installing updates then having worked with. Not regarding the stupidity of how to upgrade to #windows11. Bye, and now back to work;)