DjBill Posted July 9, 2021 Share Posted July 9, 2021 Hi, anyone know why "df" command output report more used space than the sum of all files on the filesystem: root@PCNAS:/mnt/cache# df -h /mnt/cache Filesystem Size Used Avail Use% Mounted on /dev/sdh1 232G 199G 24G 90% /mnt/cache root@PCNAS:/mnt/cache# du -sh * | sort -rn 120G domains 28G appdata 6.6G system root@PCNAS:/mnt/cache# Thanks. pcnas-diagnostics-20210710-0130.zip Quote Link to comment
BRiT Posted July 10, 2021 Share Posted July 10, 2021 Filesystem overhead most likely 1 Quote Link to comment
JorgeB Posted July 10, 2021 Share Posted July 10, 2021 Also du isn't reliable with btrfs, df will report correct used/free space for that pool, GUI will report correct free space, since devices are not of the same size. 1 Quote Link to comment
DjBill Posted July 10, 2021 Author Share Posted July 10, 2021 Thanks to all for the clarification. Quote Link to comment
DjBill Posted July 11, 2021 Author Share Posted July 11, 2021 I solved my issue with the free space following this guide 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.