Storage: disks, LVM and RAID Labs
Simulated: use the space of a resized cloud volume
Foundation8 minSimulated terminalRHEL and Debian families
Objective
The root filesystem shows the full 50 GiB of the resized volume, with no reboot.
Requirements
- Runs in the simulated terminal below. The volume was already modified from 20 to 50 GiB.
Steps
- Find which layer still has the old size.
- Grow the partition, then the filesystem, in that order.
- Verify with df.
The simulated terminal needs JavaScript.
Not solved yet. Fix the problem, then run the verification commands.
This is a simulation in your browser. It accepts the common forms of each command. The output imitates a real server.
Verification
df -h /Show the solution
lsblk
df -hT /
growpart /dev/nvme0n1 1
xfs_growfs /
df -h /Growing the filesystem first changes nothing: XFS can only use space the partition already has.