Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon S3 with s3fs and fuse, transport endpoint is not connected

Redhat with Fuse 2.4.8
S3FS version 1.59

From the AWS online management console i can browse the files on the S3 bucket.
When i log-in (ssh) to my /s3 folder, i cannot access it.
also the command: "/usr/bin/s3fs -o allow_other bucket /s3"
return: s3fs: unable to access MOUNTPOINT /s3: Transport endpoint is not connected

What could be the reason? How can i fix it ? does this folder need to be unmount and then mounted again ?

Thanks !

like image 544
ilansch Avatar asked Dec 23 '12 10:12

ilansch


People also ask

Does AWS support S3FS?

A S3 bucket can be mounted in a AWS instance as a file system known as S3fs. S3fs is a FUSE file-system that allows you to mount an Amazon S3 bucket as a local file-system.


1 Answers

Well, the solution was simple: to unmount and mount the dir. The error transport endpoint is not connected was solved by unmounting the s3 folder and then mounting again.

Command to unmount

fusermount -u /s3 

Command to mount

/usr/bin/s3fs -o allow_other bucketname /s3 

Takes 3 minutes to sync.

like image 199
ilansch Avatar answered Sep 19 '22 02:09

ilansch