Differences
This shows you the differences between the selected revisions of the page.
2017-03-04 | 2017-11-11 | ||
https (martin) | s3fs: MOUNTPOINT directory /backup is not empty. if you are sure this is safe, can use the 'nonempty' mount option. (73.170.130.58) | ||
Line 22: | Line 22: | ||
* Store security credentials that will be used to access the S3 bucket to ''/etc/passwd-s3fs'': \\ ''echo <access-key-id>:<secret-access-key> > /etc/passwd-s3fs'' \\ ''chmod 600 /etc/passwd-s3fs'' \\ (Replace the ''<access-key-id>'' and ''<secret-access-key>'' with the actual values) | * Store security credentials that will be used to access the S3 bucket to ''/etc/passwd-s3fs'': \\ ''echo <access-key-id>:<secret-access-key> > /etc/passwd-s3fs'' \\ ''chmod 600 /etc/passwd-s3fs'' \\ (Replace the ''<access-key-id>'' and ''<secret-access-key>'' with the actual values) | ||
* Create mount point (example): \\ ''mkdir /mnt/<bucket>'' | * Create mount point (example): \\ ''mkdir /mnt/<bucket>'' | ||
- | * Add entry to ''[[&man_ref(5,fstab)|fstab]]'' to mount the bucket: \\ ''echo s3fs#<bucket> /mnt/<bucket> fuse _netdev,rw,nosuid,nodev,allow_other 0 0 %%>>%% /etc/fstab'' \\ (Replace the leading ''<bucket>'' with your bucket name and the ''/mnt/<bucket>'' with the mount point) | + | * Add entry to ''[[&man_ref(5,fstab)|fstab]]'' to mount the bucket: \\ ''echo s3fs#<bucket> /mnt/<bucket> fuse _netdev,rw,nosuid,nodev,allow_other,nonempty 0 0 %%>>%% /etc/fstab'' \\ (Replace the leading ''<bucket>'' with your bucket name and the ''/mnt/<bucket>'' with the mount point) |
* Mount the bucket: \\ ''mount -a'' | * Mount the bucket: \\ ''mount -a'' | ||