Storage Management Command Reference Guide¶
Commands to manage block devices, format partitions, and handle filesystems.
Block Devices and Partitions¶
List all block devices (disks and partitions).
List all block devices with file system information (UUIDs and labels).
List block devices with specific columns (name, size, type, mountpoint).
List disk partition tables and sizes (requires root).
Open the interactive partition manager for a specific drive.
Disk Space and Usage¶
Show file system disk space usage in human-readable format.
Show file system disk space usage including the file system type.
Estimate file space usage for a specific directory in human-readable format.
List the sizes of all files and directories in the current location.
Mounting and Unmounting¶
Mount a storage device to a directory.
Unmount a storage device from its directory.
Reload all mount points defined in /etc/fstab.
BTRFS File System Management¶
Show information about all BTRFS file systems.
Show disk space usage specific to a BTRFS file system.
List all BTRFS subvolumes under a specific path.
Create a new BTRFS subvolume.
Start a balance operation on a BTRFS file system to reclaim space.
XFS File System Management¶
For the full guide, see the XFS Cheat Sheet.
Create an XFS file system with a label.
Show the geometry and enabled features of a mounted XFS file system.
Grow a mounted XFS file system to fill its partition or logical volume (XFS cannot be shrunk).
Check an unmounted XFS file system without making changes.
Show a human-readable quota report for an XFS file system.
Snapper and Snapshot Management¶
List all existing snapshots for the default configuration (usually root).
List snapshots for a specific configuration.
Create a manual snapshot with a description.
Delete a specific snapshot by its number.