aliyun / ossfs

Export s3fs for aliyun oss.
GNU General Public License v2.0
738 stars 152 forks source link

某个目录下的数据报错“ No such file or directory” #122

Open sungaomeng opened 5 years ago

sungaomeng commented 5 years ago

现象:通过ossfs挂载bucket后ls 部分目录报错,但通过oss控制台查看目录下的数据是正常的

系统:CentOS release 6.8 (Final) 内核:Linux nas-data 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ossfs版本:ossfs-1.79.8-1.x86_64 报错:No such file or directory 挂载参数: ossfs roobo-archive:/多层子目录/cc /test -ourl=http://oss-cn-beijing-internal.aliyuncs.com -o allow_other

详细错误: [root@nas-data ~]# ll -a /test ls: cannot access /test/ai-breaker02-01: No such file or directory ls: cannot access /test/ai-breaker02-02: No such file or directory ls: cannot access /test/ai-breaker02-03: No such file or directory ls: cannot access /test/ai-breaker02-05: No such file or directory ls: cannot access /test/ai-breaker02-06: No such file or directory ls: cannot access /test/ai-breaker02-07: No such file or directory total 9 drwxrwxrwx 1 root root 0 Jan 1 1970 . dr-xr-xr-x. 41 root root 4096 Sep 27 17:09 .. ??????????? ? ? ? ? ? ai-breaker02-01 ??????????? ? ? ? ? ? ai-breaker02-02 ??????????? ? ? ? ? ? ai-breaker02-03 ??????????? ? ? ? ? ? ai-breaker02-05 ??????????? ? ? ? ? ? ai-breaker02-06 ??????????? ? ? ? ? ? ai-breaker02-07 drwxrwxrwx 1 root root 0 Jan 1 1970 prod-ai-breaker01-01