Giter VIP home page Giter VIP logo

ossfs's Issues

ossfs使用的疑问

我在使用ossfs过程中,遇到一些错误。但是项目中并没有相关Usage文档,我不知道是否是由于不正确使用导致的错误。下面是我的环境和使用方法,还请帮忙指出如何正确使用ossfs。谢谢。

Env:

Aliyun ECS Ubuntu 14.04.3 LTS

我通过以下命令mount existing OSS bucket

sudo ./ossfs -i the-id -k the-key --host oss-cn-beijing-internal.aliyuncs.com -b my-bucket -d  /mnt/oss

执行ossfs命令后,发现ossfs并没有在后台运行,而是运行在前台。如果加上&把ossfs放在后台运行,但发现mountpoint /mnt/oss没有被mount上。

当ossfs在前台执行的时候,得到以下默认输出,

could not find ParserDetails.ini in /usr/local/share/perl/5.18.2/XML/SAX
Use of uninitialized value in subroutine entry at /usr/local/lib/perl/5.18.2/Fuse.pm line 147.
FUSE library version: 2.9.2
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.22
flags=0x0000f7fb
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 1, success, outsize: 40

但当我执行ls /mnt/oss的时候,得到类似下面的错误,

LOOKUP /a2cd8518-4079-415d-b18f-83665f6553b4
getattr /a2cd8518-4079-415d-b18f-83665f6553b4
   unique: 104, error: -2 (No such file or directory), outsize: 16
unique: 105, opcode: LOOKUP (1), nodeid: 1, insize: 77, pid: 8012
LOOKUP /a3f92c99-7c89-43e9-930d-107fa4b78f43
getattr /a3f92c99-7c89-43e9-930d-107fa4b78f43
   unique: 105, error: -2 (No such file or directory), outsize: 16
unique: 106, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 8012
   unique: 106, success, outsize: 16
unique: 107, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0
releasedir[0] flags: 0x0
   unique: 107, success, outsize: 16

ls能够列出bucket下面的文件夹,但无法访问这些文件夹。

?????????? ? ? ? ?            ? a1afac2b-cb85-4aab-8570-aac364c8fe49
?????????? ? ? ? ?            ? a25c7d24-a64e-413e-a913-39f3416999fa
?????????? ? ? ? ?            ? a26cf59a-d745-4c71-97c3-2dc18624f947

每小时8w请求会报段错误

[9042761.816734] ossfs[989]: segfault at 0 ip 0000000000410f31 sp 00007f6829ffaa70 error 4 in ossfs[400000+77000]
[9138195.650191] ossfs[6369]: segfault at 0 ip 0000000000410f31 sp 00007fafcfffea70 error 4 in ossfs[400000+77000]
[9150239.270787] ossfs[15415]: segfault at 0 ip 0000000000410f31 sp 00007f0dc09c7a70 error 4 in ossfs[400000+77000]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.