df is wrong for mounted device
I am using an external hard drive (an apple ipod) and I am confident that there is 41G space left on it. That is also what du tells me:
However, df reports that it is almost full:
~> du --max-depth=0 /mnt/ipod/
And indeed I am told that I'm out of space when I try to copy large files.
~> df /mnt/ipod/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb2 77973488 77797872 175616 100% /mnt/ipod
I believe that df is wrong. But what is causing the problem and how do I correct it?
Thanks a lot,
p.s. I have previously seen this sort of thing being caused by files stored below the mountpoint, that are "hidden" by the mounted device. However, when I unmount the device, there is nothing stored at /mnt/ipod
~> umount /mnt/ipod
~> du /mnt/ipod/