Differnce of Filer and Volume

36 views
Skip to first unread message

Bhavesh Kharwa

unread,
Jan 13, 2021, 1:10:00 AM1/13/21
to Seaweed File System
Hello,

what is the difference between Filer and Volume?
Also give me a example of Filer and Volume with failover (i.e. if any volume server down then will get the file information from another Volume)

For example :
weed master -mdir="C:\opt\idsk\dir\master"
weed volume -max=100 -mserver="localhost:9333" -dir="C:\opt\idsk\dir\server1" -port 8080 -fileSizeLimitMB=10000
weed volume -max=100 -mserver="localhost:9333" -dir="C:\opt\idsk\dir\server2" -port 8081 -fileSizeLimitMB=10000

If volume 8080 is down then when I download the file then it will give response from volume 8081 something like replication

ChrisLu

unread,
Jan 13, 2021, 3:07:04 AM1/13/21
to Seaweed File System
https://github.com/chrislusf/seaweedfs/wiki/Directories-and-Files
This has details of why Filer is needed.

For replication, when trying to locate the a file by volume id, there will be 2 volume server locations returned. The clients can try the other one if the first try failed.

Chris

Reply all
Reply to author
Forward
0 new messages