Linuxlab

Practice it end to end

Updated July 3, 2026

Bring your server to a stable state. That means: the data sits on a volume you can grow, risky operations are guarded by a snapshot, a boot failure is curable from rescue mode, under load you can see where it is stuck, and mandatory access control is on in enforcing mode. Do all of this on the same virtual machine as the chapters of this level, and keep a fresh hypervisor snapshot on hand to roll back if something goes wrong.

  1. Lay out data on LVM. Set up a logical volume for /srv (or take an existing one) and mount it. Before a change, take a snapshot: sudo lvcreate -L 1G -s -n srv-snap /dev/datavg/srv. Now you have a point to return to.
  1. Grow the volume on the fly and pull the filesystem out to the edge. sudo lvextend -L +2G /de
Locked

The rest of this chapter is part of a paid course

You are reading the open part. Buy the course to read the whole chapter.

See the course