Adding and extending storage on Linux
How to add a new disk and extend existing storage on Linux using LVM — covering physical servers, VMware virtual machines, and AWS EC2 EBS volumes, with a full command reference.
Linux administration, Bash, shell tooling and automation.
How to add a new disk and extend existing storage on Linux using LVM — covering physical servers, VMware virtual machines, and AWS EC2 EBS volumes, with a full command reference.
How to extract packages, services, users, and filesystem configuration from a running Linux instance and use it as the basis for a repeatable Packer AMI template.
How to chain commands with Bash pipes, why the default error-handling behaviour is dangerous, and how to fix it with pipefail, PIPESTATUS, and a defensive script header.
AWK scripts for converting between IP addresses and decimal numbers – and why this makes a reliable source of unique server IDs for MySQL replication clusters and other distributed systems.