Re: problem in cephfs for remove empty directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/03/2015 14:07, Daniel Takatori Ohara wrote:
$ls test-daniel-old/
total 0
drwx------ 1 rmagalhaes BioInfoHSL Users            0 Mar  2 10:52 ./
drwx------ 1 rmagalhaes BioInfoHSL Users 773099838313 Mar  2 11:41 ../

$rm -rf test-daniel-old/
rm: cannot remove ‘test-daniel-old/’: Directory not empty

$ls test-daniel-old/
ls: cannot access test-daniel-old/M_S8_L001_R1-2_001.fastq.gz_ref.sam_fixed.bam: No such file or directory
ls: cannot access test-daniel-old/M_S8_L001_R1-2_001.fastq.gz_sylvio.sam_fixed.bam: No such file or directory
ls: cannot access test-daniel-old/M_S8_L002_R1-2_001.fastq.gz_ref.sam_fixed.bam: No such file or directory
ls: cannot access test-daniel-old/M_S8_L002_R1-2_001.fastq.gz_sylvio.sam_fixed.bam: No such file or directory
ls: cannot access test-daniel-old/M_S8_L003_R1-2_001.fastq.gz_ref.sam_fixed.bam: No such file or directory
ls: cannot access test-daniel-old/M_S8_L003_R1-2_001.fastq.gz_sylvio.sam_fixed.bam: No such file or directory
ls: cannot access test-daniel-old/M_S8_L004_R1-2_001.fastq.gz_ref.sam_fixed.bam: No such file or directory
ls: cannot access test-daniel-old/M_S8_L004_R1-2_001.fastq.gz_sylvio.sam_fixed.bam: No such file or directory
total 0
drwx------ 1 rmagalhaes BioInfoHSL Users            0 Mar  2 10:52 ./
drwx------ 1 rmagalhaes BioInfoHSL Users 773099838313 Mar  2 11:41 ../
l????????? ? ?          ?                           ?            ? M_S8_L001_R1-2_001.fastq.gz_ref.sam_fixed.bam
l????????? ? ?          ?                           ?            ? M_S8_L001_R1-2_001.fastq.gz_sylvio.sam_fixed.bam
l????????? ? ?          ?                           ?            ? M_S8_L002_R1-2_001.fastq.gz_ref.sam_fixed.bam
l????????? ? ?          ?                           ?            ? M_S8_L002_R1-2_001.fastq.gz_sylvio.sam_fixed.bam
l????????? ? ?          ?                           ?            ? M_S8_L003_R1-2_001.fastq.gz_ref.sam_fixed.bam
l????????? ? ?          ?                           ?            ? M_S8_L003_R1-2_001.fastq.gz_sylvio.sam_fixed.bam
l????????? ? ?          ?                           ?            ? M_S8_L004_R1-2_001.fastq.gz_ref.sam_fixed.bam
l????????? ? ?          ?                           ?            ? M_S8_L004_R1-2_001.fastq.gz_sylvio.sam_fixed.bam
You don't say what version of the client (version of kernel, if it's the kernel client) this is.  It would appear that the client thinks there are some dentries that don't really exist.  You should enable verbose debug logs (with fuse client, "debug client = 20") and reproduce this.  It looks like you had similar issues (subject: "problem for remove files in cephfs") a while back, when Yan Zheng also advised you to get some debug logs.

John
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux