An open API service indexing awesome lists of open source software.

https://github.com/mongoexpuser/mount-unmount-object-storage-on-linux

Mount or unmount object storage on Linux/Ubuntu OS directory
https://github.com/mongoexpuser/mount-unmount-object-storage-on-linux

bash cloud-providers linux mount object-storage ubuntu unmount

Last synced: about 12 hours ago
JSON representation

Mount or unmount object storage on Linux/Ubuntu OS directory

Awesome Lists containing this project

README

          

# Mount-Unmount-Object-Storage-on-Linux

## Usage
1) The script mounts or unmounts object storage on Linux/Ubuntu OS directory.

2) Object storage by various cloud providers include:

- Amazon S3 (aws_s3) - https://aws.amazon.com/s3/

- Linode Object Storage (linode_objs) - https://www.linode.com/products/object-storage/

- Backblaze Cloud Storage (b2_cs) - https://www.backblaze.com/b2/cloud-storage.html

- Google Cloud Storage (gcp_cs) - https://cloud.google.com/storage

- Azure Blob Storage (azure_blbs - https://azure.microsoft.com/en-us/products/storage/blobs/

- Oracle Object Storage (oci_objs) - https://www.oracle.com/cloud/storage/object-storage/

- Digital Ocean Spaces Object Storage (do_sobjs) - https://docs.digitalocean.com/products/spaces/

- Vultr Object Storage (vul_objs) - https://www.vultr.com/pricing/#object-storage

- Scaleway Object Storage (scw_objs) - https://www.scaleway.com/en/object-storage/

- OVH Object Storage (ovh_objs) - https://us.ovhcloud.com/public-cloud/object-storage/

- Cloudflare R2 (clf_r2) - https://developers.cloudflare.com/r2/

- etc.

## TO run the Bash script

1) #### Download or clone the following file, from this repo, into the current working directory (CWD) on the Linux/Ubuntu OS machine:

- Bash script - mount-unmount-object-storage.sh


2) #### Fill in relevant input variables (line 22-28 of the script) at the top of the script including:

- clean_system_confirm
- mount_storage_confirm
- unmount_storage_confirm
- mount_dir
- bucket_name
- provider_url
- credentials

4) #### Then set permssion on the script and run the script, assuming sudo access:

- set permission

sudo chmod u+x mount-unmount-object-storage.sh
- run

./mount-unmount-object-storage.sh

# License

Copyright © 2015 - present. MongoExpUser

Licensed under the MIT license.