Storage
Disks, pooling, parity, network shares and backups. Building a NAS from plain Debian and a pile of drives, keeping the data on it safe, and sharing it.
Back up before touching disks
Several pages here use commands that erase drives (wipefs, parted, mkfs).
Check the device with lsblk -o NAME,SIZE,SERIAL right before you run them, and
make sure anything you care about is backed up first.
-
Debian 13 NAS: disk layout, MergerFS pool and SnapRAID parity.
-
Partitioning, formatting, mounting drives, and SMART monitoring with smartd.
-
Pool multiple drives into a single mount point without striping.
-
Snapshot-based parity, automated with snapraid-aio, a dead-man switch and ntfy.
-
Borgmatic on every server: append-only peer repos, offsite copy, Borg UI, restore tests.
-
The NAS's SMB shares and how to set one up.
-
Mounting NAS shares on a desktop
CIFS mounts in fstab, credentials file, KDE Dolphin, and options that survive an offline NAS.
-
Day-to-day Samba commands, users and share options.