New notes

This commit is contained in:
2023-04-26 09:36:49 -04:00
parent 5aba5188d7
commit e5bdf1648d
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
# Linode S3 Object Storage
_Linodes Object Storage is a globally-available, S3-compatible method for storing and accessing data. Object Storage differs from traditional hierarchical data storage, such as a traditional file system on a physical/virtual disk and Block Storage Volumes. Under Object Storage, files (also called objects) are stored in flat data structures (referred to as buckets) alongside their own rich metadata. - [https://www.linode.com/docs/products/storage/object-storage](https://www.linode.com/docs/products/storage/object-storage)_
Example Bucket Name: planethawleywood
# Install and Configure s3fs
```
sudo apt install s3fs
sudo echo "ACCESSCODE:SECRETKEY" > /etc/passwd-s3fs
sudo chmod 600 /etc/passwd-s3fs
mkdir /mnt/data/planethawleywood-os
```
# Mount Linode S3
## Mount from command line
```
s3fs planethawleywood /mnt/data/planethawleywood-os -o passwd_file=$HOME/.s3fs-creds -o url=https://us-east-1.linodeobjects.com -o use_path_request_style
```
## Mount from /etc/fstab
Add this line:
```
planethawleywood /mnt/data/planethawleywood-os fuse.s3fs _netdev,allow_other,use_path_request_style,use_cache=/tmp,url=https://us-east-1.linodeobjects.com 0 0
```