Skip to content

Tag: sysadmin

All the articles with the tag "sysadmin".

mdadm Day-2: Grow, Replace, Scrub

mdadm Day-2: Grow, Replace, Scrub

Creating a RAID array is the easy part. The drama starts six months later when one drive starts dying. Here's the survival guide for everything that happens after mdadm --create.

ddrescue vs TestDisk vs PhotoRec

ddrescue vs TestDisk vs PhotoRec

Drive is dying. Which tool do you reach for? ddrescue clones, TestDisk repairs partitions, PhotoRec carves files. They're a workflow, not rivals.

Linux Namespaces from Scratch

Linux Namespaces from Scratch

Containers are just namespaces and cgroups in a trench coat. Build one yourself with unshare and nsenter, no Docker required. Here's what actually happens.

tini vs dumb-init vs --init

tini vs dumb-init vs --init

PID 1 zombie reaping in containers, tini, dumb-init, and docker --init compared; when each one fixes your signal handling and stops your 10s shutdown tax.

RAID Is Not Backup: Rebuild Math

RAID Is Not Backup: Rebuild Math

Your RAID 5 rebuild on a modern multi-TB drive has a 40-50% chance of hitting a URE before it finishes. Here's the 2026 math and what to do about it.

Incident Response for Self-Hosters

Incident Response for Self-Hosters

You've been compromised. Now what? A practical incident response playbook for self-hosters who didn't think they'd need one until right now.

Bash One-Liners Worth Remembering

Bash One-Liners Worth Remembering

· Updated:

Twenty powerful bash one-liners every sysadmin should know, file ops, process hunting, networking, text processing, disk analysis

Compiling on Linux With Low RAM

Compiling on Linux With Low RAM

· Updated:

Compile software on Raspberry Pi or cheap VPS with 512MB, 2GB RAM. Swap, parallel jobs, ccache, and swappiness tuning make it work.

nftables: Modern Linux Firewalling

nftables: Modern Linux Firewalling

iptables is being phased out. nftables is faster, cleaner, and already the default on modern Linux. Here's how to actually use it without wanting to quit.

2FA for SSH and sudo via PAM

2FA for SSH and sudo via PAM

Adding TOTP to SSH and sudo takes 10 minutes and makes password spray attacks useless. Here's the setup that won't lock you out of your own server.