df wrongly says mounted device is full
I am using a 75G external hard drive (an apple ipod) and I am confident that only 41G has been used up on it. That is also what du tells me:
Code:
~> du --max-depth=0 /mnt/ipod/ Code:
~> df /mnt/ipod/ Why does the output of du disagree with that of df, and how do I correct the situation so that I can use the remaining 34G that df says is unavailable? Thanks a lot, Dan 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 Code:
~> umount /mnt/ipod |
Did you see if there are any hidden files? Use 'df' with the '-h' option for human readable formats. Did you check for .Trash directory on /mnt/ipod/?
|
Thanks deepumnit,
du with the -h flag confirms that only 41G are used: Code:
~> du -h --max-depth=0 /mnt/ipod/ Code:
~> df -h /mnt/ipod/ I'm a bit stuck here and would really appreciate further suggestions as to how to make my OS understand that there is room on the device. (Fedora core 5 incidentally). Here's the relevant lines of /etc/mtab and /etc/fstab: Code:
~> cat /etc/mtab | grep ipod Dan |
All times are GMT -5. The time now is 11:47 AM. |