mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 08:46:54 +08:00
Created fstab (markdown)
15
fstab.md
Normal file
15
fstab.md
Normal file
@@ -0,0 +1,15 @@
|
||||
To mount SeaweedFS using `/etc/fstab` (such as on boot):
|
||||
|
||||
* Follow the directions in https://github.com/seaweedfs/seaweedfs/wiki/FUSE-Mount for setting up a SeaweedFS mount subtype for FUSE (hint: `cp weed /sbin/weed`)
|
||||
* Install SeaweedFS as usual, making sure any specific settings (such as `security.toml`) are in the correct location to be read
|
||||
* Add the fstab entry as described below
|
||||
|
||||
If you have a single filer server, this is the syntax you will use:
|
||||
|
||||
`fuse /path/to/mountpoint fuse.weed filer=localhost:8888,filer.path=/,defaults,_netdev 0 0`
|
||||
|
||||
If you have multiple filer servers, this is the syntax you will use:
|
||||
|
||||
`fuse /path/to/mountpoint fuse.weed filer='192.168.0.1:8888,192.168.0.2:8888',filer.path=/,defaults,_netdev 0 0`
|
||||
|
||||
Place the appropriate line into `/etc/fstab` and attempt to mount your filesystem. If you encounter any issues, run `weed mount` directly in verbose/debug mode to diagnose the issue, and switch back to fstab-style mounting once you have resolved the issues.
|
||||
Reference in New Issue
Block a user