Hide Forgot
Description of problem: trying to rename a file fails. Version-Release number of selected component (if applicable): glusterfs-server-3.4.0.20rhsquota1-1.el6.x86_64 glusterfs-fuse-3.4.0.20rhsquota1-1.el6.x86_64 glusterfs-3.4.0.20rhsquota1-1.el6.x86_64 How reproducible: always Steps to Reproduce: 1. create a 6x2 volume, start it 2. enable quota 3. set limit on the root of the volume 4. mount the volume over nfs 5. touch "filename" 6. mv "filename" ""newname Actual results: [root@rhsauto036 nfs-test]# touch a [root@rhsauto036 nfs-test]# mv a a-rename mv: cannot move `a' to `a-rename': No such file or directory from nfs.log [2013-08-20 07:34:33.013760] W [client-rpc-fops.c:2385:client3_3_rename_cbk] 0-dist-rep2-client-3: remote operation failed: No such file or directory [2013-08-20 07:34:33.014422] W [client-rpc-fops.c:2385:client3_3_rename_cbk] 0-dist-rep2-client-2: remote operation failed: No such file or directory [2013-08-20 07:34:33.014472] W [dht-rename.c:517:dht_rename_cbk] 0-dist-rep2-dht: /a: rename on dist-rep2-replicate-1 failed (No such file or directory) [2013-08-20 07:34:33.020142] W [nfs3.c:3663:nfs3svc_rename_cbk] 0-nfs: a1b73eec: rename /a -> /a-rename => -1 (No such file or directory) [2013-08-20 07:34:33.021379] W [client-rpc-fops.c:1529:client3_3_inodelk_cbk] 0-dist-rep2-client-3: remote operation failed: No such file or directory [2013-08-20 07:34:33.021501] W [client-rpc-fops.c:1529:client3_3_inodelk_cbk] 0-dist-rep2-client-2: remote operation failed: No such file or directory [2013-08-20 07:34:33.022432] W [client-rpc-fops.c:1529:client3_3_inodelk_cbk] 0-dist-rep2-client-2: remote operation failed: No such file or directory [2013-08-20 07:34:33.023641] W [client-rpc-fops.c:1529:client3_3_inodelk_cbk] 0-dist-rep2-client-3: remote operation failed: No such file or directory [2013-08-20 07:34:33.024371] I [afr-lk-common.c:1085:afr_lock_blocking] 0-dist-rep2-replicate-1: unable to lock on even one child [2013-08-20 07:34:33.024463] I [afr-transaction.c:1063:afr_post_blocking_inodelk_cbk] 0-dist-rep2-replicate-1: Blocking inodelks failed. [2013-08-20 07:34:33.024556] E [dht-linkfile.c:287:dht_linkfile_setattr_cbk] 0-dist-rep2-dht: setattr of uid/gid on /a :<gfid:00000000-0000-0000-0000-000000000000> failed (No such file or directory) Expected results: rename should happen, and gfid should not be returned as "zero value" for an existing file. Additional info:
Are there sos reports for this? I need brick and quotad logs in particular. regards, Raghavendra.
https://code.engineering.redhat.com/gerrit/11765, https://code.engineering.redhat.com/gerrit/11916 handles the issue.
https://code.engineering.redhat.com/gerrit/12179 in rhs-2.1 branch fixes the issue.
"Fixed In Version" please.
verified on glusterfs-3.4.0.33rhs . Now rename happens successfully
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1769.html