Wrong or negative disk space in large SMB mounts, "not enough free space"
MacOS 10.4 and perhaps earlier sees large SMB mounts as having incorrect or, which is crazier, negative disk space. It's an obvious signed integer overflow. E.g.:
$ df -h .
Filesystem Size Used Avail Capacity Mounted on
//XXX;xxx@xxx/xxx 973G -1.9T -1.2T 225% /Volumes/xxx
It doesn't seem to be an inherent problem of the SMB protocol as MacOS X 10.5 can correctly recognize and report the terabytes for the same SMB share:
$ df -h .
Filesystem Size Used Avail Capacity Mounted on
//XXX;xxx@xxx/xxx 5.0Ti 2.1Ti 2.8Ti 44% /Volumes/xxx
Windows XP has no problems with the share either as verified with Explorer and "dir".
The server s/w in my case is Samba but it shouldn't really matter.
The most annoying consequence from the bug is that Finder refuses to copy files to the share as it tries to check if there is enough free space in the destination volume beforehand.
Are there any immediate workarounds known for the issue, at least to make Finder copy work?
Thanks!
Yar
MacBook Pro, Mac OS X (10.4.11)