mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-08 15:27:43 +02:00
disk type for Metadata Event Logs
1 parent
0bfcee97d3
commit
3098949002
1 file changed
+21
+21
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user