Hello,
I hope someone can explain this behavior:
I have a virtual machine (hypervisor ESXi 5.X), installed OS is SLES 12 SP 1 and the used filesystem is btrfs.
I know that btrfs and df are showing different values for used and free space.
But I don’t know how I should understand, that df shows a bigger partition then configured.
The root partition is 28,5 GiB big and I get these values:
- df - size 37GB
sles12vm:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 37G 9.1G 19G 34% /
devtmpfs 939M 0 939M 0% /dev
tmpfs 948M 0 948M 0% /dev/shm
tmpfs 948M 9.7M 938M 2% /run
tmpfs 948M 0 948M 0% /sys/fs/cgroup
/dev/sda2 37G 9.1G 19G 34% /var/tmp
/dev/sda2 37G 9.1G 19G 34% /var/spool
/dev/sda2 37G 9.1G 19G 34% /var/lib/pgsql
/dev/sda2 37G 9.1G 19G 34% /var/crash
/dev/sda2 37G 9.1G 19G 34% /tmp
/dev/sda2 37G 9.1G 19G 34% /srv
/dev/sda2 37G 9.1G 19G 34% /var/opt
/dev/sda2 37G 9.1G 19G 34% /var/log
/dev/sda2 37G 9.1G 19G 34% /var/lib/named
/dev/sda2 37G 9.1G 19G 34% /var/lib/mailman
/dev/sda2 37G 9.1G 19G 34% /usr/local
/dev/sda2 37G 9.1G 19G 34% /home
/dev/sda2 37G 9.1G 19G 34% /opt
/dev/sda2 37G 9.1G 19G 34% /boot/grub2/x86_64-efi
/dev/sda2 37G 9.1G 19G 34% /boot/grub2/i386-pc
- btrfs
sles12vm:~ # btrfs filesystem show /
Label: none uuid: 5e77d6a7-b282-49ba-9417-ccb688be3b02
Total devices 1 FS bytes used 8.44GiB
devid 1 size 28.54GiB used 11.28GiB path /dev/sda2
So from where get’s df the additional 9~ GiB ?
Sincerely,
D. Stabla