aliyun / ossfs

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

使用 ossfs 拷贝大文件问题 #46

Open outofforce opened 7 years ago

outofforce commented 7 years ago

使用 ossfs 挂在 bucket 到 ubuntu12.4 32位系统,fuse版本2.8.6 ,拷贝 1.7G 以上的文件到挂在目录,会报 operation not support ,然后再拷贝其他文件到挂在目录,会出现 Segmentation fault。 umount或者 reboot,重新挂在问题还在。

部分日志如下
[DBG] s3fs.cpp:check_parent_object_access(657): [path=/file1024] [DBG] s3fs.cpp:check_object_access(551): [path=/] [DBG] s3fs.cpp:get_object_attribute(405): [path=/] [INF] s3fs.cpp:create_file_object(888): [path=/file1024][mode=100600] [INF] curl.cpp:PutRequest(2383): [tpath=/file1024] [INF] curl.cpp:PutRequest(2400): create zero byte file object. [DBG] curl.cpp:GetHandler(239): Get handler from pool: 31 [INF] curl.cpp:prepare_url(4025): URL is http://oss-cn-hangzhou-internal.aliyuncs.com/hellok/file1024 [INF] curl.cpp:prepare_url(4057): URL changed is http://hellok.oss-cn-hangzhou-internal.aliyuncs.com/file1024 [INF] curl.cpp:PutRequest(2485): uploading... [path=/file1024][fd=-1][size=0] [DBG] curl.cpp:RequestPerform(1791): connecting to URL http://hellok.oss-cn-hangzhou-internal.aliyuncs.com/file1024 [INF] curl.cpp:RequestPerform(1811): HTTP response code 200 [DBG] curl.cpp:ReturnHandler(262): Return handler to pool: 31 [INF] cache.cpp:DelStat(404): delete stat cache entry[path=/file1024] [DBG] s3fs.cpp:get_object_attribute(405): [path=/file1024] [INF] curl.cpp:HeadRequest(2232): [tpath=/file1024] [INF] curl.cpp:PreHeadRequest(2174): [tpath=/file1024][bpath=][save=][sseckeypos=-1] [DBG] curl.cpp:GetHandler(239): Get handler from pool: 31 [INF] curl.cpp:prepare_url(4025): URL is http://oss-cn-hangzhou-internal.aliyuncs.com/hellok/file1024 [INF] curl.cpp:prepare_url(4057): URL changed is http://hellok.oss-cn-hangzhou-internal.aliyuncs.com/file1024 [DBG] curl.cpp:RequestPerform(1791): connecting to URL http://hellok.oss-cn-hangzhou-internal.aliyuncs.com/file1024 [INF] curl.cpp:RequestPerform(1811): HTTP response code 200 [DBG] curl.cpp:ReturnHandler(262): Return handler to pool: 31 [INF] cache.cpp:AddStat(248): add stat cache entry[path=/file1024] [DBG] cache.cpp:GetStat(171): stat cache hit [path=/file1024][time=1478237615][hit count=0] [DBG] fdcache.cpp:Open(1809): [path=/file1024][size=0][time=-1] [DBG] fdcache.cpp:Open(710): [path=/file1024][fd=-1][size=0][time=-1] [INF] s3fs.cpp:s3fs_getattr(797): [path=/file1024] [DBG] s3fs.cpp:check_parent_object_access(657): [path=/file1024] [DBG] s3fs.cpp:check_object_access(551): [path=/] [DBG] s3fs.cpp:get_object_attribute(405): [path=/] [DBG] s3fs.cpp:check_object_access(551): [path=/file1024] [DBG] s3fs.cpp:get_object_attribute(405): [path=/file1024] [DBG] cache.cpp:GetStat(171): stat cache hit [path=/file1024][time=1478237615][hit count=1] [DBG] fdcache.cpp:ExistOpen(1860): [path=/file1024][fd=-1][ignore_existfd=false] [DBG] fdcache.cpp:Open(1809): [path=/file1024][size=-1][time=-1] [DBG] s3fs.cpp:s3fs_getattr(821): [path=/file1024] uid=0, gid=0, mode=100600 [INF] s3fs.cpp:s3fs_getxattr(3061): [path=/file1024][name=security.capability][value=(nil)][size=0] [DBG] s3fs.cpp:check_parent_object_access(657): [path=/file1024] [DBG] s3fs.cpp:check_object_access(551): [path=/] [DBG] s3fs.cpp:get_object_attribute(405): [path=/] [DBG] s3fs.cpp:get_object_attribute(405): [path=/file1024] [DBG] cache.cpp:GetStat(171): stat cache hit [path=/file1024][time=1478237615][hit count=2] [DBG] s3fs.cpp:s3fs_write(2094): [path=/file1024][size=1024][offset=0][fd=7] [DBG] fdcache.cpp:ExistOpen(1860): [path=/file1024][fd=7][ignore_existfd=false] [DBG] fdcache.cpp:Open(1809): [path=/file1024][size=-1][time=-1] [DBG] fdcache.cpp:Dup(695): [path=/file1024][fd=7][refcnt=2] [DBG] fdcache.cpp:Write(1478): [path=/file1024][fd=7][offset=0][size=1024] Segmentation fault
2016-11-04 13:40:34