That is my first thought too.  

Try

 ls | od -c

See if there’s anything tricky before the newlines.


> On May 7, 2025, at 10:00 AM, Sergio Rabellino <rabell...@di.unito.it> wrote:
> 
> Could be that the "out files" are created programmatically  and there are any 
> invisible chars after the "t" in the second one e.g. a space?
> 
> 
> Il 07/05/2025 14:57, quag...@bol.com.br ha scritto:
>> Hello everyone,
>>      I am facing a situation that I have not yet been able to find a 
>> solution for.
>>      There is a client machine that is running a parallel job that generates 
>> an output file over time.
>>      The problem is that a file with the same name is being generated. There 
>> are two files with the same name and different dates.
>> 
>>      See:
>> # ls -la
>> drwxr-xr-x  5 userxxx groupyyy    12 May  6 23:11 .
>> drwxr-xr-x 19 userxxx groupyyy    74 May  6 14:13 ..
>> -rw-r--r--  1 userxxx groupyyy 53274 May  3 16:48 lixo
>> -rw-r--r--  1 userxxx groupyyy  1317 May  3 16:33 mos2_bands.in
>> -rw-r--r--  1 userxxx groupyyy 54370 May  3 16:49 mos2_nscf.in
>> -rw-r--r--  1 userxxx groupyyy  2242 May  6 17:16 mos2_nscf.out
>> -rw-r--r--  1 userxxx groupyyy  1865 May  3 17:28 mos2_nscf.out
>> -rw-r--r--  1 userxxx groupyyy  1132 May  3 16:43 mos2_scf.in
>> -rw-r--r--  1 userxxx groupyyy 30626 May  6 17:16 mos2_scf.out
>> -rw-r--r--  1 userxxx groupyyy 30287 May  3 17:27 mos2_scf.out
>> 
>>      In POSIX semantics, inside a directory structure, two files/directories 
>> with the same name should be not allowed.
>>      But when I "change" the ls command, this situation no longer appears. 
>> See:
>> 
>> # ls -la *out
>> -rw-r--r-- 1 userxxx groupyyy  2242 May  6 17:16 mos2_nscf.out
>> -rw-r--r-- 1 userxxx groupyyy 30626 May  6 17:16 mos2_scf.out
>> 
>>      This way of running ls, files with the same name do not appear.
>> 
>>      I currently have a new server in the cluster that is still in the 
>> backfill process. This situation could cause this problem.
>>      Could you help me identify the problem?
>> 
>> Thanks
>> Rafael.
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@ceph.io
>> To unsubscribe send an email to ceph-users-le...@ceph.io
>> 
> 
> -- 
> ing. Sergio Rabellino
> 
> Università degli Studi di Torino
> Dipartimento di Informatica
> Tecnico di Ricerca
> Cel +39-342-529-5409 Tel +39-011-670-6701 Fax +39-011-751603
> C.so Svizzera , 185 - 10149 - Torino
> 
> <http://www.di.unito.it>
> 
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to