Show free disk space
Show free space only for real filesystems (ext4, xfs, btrfs), without tmpfs and overlay.
df -hT --type=ext4 --type=xfs --type=btrfs
- tool
- linux133 commands
More linux commands
-
fdisk /dev/sdbOpen an interactive editor for MBR or GPT partition tables.
-
parted /dev/sdb -- mklabel gpt mkpart primary ext4 1MiB 100%Create a new GPT table and one partition on the whole disk. The old partition table is lost.
-
pvs && pvdisplayList LVM physical volumes and how much space they use.
-
vgs && vgdisplayList LVM volume groups with free physical extents (PE).
-
lvs -o +devicesList logical volumes and the devices they live on.