Skip to content
Benjamin Arntzen edited this page May 16, 2024 · 1 revision

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.

Introduction

API

Configuration

Filer

Advanced Filer Configurations

Cloud Drive

AWS S3 API

AWS IAM

Machine Learning

HDFS

Replication and Backup

Messaging

Use Cases

Operations

Advanced

Security

Misc Use Case Examples

Clone this wiki locally