/go/storage: storage from the Command Line

/go/storage mounts an rclone remote at /<name> as a FUSE filesystem, with caching enabled so repeated reads don't keep hitting the remote. It's meant to be run at boot (from a systemd service or @reboot cron entry set up separately — this command only performs the mount itself, once, when it's run). The call is appended to /var/log/go/storage.log. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Set up an rclone remote named "storage" first, then:
/go/storage

Options

None. Everything is read from the server:

Input Where it comes from
Remote and mount point name /var/go/etc/storage (letters, digits, and hyphens only; anything else is stripped), or storage if that file is missing
rclone remote configuration /root/.config/rclone/rclone.conf, checked for a matching [<name>] section

Examples

# Default remote name ("storage")
/go/storage

# Check it actually mounted
mountpoint /storage
df -h /storage

# Use a different remote/mount name
echo -n "backups" | sudo tee /var/go/etc/storage
/go/storage

Output

Outcome Output
Mounted successfully None
Remote not found (or the check failed to run — see below) Rclone [<name>] not found in file: followed by the config file’s path. Exit status 1.

See the full reference at /go/storage and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *