Hide Forgot
(In reply to comment #0) > Steps to reproduce the bug: > > 1. Create large number of files using the program fs-perf-test.c (The program > is copied to the bug directory on /share). > 2. Run more than one instance of the above program under the same mount point, > and this will crash glusterfs. > 3. Remount the same configuration and try to delete the files that were > created. rm -rvf file-*. > > The below error/warning will be observed and the files are not deleted: > > [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: > 1155: UNLINK() /file-1003 => -1 (Invalid argument) > [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: > 1167: UNLINK() /file-1005 => -1 (Invalid argument) > [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: > 1171: UNLINK() /file-1006 => -1 (Invalid argument) > [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: > 1175: UNLINK() /file-1007 => -1 (Invalid argument) > [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: > 1207: UNLINK() /file-101 => -1 (Invalid argument) > > > The following error is thrown when we try to delete the file: > rm: cannot remove `file-950': Invalid argument > rm: cannot remove `file-953': Invalid argument > rm: cannot remove `file-956': Invalid argument > rm: cannot remove `file-958': Invalid argument > rm: cannot remove `file-964': Invalid argument > rm: cannot remove `file-967': Invalid argument > rm: cannot remove `file-969': Invalid argument > rm: cannot remove `file-973': Invalid argument > rm: cannot remove `file-979': Invalid argument > rm: cannot remove `file-980': Invalid argument > rm: cannot remove `file-981': Invalid argument > rm: cannot remove `file-989': Invalid argument > rm: cannot remove `file-99': Invalid argument > rm: cannot remove `file-994': Invalid argument > rm: cannot remove `file-998': Invalid argument > > > I have left the screen session which is named: bug_id_<this bug id> > > The log/config/test program is copied to the bug directory.
Steps to reproduce the bug: 1. Create large number of files using the program fs-perf-test.c (The program is copied to the bug directory on /share). 2. Run more than one instance of the above program under the same mount point, and this will crash glusterfs. 3. Remount the same configuration and try to delete the files that were created. rm -rvf file-*. The below error/warning will be observed and the files are not deleted: [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: 1155: UNLINK() /file-1003 => -1 (Invalid argument) [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: 1167: UNLINK() /file-1005 => -1 (Invalid argument) [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: 1171: UNLINK() /file-1006 => -1 (Invalid argument) [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: 1175: UNLINK() /file-1007 => -1 (Invalid argument) [2009-08-04 03:30:36] W [fuse-bridge.c:921:fuse_unlink_cbk] glusterfs-fuse: 1207: UNLINK() /file-101 => -1 (Invalid argument) The following error is thrown when we try to delete the file: rm: cannot remove `file-950': Invalid argument rm: cannot remove `file-953': Invalid argument rm: cannot remove `file-956': Invalid argument rm: cannot remove `file-958': Invalid argument rm: cannot remove `file-964': Invalid argument rm: cannot remove `file-967': Invalid argument rm: cannot remove `file-969': Invalid argument rm: cannot remove `file-973': Invalid argument rm: cannot remove `file-979': Invalid argument rm: cannot remove `file-980': Invalid argument rm: cannot remove `file-981': Invalid argument rm: cannot remove `file-989': Invalid argument rm: cannot remove `file-99': Invalid argument rm: cannot remove `file-994': Invalid argument rm: cannot remove `file-998': Invalid argument I have left the screen session which is named: bug_id_<this bug id> The log/config/test program is copied to the bug directory.