This document covers the steps to set up your ObjectiveFS filesystem with Google Cloud Storage.
Filesystem
section on your profile pageConfigure Objectivefs
The config parameters will be stored in /etc/objectivefs.env/
$ sudo mount.objectivefs config
Enter ObjectiveFS license: <your ObjectiveFS license>
Enter Access Key Id: <your GCS access key>
Enter Secret Access Key: <your GCS secret key>
Enter Default Region (optional): <your GCS region, e.g. us>
Create your filesystem (one-time only)
$ sudo mount.objectivefs create <your filesystem name>
Passphrase (for gs://<filesystem>): <your passphrase>
Verify passphrase (for gs://<filesystem>): <your passphrase>
Note: Your filesystem will be created in the default region if specified in step 2 or based your server’s location (us
, eu
or asia
) otherwise. Mount your filesystem
Mount your filesystem on an existing empty directory, e.g. /ofs
. The ObjectiveFS process will run in the background.
$ sudo mkdir /ofs
$ sudo mount.objectivefs <your filesystem name> /ofs
Passphrase (for gs://<filesystem>): <your passphrase>
[Optional] Multi-server setup
Mount this filesystem on as many servers as you wish by running steps 1, 2 and 4 on each server. Each server can read and write to the same filesystem at the same time.
/etc/objectivefs.env/OBJECTIVEFS_PASSPHRASE
to mount the filesystem without manually entering the passphrase each time./etc/fstab
, see the mount on boot guide.If you have questions, please email us at support@objectivefs.com.
Last updated by ObjectiveFS staff, May 4, 2021
ObjectiveFS is a shared filesystem for Linux and macOS that automatically scales up and out with high performance. In production use by Fortune 500 companies since 2013.