mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #1203] Mounting non-AWS bucket? #638
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#638
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 @RalfJung on GitHub (Nov 21, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1203
We are hosting our own S3-compatible storage and I would like to use s3fs with that. Unfortunately, s3fs insists on connecting to Amazon, and I was unable to find any hint in the documentation how one would specify a different provider. I tried
-o endpoint=OUR_SERVERto no avail, and I also tried using something likehttps://OUR_SERVER/BUCKET_NAME, which did not work either.I am sure there is something very simple I am doing wrong here, but alas, I can't figure out what, and the docs I found so far are not helping either.
Additional Information
Version of s3fs being used (s3fs --version)
Amazon Simple Storage Service File System V1.80(commit:unknown) with GnuTLS(gcrypt)
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
2.9.7-1+deb9u2
Kernel information (uname -r)
4.9.0-8-amd64
GNU/Linux Distribution, if applicable (cat /etc/os-release)
Debian GNU/Linux 9 (stretch)
s3fs command line used, if applicable
s3fs output
This is clearly nonsense, it is still using Amazon AWS.
Details about issue
@RalfJung commented on GitHub (Nov 21, 2019):
I ended up looking at the source code and found the undocumented option
-o host. That gets me a bit further, but it still does not list any files, strangely enough. But I see this in the syslog:@BattleMetalChris commented on GitHub (Nov 21, 2019):
You can use the 'url' option to point it at different places. -o url=
@RalfJung commented on GitHub (Nov 21, 2019):
@BattleMetalChris thanks, that also works, like
-o host! (I had searched for "server" and "host", but not "url" it seems).The folder remains empty though. I have by now done what I wanted to do using
s3cmdinstead, but it might still be useful to gets3fsto work as well.@BattleMetalChris commented on GitHub (Nov 21, 2019):
You can use -o dbglevel=info -f -o curldbg to show the debug output as it tries to connect, that may show what the issue is.
@RalfJung commented on GitHub (Nov 21, 2019):
The connection looks fine, but getting the path does not work:
If I had to guess, the problem is likely that it uses the subdomain
fp-science-ci.SERVERwhen really everything should just go throughSERVERdirectly. (For s3cmd I had to set--host-bucket=SERVER.)@gaul commented on GitHub (Feb 3, 2020):
Please test with a more recent s3fs. 1.80 is several years old and 1.85 is the latest.
@gaul commented on GitHub (Apr 22, 2020):
Please reopen if symptoms persist.