Hi,
$ gluster vol info cfe-gv1
Volume Name: cfe-gv1
Type: Distributed-Replicate
Volume ID: 70632183-4f26-4f03-9a48-e95f564a9e8c
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: srv-vln-gfsc1n1:/expgfs/cfe/brick1/brick
Brick2: srv-vln-gfsc1n2:/expgfs/cfe/brick1/brick
Brick3: srv-vln-gfsc1n3:/expgfs/cfe/brick1/brick
Brick4: srv-vln-gfsc1n4:/expgfs/cfe/brick1/brick
Options Reconfigured:
performance.readdir-ahead: on
nfs.disable: on
user.cifs: disable
user.smb: disable
user.cifs.disable: on
user.smb.disable: on
client.event-threads: 4
server.event-threads: 4
cluster.lookup-optimize: on
cluster.server-quorum-type: server
cluster.server-quorum-ratio: 51%
I did not see any errors in logs.
I could move the file through an intermediate directory /tmp (not GlusterFS).
$ mv /u01/2016/03/fichero.xml /tmp
$ mv /tmp/ /u01/procesados/2016/03/
I did not think restart the volume,
What do you think could be the problem?
Thanks,
2016-06-13 14:44 GMT+02:00 Vijay Bellur <vbellur at
redhat.com>:> 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