Hi sander,
yes, if I set the Temp & Complete folder to local, the shown free space is correct.
Side Info:
I replaced one of my NAS 3TB drives with a 6TB. MacOS and my NAS now shows me
a correct free space of
6,6xTB.
SAB instead shows me only
2,6TB free space -> 4TB missing.
Local -> Correct
Code: Select all
Mediencenter:~ Mediencenter$ python /disk_space.py /Users/
python version: 2.7.10 (default, Feb 7 2017, 00:08:15)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
Directory /Users/
statvfs posix.statvfs_result(f_bsize=1048576, f_frsize=4096, f_blocks=121853976, f_bfree=111101708, f_bavail=111037708, f_files=4294967279, f_ffree=4293630797, f_favail=4293630797, f_flag=0, f_namemax=255)
disk_size [GB] 464.836029053
available [GB] 423.575241089
The df took [ms]: 7
/dev/disk0s2 475992 42001 433741 9% 1336482 4293630797 0% /
Available [MB]: 433741
NAS -> wrong
Code: Select all
Mediencenter:~ Mediencenter$ python /disk_space.py /Volumes/Medien
python version: 2.7.10 (default, Feb 7 2017, 00:08:15)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
Directory /Volumes/Medien
statvfs posix.statvfs_result(f_bsize=1048576, f_frsize=1024, f_blocks=850916804, f_bfree=2801489844, f_bavail=2801489844, f_files=850916802, f_ffree=2801489844, f_favail=2801489844, f_flag=2, f_namemax=255)
disk_size [GB] 811.497501373
available [GB] 2671.7089119
The df took [ms]: 6
NAS df -h -> Correct
Code: Select all
Mediencenter:~ Mediencenter$ df -h /Volumes/Medien/
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
//admin@SERVER._smb._tcp.local/Medien 29Ti 22Ti 6.6Ti 78% 23819230734 7096457140 77% /Volumes/Medien