You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RustFS never starts on macOS: "Volume not found" because the data path contains a space #62
RustFS installs but never starts on macOS. Flock restarts it every 30 seconds, and the log shows:
{"level":"ERROR","message":"Local disk initialization failed","error":"VolumeNotFound",...}
[FATAL] Server runtime failed: Volume not found
[flock] rustfs exited: exit status 1
Cause
rustfs() in internal/catalog/kinds.go passes the absolute data directory as the volume:
rustfs server ... --secret-key rustfsadmin /Users/me/Library/Application Support/Flock/services/rustfs/data/1
RustFS splits its volume arguments at spaces, so it gets /Users/me/Library/Application and Support/Flock/..., and neither exists. The same RustFS 1.0.3 binary starts fine with a data directory that has no space. This is the same kind of bug as #46 (MariaDB's basedir).
TestIntegrationInstallAndRun already uses a root with a space for this case, and FLOCK_CATALOG_INTEGRATION=rustfs fails on develop with the error above.
Proposed fix
Run RustFS from inside its data directory and pass . as the volume, the same way Meilisearch and MongoDB already use Dir: p.Data:
"--access-key", RustFSAccessKey, "--secret-key", RustFSSecretKey, "."},
Dir: p.Data, // RustFS splits its volumes at spaces, as in ~/Library/Application Support
I have a branch with this change and a unit test (TestRustFSVolumeHasNoSpace) that fails before the change and passes after. With the fix, the RustFS integration test passes too. I'm happy to open the PR against develop if this is approved.
Activity
onairmarc commentedon Oct 25, 2026
@1stevengrant I've assigned you the issue, so you should be able to open the PR with your changes now.
1stevengrant commentedon Oct 25, 2026
Thanks @onairmarc! The fix is up in #64.
fix(rustfs): run RustFS from its data directory so the volume has no …