Red Hat Bugzilla – Bug 789452
bonnie++ fails on 6.2 kernels indicates bug in NFS
Last modified: 2012-05-01 09:28:59 EDT
Description of problem:
If you run bonnie++ (epel but the source of this seems immaterial) from a RHEL6.2 machine to another RHEL6 machine (NFSv4) or a RHEL5 machine (NFSv3). It fails with:
Bonnie: drastic I/O error (rmdir): Directory not empty
This succeeded with the 6.1 kernels using identical bonnie++ version.Seems to have been broken in 6.2
I'm concerned that this might indicate a serious problem with NFS in 6.2 that might hit us on production applications.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Just run bonnie++ against and NFS mount (-d flag)
Writing a byte at a time...done
Reading a byte at a time...done
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...Bonnie: drastic I/O error (rmdir): Directory not empty
Cleaning up test directory after error.
Successful bonnie++ run.
Even though I'm testing in a pure RHEL6.2 environment and see this, googling around the Centos guys have seen this issue and have dug a bit deeper on it:
Might help with debugging this issue.
Thanks for the report - can you please also open a call with Red Hat support for us?
Has been open for 2 weeks at Case#00598633
Sorry, I missed that!
I think what's needed here is some understanding of what's happening at the system call level. What syscall is generating the EIO in this case?
I saw some of the upstream discussion that referenced this bug. If the
problems are with readdir(), I wonder if the readdir fixes that have
already been queued up for 6.3 will make any difference here. It might be
worthwhile to test a current 6.3-ish kernel and see if it helps.
If it does turn out to be reproducible on 6.3-ish kernels, then another thing to test would be to see if it's still reproducible if you mount with '-o nordirplus'.
I have a support call open on this, will they be providing me with a 6.3 kernel to test?
Yes, they should.
I have the same issue from NFS clients running this kernel : 2.6.32-220.2.1.el6.x86_64 (centos 6.2) to a BlueArc Titan 3200 NFS server with mount options :
I don't recall having this issue with earlier 6 kernels or 5 kernels
Where's the location of the new test kernels ? There's nothing in http://people.redhat.com/dzickus/rhel6/
Ok, sounds like this was fixed by some patches that are going in for 6.3, so
closing this as a duplicate.
*** This bug has been marked as a duplicate of bug 770250 ***