Bug 761919 (GLUSTER-187) - [2.0.6rc2] Error while deleting files
Summary: [2.0.6rc2] Error while deleting files
Keywords:
Status: CLOSED WORKSFORME
Alias: GLUSTER-187
Product: GlusterFS
Classification: Community
Component: nufa
Version: 2.0.5
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Vijay Bellur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-04 11:19 UTC by Sachidananda Urs
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Gururaj K 2009-08-04 10:13:46 UTC
(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.

Comment 1 Sachidananda Urs 2009-08-04 11:19:39 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.