$ df -h --total
Filesystem Size Used Avail Use% Mounted on
dev 7.8G 0 7.8G 0% /dev
run 7.9G 1.3M 7.9G 1% /run
/dev/mapper/lvm-root 30G 21G 7.4G 74% /
...
$ sudo fdisk -l
[sudo] password for sergey:
Disk /dev/nvme0n1: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 970 EVO 250GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2C078764-A109-48F3-B23E-5992C99E696F
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1023999 1021952 499M Windows recovery environment
/dev/nvme0n1p2 1024000 1226751 202752 99M EFI System
/dev/nvme0n1p3 1226752 1259519 32768 16M Microsoft reserved
/dev/nvme0n1p4 1259520 315832319 314572800 150G Microsoft basic data
/dev/nvme0n1p5 315832320 462632959 146800640 70G Linux LVM
Disk /dev/mapper/lvm-root: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Я просто до этого выполнял:
$ sudo lvresize -L +10GB /dev/mapper/lvm-root
Это баг df?