I want to know how many free space is left and have problems in interpreting the output of:
btrfs filesystem usage btrfs filesystem df btrfs filesystem show In detail: root@diaspora:~# btrfs filesystem usage /local Overall: Device size: 883.51GiB Device allocated: 825.51GiB Device unallocated: 58.00GiB Device missing: 0.00B Used: 494.45GiB Free (estimated): 387.94GiB (min: 387.94GiB) Data ratio: 1.00 Metadata ratio: 1.00 Global reserve: 320.00MiB (used: 0.00B) Data,single: Size:823.47GiB, Used:493.53GiB /dev/sda4 823.47GiB Metadata,single: Size:2.01GiB, Used:938.67MiB /dev/sda4 2.01GiB System,single: Size:32.00MiB, Used:128.00KiB /dev/sda4 32.00MiB Unallocated: /dev/sda4 58.00GiB root@diaspora:~# btrfs filesystem df /local Data, single: total=823.47GiB, used=493.53GiB System, single: total=32.00MiB, used=128.00KiB Metadata, single: total=2.01GiB, used=938.67MiB GlobalReserve, single: total=320.00MiB, used=0.00B root@diaspora:~# btrfs filesystem show /local Label: 'local' uuid: 11faaa39-5805-4e92-a891-e8ceb4afa9f7 Total devices 1 FS bytes used 494.45GiB devid 1 size 883.51GiB used 825.51GiB path /dev/sda4 What does the last line mean? 825.51GiB used = allocated by (file) data? In this case I would have only 58 GB free disk space left? "btrfs filesystem usage" says 494 GB used, but "btrfs filesystem show" says 825 GB used?! The man pages do not explain the different meanings of "used" and "allocated" And at last: root@diaspora:~# df -HT /local Filesystem Type Size Used Avail Use% Mounted on /dev/sda4 btrfs 949G 532G 417G 57% /local -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlac...@tik.uni-stuttgart.de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<20181029181141.ga31...@rus.uni-stuttgart.de>