How to Mount Object Storage Bucket as Filesystem During the Boot Using fstab Entry
Applies To:
Oracle Cloud Infrastructure
Oracle Linux (All Platforms)
Goal
This document explains steps to mount object storage bucket as a filesystem using the /etc/fstab entry for automatic mount during the reboot.
Solution
1) Follow the steps mentioned in the following document to perform the initial steps to mount the object storage bucket as filesystem.
2) Once the mount is successfully verified, unmount it using below command.
# fusermount -u /<mount-point>
3) Add the following entry in/etc/fstab
to mount the bucket automatically during every reboot:
s3fs#<name-of-bucket> <mount-point> fuse nomultipart,_netdev,use_path_request_style, passwd_file=/<path> /.passwd-s3fs,endpoint=<bucket-region>,url=https://<objectstoragenamespace>.compat.objectstorage.<bucket-region>.oraclecloud.com 0 0
Tagged:
0