amazon-web-servicesamazon-s3mounts3fs

Regarding mounting S3 bucket in Amazon linux permanently


I have bucket named test bucket and I need to mount this bucket under /var/www/html/upload. the bucket is having 33 GB data. I am using below command to mount

/usr/bin/s3fs -o allow_other test         var/www/html/upload
                             [buck name]  [mount point ]

it mounted but when I try to list the files it throws error like as given below

  df: ‘/var/www/html/upload: Transport endpoint is not connected
  1. Also is there any way to change the ownership of the directory in which I have mounted S3 bucket. when I try to do that I getting below error

    cp: preserving permissions for ‘/upload/pp-11415-AfQqcI3t_o.jpg’: Operation not supported

It would be great if someone help on this. Thanks in Advance.


Solution

  • Here are my steps:

    Hope it will help you.