MongoExpUser / Mount-Unmount-Object-Storage-on-Linux

Mount or unmount object storage on Linux/Ubuntu OS directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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
  3. 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.

About

Mount or unmount object storage on Linux/Ubuntu OS directory

License:MIT License


Languages

Language:Shell 100.0%