Bug 823389

Summary: bonnie++ fails with ENOTEMPTY
Product: [Community] GlusterFS Reporter: Anush Shetty <ashetty>
Component: rdmaAssignee: shishir gowda <sgowda>
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: gluster-bugs, nsathyan, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-22 01:01:09 EDT Type: Bug
Regression: --- Mount Type: nfs
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Anush Shetty 2012-05-21 02:28:36 EDT
Description of problem: Bonnie+= fails with ENOTEMPTY on nfs mount. This happens consistently. Even in the dmesg, nfs complains of readdir loop. When I try deleting the bonnie directory manually again, it gets deleted successfully.

Version-Release number of selected component (if applicable): Upstream

How reproducible: Consistently

Steps to Reproduce:
1. time bonnie++ -u root -d /mnt/gluster
Actual results:

Changing to the specified mountpoint
executing bonnie
Using uid:0, gid:0.
Writing a byte at a time...done
Writing intelligently...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...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.

real    24m46.583s
user    0m0.937s
sys     0m25.466s
bonnie failed

NFS: directory run24665/Bonnie.24687 contains a readdir loop.  Please contact your server vendor.  Offending cookie: 1052004

Expected results:

Additional info:
Comment 1 shishir gowda 2012-05-22 01:01:09 EDT

*** This bug has been marked as a duplicate of bug 814052 ***