You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Mount Object Storage Bucket as Filesystem During the Boot Using fstab Entry

edited Sep 11, 2024 6:23PM in Linux

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 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!