Hide Forgot
Description of problem: We experienced our disk filling which is usually because of Docker logs, which we rectified and rebooted the machine (to clear any open files held by processes). When coming back up the machine the machine still reports 100% full (although ~200MB is free). 'du -sh' reports '/' to be using around 5GB in total. We have also tried mounting '/' to another directory and running 'du -sh' again here but no luck. Are there any other checks we could perform? Version-Release number of selected component (if applicable): OpenShift Enterprise 3.1 How reproducible: Always on customer end Steps to Reproduce: 1.Mentioned in the description 2. 3. Actual results: Expected results: Additional info: Mail thread in aos-devel and openshift-sme with subject "Machine reporting disk full in 'df -h', but 'du -sh' on '/' doe not match"
df and du are not typically expected to match. du sums up the size of each file and shows the total. But remember, on disk, things are in chunks of block size (4k). So a file with 1 byte will take (at least) 4k of disk space. So du will show 1 byte while df will show 4k used.
Miheer, I don't see anything that is actionable in this bug report. I am going to close as not a bug, and feel free to re-open if there is a misunderstanding on my part.