[Gluster-users] mv error : foo and bar are the same file ?

Daniel Maher dma+gluster at witbe.net
Tue Feb 24 14:08:29 UTC 2009


Hello all,

I have encountered a strange situation where mv seems to think that two 
files on the gluster mount are the same file.  Example :

[root at server gluster]# mv obj28824.xml obj28824T-1.xml
mv: 'obj28824.xml' and 'obj28824T-1.xml' are the same file

[root at server gluster]# ls -l obj28824*.xml
-rw-r--r-- 1 witbe witbe 5707 2009-02-21 03:02 obj28824T-1.xml
-rw-r--r-- 1 witbe witbe 5707 2009-02-23 08:12 obj28824.xml

[root at server gluster]# stat obj28824.xml
   File: `obj28824.xml'
   Size: 5707      	Blocks: 16         IO Block: 4096   regular file
Device: 10h/16d	Inode: 45875906    Links: 1
Access: (0644/-rw-r--r--)  Uid: (  500/   witbe)   Gid: (  500/   witbe)
Access: 2009-02-24 13:06:06.000000000 +0000
Modify: 2009-02-23 08:12:20.000000000 +0000
Change: 2009-02-23 08:12:20.000000000 +0000

[root at server gluster]# stat obj28824T-1.xml
   File: `obj28824T-1.xml'
   Size: 5707      	Blocks: 16         IO Block: 4096   regular file
Device: 10h/16d	Inode: 45876668    Links: 1
Access: (0644/-rw-r--r--)  Uid: (  500/   witbe)   Gid: (  500/   witbe)
Access: 2009-02-24 13:16:56.000000000 +0000
Modify: 2009-02-21 03:02:10.000000000 +0000
Change: 2009-02-23 08:12:19.000000000 +0000

I can perform this operation on other files in the same directory - it's 
just this file.  There are no references to this operation in the logs 
on either the client or the servers.

Any ideas ?

-- 
Daniel Maher <dma+gluster AT witbe DOT net>




More information about the Gluster-users mailing list