How can I configure seaweedfs so that files under a certain directory explicitly hold files on a certain data center? #6450
-
|
To unwrap this question into something more readable (and hopefully understandable): I have 3 machines, on every machine i have instances of the master, volume and filer services. Each of these machines is in a different dataCenter. I have configured the default replication of 100 so that the data has two copies scattered among 3 machines. I soon ran into an issue where Jellyfin would be excruciatingly slow because it needs to read files on each scan if they're not locally available on the same machine. Is there some sort of way to ensure that files written to a certain subdirectory will be stored on a given dataCenter. A bit of guidance is needed, apologies if this sort of use case is not supported. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
weed shell -master=xxxfs.configure -locationPrefex=<directory_prefex> -dataCenter=<your_datacenter> -applyMake sure you include the Also: So if a file is created and then moved to the configured path, the storage option would not take effect. |
Beta Was this translation helpful? Give feedback.
Make sure you include the
-apply.Also:
The storage options are applied during write time.
So if a file is created and then moved to the configured path, the storage option would not take effect.