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.
All the articles with the tag "sysadmin".
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.
Drive is dying. Which tool do you reach for? ddrescue clones, TestDisk repairs partitions, PhotoRec carves files. They're a workflow, not rivals.
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.
Twenty powerful bash one-liners every sysadmin should know—file ops, process hunting, networking, text processing, disk analysis
Compile software on Raspberry Pi or cheap VPS with 512MB–2GB RAM. Swap, parallel jobs, ccache, and swappiness tuning make it work.
nohup, disown, and & all keep Linux processes alive after logout — but they work differently. Here's which one to reach for, when, and why.
Find your Linux distro version, kernel version, and architecture with uname, lsb_release, /etc/os-release, and hostnamectl.
Fix 'Argument list too long' in bash when cp or rsync chokes on thousands of files — glob loops, find + xargs, and the ARG_MAX reason behind it.
Monitor Linux servers with htop, iostat, netstat, vmstat, and Prometheus — pick the right tool for CPU, memory, disk, and network issues.
Ollama keeps models in VRAM after every request. Control GPU usage with keep_alive, force-unload via the API, and check memory to stop the reload cycle.
Rename files to remove spaces and special characters using bash — rename, tr, and parameter expansion patterns for bulk file cleanup.
Repair and optimize all MySQL databases at once with mysqlcheck — a one-liner that runs on every table without logging into MySQL.