[Gluster-users] Error to move files

Vijay Bellur vbellur at redhat.com
Mon Jun 13 12:44:47 UTC 2016


On Fri, Jun 10, 2016 at 4:48 AM, Pepe Charli <ppcharli at gmail.com> wrote:
> Hi,
>
> I have encountered a strange situation where mv seems to think that two
> files on the gluster mount are the same file and one of them does not exist.
>
> From client (mount with FUSE)
> ----------------------------
> $ ls -li /u01/2016/03/fichero.xml
> 12240677508402255910 -rw-rw---- 1 nginx nginx 1797 Mar 23 17:55
> /u01/2016/03/fichero.xml
>
> $ ls -li /u01/procesados/2016/03/fichero.xml
> ls: cannot access procesados /u01/2016/03/fichero.xml: No such file or directory
>
> $ mv: ‘/u01/2016/03/fichero.xml’ and ‘procesados
> /u01//2016/03/fichero.xml’ are the same file
>
>
> From server (Gluster 3.7.6)
> ------------------------------
> $ ls -li /brick/u01/000002/ticket/procesados/2016/03/fichero.xml
> ls: cannot access
> /brick/u01/000002/ticket/procesados/2016/03/fichero.xml: No such file
> or directory
>
> $ ls -li /brick/u01/000002/ticket/2016/03/fichero.xml
> 2684355134 -rw-rw---- 2 nginx nginx 1797 Mar 23 17:55
> 000002/ticket/2016/03/fichero.xml
>
> $ getfattr -d -e hex -m.  /brick/u01/000002/ticket/2016/03/fichero.xml
> # file: 000002/ticket/2016/03/fichero.xml
> trusted.afr.dirty=0x000000000000000000000000
> trusted.bit-rot.version=0x020000000000000056c2c3090001217f
> trusted.gfid=0xaee7e1be15cd4ef7a9df9f570a6e1826
>
> $ stat /brick/u01/000002/ticket/2016/03/fichero.xml
>   File: ‘000002/ticket/2016/03/fichero.xml’
>   Size: 1797            Blocks: 8          IO Block: 4096   regular file
> Device: fc04h/64516d    Inode: 2684355134  Links: 2
> Access: (0660/-rw-rw----)  Uid: (  997/   nginx)   Gid: (  994/   nginx)
> Access: 2016-03-23 17:55:41.885494971 +0100
> Modify: 2016-03-23 17:55:42.104494830 +0100
> Change: 2016-06-10 08:53:16.849313580 +0200
>  Birth: -
>
> Could anyone help me?
>


Can you provide more details about your volume configuration and your
client log file?

Do you encounter a similar problem if you restart the volume?

Regards,
Vijay


More information about the Gluster-users mailing list