How To Set Up ObjectiveFS With Minio
This guide covers the steps to set up your ObjectiveFS filesystem with MinIO object store.
A. Set Up MinIO
Download and install the MinIO Server.
-
Set up DNS for your test domain
Make sure these domains resolve to the IP address of your MinIO server when queried through the DNS server specified inexample.com
and*.example.com
./etc/resolv.conf
.
In this guide, we useexample.com
as the test domain. You can replace any reference toexample.com
with your own test domain. -
Start the MinIO server.
This example uses port8080
, but you can replace it with any free port.$ MINIO_DOMAIN=example.com minio server -address example.com:8080 /tmp/minio
B. Set Up ObjectiveFS
-
Configure objectivefs and set AWS_DEFAULT_REGION to
http://example.com:8080
.$ sudo mount.objectivefs config Enter ObjectiveFS license: <your ObjectiveFS license> Enter Access Key Id: <your MinIO access key> Enter Secret Access Key: <your MinIO secret key> Enter Default Region (optional): http://example.com:8080
-
Create your filesystem (one-time only)
$ sudo mount.objectivefs create <your filesystem name> Passphrase (for s3://<filesystem>): <your passphrase> Verify passphrase (for s3://<filesystem>): <your passphrase>
-
Mount your filesystem
You need an existing empty directory to mount your file system, e.g.
/ofs
.
Process will run in the background.$ sudo mkdir /ofs $ sudo mount.objectivefs <your filesystem name> /ofs Passphrase (for s3://<filesystem>): <your passphrase>
Note
- You can mount this filesystem on as many servers as you wish by running steps 1, 2 and 4 (in Part B above) on each server.
- Each server can then read and write to the filesystem.