mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #497] diskspace issue #278
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#278
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vgadhadaran on GitHub (Nov 16, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/497
[CRT] s3fs.cpp:set_s3fs_log_level(253): change debug level from [CRT] to [INF]
[INF] s3fs.cpp:set_moutpoint_attribute(4151): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
s3fs: There is no enough disk space for used as cache(or temporary) directory by s3fs.
I am getting the error although I have enough disk space. S3testdemo1 has around 300gb free space and my /tmp/nav folder has 50g of free space.. what should be the work around?
@gaul commented on GitHub (Nov 20, 2016):
Can you add some logging to
FdManager::IsSafeDiskSpaceso we can diagnose this further?@ggtakec commented on GitHub (Jan 7, 2017):
@vgadhadaran I'm sorry for my late reply,
And Thanks @andrewgaul
s3fs checks free disk space at starting by using statvfs function.
So you do not specify use_cache option, s3fs checks free disk space by "/tmp/" path.
It seems that this result is false, thus statvfs result is under 10MB.
Could you add the debugging codes in FdManager::GetFreeDiskSpace() in fdcache.cpp?
(or in FdManager::IsSafeDiskSpace() function, andrewgaul said.)
Thanks in advance for your help.
@vgadhadaran commented on GitHub (Jan 30, 2017):
s3fs: There is no enough disk space for used as cache(or temporary) directory by s3fs.
I had plenty of disk space. In this case, /tmp/s3fs_cache didn't exist. When I created it, the mount worked fine.
Even though I didnt set use_cache option, where does it points to the temp directory , as it prompts there is no enough disk space?
Adding this line in fdcache.cpp will be sufficient
FdManager::InitEnsureFreeDiskSpace();
if(!FdManager::IsSafeDiskSpace(NULL, S3fsCurl::GetMultipartSize())){
S3FS_PRN_EXIT("There is no enough disk space for used as cache(or temporary) directory by s3fs.");
exit(EXIT_FAILURE);
}
@ggtakec commented on GitHub (Apr 9, 2017):
@vgadhadaran I'm sorry fore my late reply.
so please try to use latest version on mster branch.
I am sorry to have trouble, if you can please retry to use latest codes.
Thanks in advance for your assistance.
@ggtakec commented on GitHub (Mar 30, 2019):
We kept this issue open for a long time.
Is this problem continuing?
We launch new version 1.86, which fixed some problem(bugs).
Please use the latest version.
I will close this, but if the problem persists, please reopen or post a new issue.