| Summary: | mv command not working | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Lakshmipathi G <lakshmipathi> | ||||
| Component: | quick-read | Assignee: | Raghavendra G <raghavendra> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | mainline | CC: | anush, tejas, vijay | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | RTNR | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
While trying to use mv - it fails.
#ls -lrt
total 176
-rwxr-xr-x. 1 root root 199 2010-06-03 11:22 fread.sh
-rw-r--r--. 1 root root 204 2010-06-03 11:22 fread.c
-rw-r--r--. 1 root root 100000 2010-06-03 11:25 file.txt
-rw-r--r--. 1 root root 2 2010-06-03 11:30 file2.txt
-rwxrwxr-x. 1 root root 7381 2010-06-03 11:54 fread
-rw-r--r--. 1 root root 816 2010-06-03 12:52 f1.txt
-rw-r--r--. 1 root root 100 2010-06-03 14:47 f999.txt
-rw-r--r--. 1 root root 301 2010-06-03 14:48 file.c
-rwxrwxr-x. 4 root root 7348 2010-06-03 14:48 file
[root@space client1]# mv file file_ro
mv: cannot move `file' to `file_ro': File exists
log :
====
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace2: 1780: (loc {path=/, ino=1})
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace1: 1780: (loc {path=/, ino=1})
[2010-06-03 14:53:32] N [trace.c:590:trace_lookup_cbk] trace1: 1780: (op_ret=0, ino=1, *buf {st_ino=1, st_mode=40755, st_nlink=2, st_uid=0, st_gid=0, st_size=4096, st_blocks=16, st_atime=[Jun 03 14:49:49], st_mtime=[Jun 03 14:48:23], st_ctime=[Jun 03 14:48:23]}, *postparent {st_ino=1, st_mode=40755, st_nlink=2, st_uid=0, st_gid=0, st_size=4096, st_blocks=16, st_atime=[Jun 03 14:49:49], st_mtime=[Jun 03 14:48:23], st_ctime=[Jun 03 14:48:23]}
[2010-06-03 14:53:32] N [trace.c:590:trace_lookup_cbk] trace2: 1780: (op_ret=0, ino=1, *buf {st_ino=1, st_mode=40755, st_nlink=2, st_uid=0, st_gid=0, st_size=4096, st_blocks=16, st_atime=[Jun 03 14:49:49], st_mtime=[Jun 03 14:48:23], st_ctime=[Jun 03 14:48:23]}, *postparent {st_ino=1, st_mode=40755, st_nlink=2, st_uid=0, st_gid=0, st_size=4096, st_blocks=16, st_atime=[Jun 03 14:49:49], st_mtime=[Jun 03 14:48:23], st_ctime=[Jun 03 14:48:23]}
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace2: 1781: (loc {path=/file_ro, ino=0})
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace1: 1781: (loc {path=/file_ro, ino=0})
[2010-06-03 14:53:32] N [trace.c:599:trace_lookup_cbk] trace1: 1781: (op_ret=-1, op_errno=2)
[2010-06-03 14:53:32] N [trace.c:599:trace_lookup_cbk] trace2: 1781: (op_ret=-1, op_errno=2)
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace2: 1782: (loc {path=/file, ino=12984969})
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace1: 1782: (loc {path=/file, ino=12984969})
[2010-06-03 14:53:32] N [trace.c:590:trace_lookup_cbk] trace1: 1782: (op_ret=0, ino=12984969, *buf {st_ino=12984969, st_mode=100775, st_nlink=4, st_uid=0, st_gid=0, st_size=7348, st_blocks=24, st_atime=[Jun 03 14:51:03], st_mtime=[Jun 03 14:48:32], st_ctime=[Jun 03 14:50:27]}, *postparent {st_ino=12984969, st_mode=100775, st_nlink=4, st_uid=0, st_gid=0, st_size=7348, st_blocks=24, st_atime=[Jun 03 14:51:03], st_mtime=[Jun 03 14:48:32], st_ctime=[Jun 03 14:50:27]}
[2010-06-03 14:53:32] N [trace.c:590:trace_lookup_cbk] trace2: 1782: (op_ret=0, ino=12984969, *buf {st_ino=12984969, st_mode=100775, st_nlink=4, st_uid=0, st_gid=0, st_size=7348, st_blocks=24, st_atime=[Jun 03 14:51:03], st_mtime=[Jun 03 14:48:32], st_ctime=[Jun 03 14:50:27]}, *postparent {st_ino=12984969, st_mode=100775, st_nlink=4, st_uid=0, st_gid=0, st_size=7348, st_blocks=24, st_atime=[Jun 03 14:51:03], st_mtime=[Jun 03 14:48:32], st_ctime=[Jun 03 14:50:27]}
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace2: 1783: (loc {path=/file_ro, ino=0})
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace1: 1783: (loc {path=/file_ro, ino=0})
[2010-06-03 14:53:32] N [trace.c:599:trace_lookup_cbk] trace1: 1783: (op_ret=-1, op_errno=2)
[2010-06-03 14:53:32] N [trace.c:599:trace_lookup_cbk] trace2: 1783: (op_ret=-1, op_errno=2)
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace2: 1784: (loc {path=/file_ro, ino=0})
[2010-06-03 14:53:32] N [trace.c:1289:trace_lookup] trace1: 1784: (loc {path=/file_ro, ino=0})
[2010-06-03 14:53:32] N [trace.c:599:trace_lookup_cbk] trace1: 1784: (op_ret=-1, op_errno=2)
[2010-06-03 14:53:32] N [trace.c:599:trace_lookup_cbk] trace2: 1784: (op_ret=-1, op_errno=2)
[2010-06-03 14:53:32] N [trace.c:1437:trace_rename] trace2: 1785: (oldloc {path=/file, ino=12984969}, newloc{path=/file_ro, ino=0})
[2010-06-03 14:53:32] N [trace.c:1437:trace_rename] trace1: 1785: (oldloc {path=/file, ino=12984969}, newloc{path=/file_ro, ino=0})
[2010-06-03 14:53:32] N [trace.c:533:trace_rename_cbk] trace1: 1785: (op_ret=-1, op_errno=17)
[2010-06-03 14:53:32] N [trace.c:538:trace_rename_cbk] trace1: 1785: (op_ret=-1, op_errno=17, buf {st_ino=0})
[2010-06-03 14:53:32] N [trace.c:533:trace_rename_cbk] trace2: 1785: (op_ret=-1, op_errno=17)
[2010-06-03 14:53:32] N [trace.c:538:trace_rename_cbk] trace2: 1785: (op_ret=-1, op_errno=17, buf {st_ino=0})
[2010-06-03 14:53:32] W [fuse-bridge.c:1533:fuse_rename_cbk] glusterfs-fuse: 1785: /file -> /file_ro => -1 (File exists)
It happened once but unable to reproduce this bug with 3.0.5rc5,3.0.5rc4,3.0.5rc3. again,unable to reproduce this bug with 3.0.5rc6 ,3.05rc3 Laxmi, Raghu - should this be closed ? I think we can close this bug. We can reopen if it is reproduced. |
Created attachment 228 [details] new man page fix