mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1557] Verify s3fs behaviour with S3 VPC Endpoints and regional configuration in fstab #819
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#819
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 @kwerey on GitHub (Feb 8, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1557
Hi s3fs team - thank you for this useful tool!
I've been debugging some instability in mounting a bucket with s3fs in fstab - I keep logging in to find the message
I'm trying to confirm that
My fstab configuration is this:
I was surprised after adding the
endpoint=eu-west-2property to to see /var/log/messages refer toBUCKET-1.s3.amazonaws.com. The VPC Endpoint docs say you must use a region-specific HTTP request to ensure S3 requests go via the endpoint:By adding
-d,-d,-dinto fstab I get a much more verbose log that includesx-amz-bucket-region: eu-west-2and that gives me an IP addressThat IP address matches the prefix lists for the VPC endpoint (from VPC -> Route Tables):
com.amazonaws.eu-west-2.s3, 52.95.150.0/24, 3.5.244.0/22, 52.95.148.0/23My host is connecting to 52.95.150.9, which is within that 52.95.150.0/24 CIDR block - so the route table seems to be sending it to the VPC endpoint and hitting eu-west-2 cleanly.
If anyone can confirm whether seeing
BUCKET-1.s3.amazonaws.comin logs instead ofBUCKET-1.REGION.s3.amazonaws.comis expected behaviour, and not the cause of my buckets-unmounting-themselves issues, I'd much appreciate it!Additional Information
Version of s3fs being used (s3fs --version)
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
Kernel information (uname -r)
GNU/Linux Distribution, if applicable (cat /etc/os-release)
/etc/fstab entry, if applicable
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
Noted above
Details about issue
@syu-lk4b commented on GitHub (Nov 10, 2021):
I am facing the same issue now, this happens when we start the machine learning job, when the job start, it will read a lot of data from the s3mount, then after a while running.
from the mount commands, you can still see it.
s3fs on /home/jovyan/s3mount type fuse.s3fs (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
however from the df command, the s3mount is gone
#df
Filesystem 1K-blocks Used Available Use% Mounted on
overlay 7436684528 2143823288 5292844856 29% /
tmpfs 65536 0 65536 0% /dev
tmpfs 395629536 0 395629536 0% /sys/fs/cgroup
tmpfs 395629536 1308 395628228 1% /dev/shm
udev 395597684 0 395597684 0% /dev/fuse
/dev/md1 7436684528 2143823288 5292844856 29% /etc/hosts
/dev/rbd0 10190100 42516 10131200 1% /home/jovyan
tmpfs 395629536 12 395629524 1% /run/secrets/kubernetes.io/serviceaccount
tmpfs 395629536 12 395629524 1% /proc/driver/nvidia
when I try to mount it again, the "Transport endpoint is not connected" error message pops up