JuiceFS
JuiceFS presents an object store as a filesystem. It’s useful for clustering and it’s fast and well regarded, but it requires a bit of setup. The only downside (beyond the setup) is that the data is encoded into the object store as blobs and you can’t get it out directly should something fail.
These are just some partial notes from when I tested it.
# Creating and mounting a volume once everything is installed
juicefs format --storage s3 --bucket http://127.0.0.1:9000/myjfs --access-key allen --secret-key SOMEKEY sqlite3://myjfs.db myjfs
juicefs mount sqlite3://myjfs.db ~/jfs
# Creating a JuiceFS Service
[Service]
Type=notify
NotifyAccess=main
User=rustfs-user
Group=rustfs-user
WorkingDirectory=/usr/local
EnvironmentFile=-/etc/default/rustfs
ExecStart=/usr/local/bin/rustfs \$RUSTFS_VOLUMES
LimitNOFILE=1048576
LimitNPROC=32768
TasksMax=infinity
Restart=always
RestartSec=10s
OOMScoreAdjust=-1000
SendSIGKILL=no
TimeoutStartSec=30s
TimeoutStopSec=30s
NoNewPrivileges=true
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictRealtime=true
# service log configuration
StandardOutput=append:/var/log/rustfs/rustfs.log
StandardError=append:/var/log/rustfs/rustfs-err.log
[Install]
WantedBy=multi-user.target
# You may also want to
sudo apt install minio-client
mc alias set rustfs http://localhost:9000 allen somepassword
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.