From 3098949002fc42d0eb5ea6fdc68b88b29f799f55 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 31 Dec 2025 13:54:20 -0800 Subject: [PATCH] disk type for Metadata Event Logs --- FAQ.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/FAQ.md b/FAQ.md index 9016542..2535e2f 100644 --- a/FAQ.md +++ b/FAQ.md @@ -23,6 +23,27 @@ The default volume size is 30GB, and default to 8 volumes. Very likely you would SeaweedFS also assumes there is a default disk type, which is either empty or `"hdd"`. If all your disk type is `"ssd"`, you should leave the disk type as empty since the disk type basically is just a tag to group the volumes. +### Metadata Event Logs with All-SSD Clusters + +**Q: I am seeing errors or cannot find a disk type when writing metadata event logs on my all-SSD cluster. What should I do?** + +If your cluster consists entirely of SSDs (with no HDDs), you may encounter issues where the system fails to find a suitable disk type for writing metadata event logs. This happens because by default it is looking for a disk type as empty or hdd. + +**Solution:** +In your configuration, simply leave all disk types empty. This is the recommended approach for homogenous clusters. + +2. **Path-Specific Configuration:** If you cannot leave the disk types empty for any specific reason, you can enforce the disk type using the [path-specific filer configuration](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication#path-specific-filer-configuration). + + Example using `weed shell` to configure the metadata log path: + ```bash + # Start the weed shell + weed shell + + # Configure the metadata event log path to use SSD (or another disk type) + # The default path for system logs is /topics/.system/log + fs.configure -locationPrefix=/topics/.system/log -disk=ssd -apply + ``` + ### How do I pre-allocate one or more volumes? To pre-allocate volumes, send a request to the Master server. For example: