5

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.

3 Answers 3

7

I'd like to know to which bucket each mount is mapped.

# ps -ef | grep s3fs
root      9273     1  0 Feb12 ?        00:34:52 s3fs bucket1 /mnt/p1
root     23130     1  0 Feb18 ?        00:53:10 s3fs bucket2 /mnt/p2
4

You can view s3 mounts with the mount command:

[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 fusectl:

[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

0

Doesn't it show up in the "mount" command?

2
  • No, it does not.
    – ripper234
    May 21, 2012 at 14:08
  • Wait, actually I see this in mount: fusectl on /sys/fs/fuse/connections type fusectl (rw) ... but I still don't know what to make of it.
    – ripper234
    May 21, 2012 at 14:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .