How can I list the s3fs mounts that exist on an ubuntu system? I'd like to know to which bucket each mount is mapped.
Specifically, I have a specific mount (e.g. ~/s3/mymount), and would like to know to which S3 bucket its mapped.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
You can view s3 mounts with the
[user@hostname ~]$ mount | grep ^s3fs s3fs on /mnt/point type fuse.s3fs (rw,relatime,user_id=0,group_id=0)
If you don't see it here it is probably not mounted.
A related item you will see in the mount output is
[user@hostname ~]$ mount | grep ^fusectl fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
This is a related service that is used to mount the s3 bucket but does not indicate if an s3 bucket is currently mounted. Only that you could mount it with fusectl