Am Ubuntu 20.04 pe o instanță cloud. Această instanță se află pe Oracle Cloud Infrastructure (OCI). Am creat acolo un depozit de obiecte pe care îl adaug manual folosind următoarea comandă
s3fs WTX-Cotton-bucket /home/ubuntu/wtx_cotton_storage -o passwd_file=${HOME}/.passwd-s3fs -o url=https://axrpuscetkut.compat.objectstorage.us-ashburn-1.oraclecloud.com/ - onomultipart -o use_path_request_style -o endpoint=us-ashburn-1 -o nonempty
Când repornesc instanța. Depozitul nu este montat. Prin urmare, trebuie să îl adaug în /etc/fstab pentru a fi montat de fiecare dată când pornește computerul. Acesta este codul meu curent pentru a-l adăuga:
WTX-Cotton-bucket /home/ubuntu/wtx_cotton_storage fuse.s3fs use_path_request_style,passwd_file=/home/ubuntu/.passwd-s3fs,url=https://axrpuscetkut.compat.objectstorage.us-ashburn-1.com,oracle endpoint=us-ashburn-1 kernel_cache,multipart_size=128,parallel_count=50,multireq_max=100,max_background=1000,_netdev
Acestea sunt instrucțiuni de pe un site oracol:
<bucket_name> /path/to/<local_directory_name> fuse.s3fs use_path_request_style,passwd_file=/root/.s3fs-password,url=https://<namespace_name>.compat.objectstorage.<region_ID>.oraclecloud.com,endpoint= <region_ID> kernel_cache,multipart_size=128,parallel_count=50,multireq_max=100,max_background=1000,_netdev{code}
După ce l-a adăugat în /etc/fstab. fac sudo mount -a
și primesc acest mesaj de eroare:
mount: /etc/fstab: eroare de analiză la linia 25 -- ignorată
cat -v /etc/fstab
WTX-Cotton-bucket /home/ubuntu/wtx_cotton_storage fuse.s3fs use_path_request_style,passwd_file=/home/ubuntu/.passwd-s3fs,url=https://axrpuscetkut.compat.objectstorage.us-ashburn-1.com,oracle endpoint=us-ashburn-1 kernel_cache,multipart_size=128,parallel_count=50,multireq_max=100,max_background=1000,_netdev