[GH-ISSUE #872] Can't mount S3 bucket on Linux #505

Closed
opened 2026-03-04 01:46:11 +03:00 by kerem · 4 comments
Owner

Originally created by @lwg001 on GitHub (Dec 11, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/872

I have s3fs installed and ready to go. I'm to the point where I need to mount the S3 bucket on the OS but I can't seem to get the paths right.

"s3fs mybucket /path/to/mountpoint -o passwd_file=${HOME}/.passwd-s3fs"

What is mybucket? The directory that I want to mount it to is https://s3.console.aws.amazon.com/s3/buckets/cds-datalake/MODEL_VAR_DB/SourceData/temp/
Is mybucket the full path name?

Any advice would be beneficial.

Originally created by @lwg001 on GitHub (Dec 11, 2018). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/872 I have s3fs installed and ready to go. I'm to the point where I need to mount the S3 bucket on the OS but I can't seem to get the paths right. "s3fs mybucket /path/to/mountpoint -o passwd_file=${HOME}/.passwd-s3fs" What is mybucket? The directory that I want to mount it to is https://s3.console.aws.amazon.com/s3/buckets/cds-datalake/MODEL_VAR_DB/SourceData/temp/ Is mybucket the full path name? Any advice would be beneficial.
kerem closed this issue 2026-03-04 01:46:12 +03:00
Author
Owner

@swt2c commented on GitHub (Dec 12, 2018):

It looks like cds-datalake is probably your bucket name.

<!-- gh-comment-id:446615195 --> @swt2c commented on GitHub (Dec 12, 2018): It looks like cds-datalake is probably your bucket name.
Author
Owner

@lwg001 commented on GitHub (Dec 12, 2018):

Thanks for the response, the only problem that I have with that is the Datalake folder is huge and I want a sub directory. Is there any way to get a sub directory mounted?

<!-- gh-comment-id:446615788 --> @lwg001 commented on GitHub (Dec 12, 2018): Thanks for the response, the only problem that I have with that is the Datalake folder is huge and I want a sub directory. Is there any way to get a sub directory mounted?
Author
Owner

@gaul commented on GitHub (Jan 4, 2019):

You can mount a prefix via:

s3fs mybucket:/subdirectory/ /path/to/mountpoint
<!-- gh-comment-id:451559455 --> @gaul commented on GitHub (Jan 4, 2019): You can mount a prefix via: ``` s3fs mybucket:/subdirectory/ /path/to/mountpoint ```
Author
Owner

@ggtakec commented on GitHub (Mar 29, 2019):

I'm sorry for my late reply.

You can mount the directory in bucket to mount point as like to do as @gaul said.

I close this, but if there is an OS you want to support other than above, please create a new issue.
Thanks in advance for your assistance.

<!-- gh-comment-id:477867446 --> @ggtakec commented on GitHub (Mar 29, 2019): I'm sorry for my late reply. You can mount the directory in bucket to mount point as like to do as @gaul said. I close this, but if there is an OS you want to support other than above, please create a new issue. Thanks in advance for your assistance.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#505
No description provided.