Most recent kernel where this bug did not occur: 2.6.15-26-server (dapper) Distribution: Ubuntu Hardware Environment: i386 Software Environment: Ubuntu Dapper LTS Problem Description: When umounting a DVD-RAM media (umount /tmp/mnt for example) it takes some time. This is normal i guess. But if you use the "df -h" command, it shows that the currently umounting media has 32GB capacy! Steps to reproduce: ---------------------------------------------------- mkudffs --spartable=2 --media-type=dvdram /dev/hdc mount /dev/hdc /tmp/mnt <copy 300-400MB to /tmp/mnt> umount /tmp/mnt & df -h
Mario, Can you try this with the current kernel (2.6.23+) and confirm if the bug is still there. Thanks.
This is a race in df(1) itself. During unmounting, statfs already returns a result for the parent filesystem because the filesystem is already removed from the directory tree (i.e. your /tmp filesystem has 32 GB capacity ;).