The output yielded by df consistent with lsblk
debian8@hwy:~$ df -h /dev/sda1
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 47G 34G 14G 72% /media/xp_c
debian8@hwy:~$ df -h /dev/sda3
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 92G 36G 52G 42% /
The output yielded by df inconsistent with lsblk
debian8@hwy:~$ df -h /dev/sda4
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
debian8@hwy:~$ df -h /dev/sda5
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
debian8@hwy:~$ df -h /dev/sda6
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
debian8@hwy:~$ df -h /dev/sda7
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
How to explain the output of lsblk and df -h?
Sometime df can't get right info about disk.
sudo fdisk -l
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 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
Disklabel type: dos
Disk identifier: 0x3b2662b1
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 97851391 97849344 46.7G 7 HPFS/NTFS/exFAT
/dev/sda2 97851392 195508223 97656832 46.6G 83 Linux
/dev/sda3 195508224 390819839 195311616 93.1G 83 Linux
/dev/sda4 390821886 449411071 58589186 28G 5 Extended
/dev/sda5 390821888 400584703 9762816 4.7G 82 Linux swap / Solaris
/dev/sda6 400586752 439646207 39059456 18.6G b W95 FAT32
/dev/sda7 439648256 449411071 9762816 4.7G 7 HPFS/NTFS/exFAT