From 454eafe71dd42676bfbc0990684caf3634b011f3 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 22 Feb 2021 01:35:16 -0800 Subject: [PATCH] Updated Tiered Storage (markdown) --- Tiered-Storage.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Tiered-Storage.md b/Tiered-Storage.md index 00a1350..30d87f4 100644 --- a/Tiered-Storage.md +++ b/Tiered-Storage.md @@ -31,10 +31,18 @@ https://github.com/chrislusf/seaweedfs/wiki/Path-Specific-Configuration When `volume.balance` or `volume.fix.replication`, the volume disk type would not change. +### Change by `volume.tier.move` +`volume.tier.move` in `weed shell` can be used to change the disk type for one whole collection. +``` +volume.tier.move -fromDiskType=hdd -toDiskType=ssd -quietFor=1s -fullPercent=0.001 -collection=benchmark -force +``` + +### Change by `volume.move` `volume.move` in `weed shell` can be used to move across volume servers: ``` volume.move -source -target -volumeId -disk [hdd|ssd] ``` +### Manually move volume files For now, if you only want to change the disk type of a volume, and the volume server is not running, you can simply move the volume data from ssd directory to hdd directory, or vice versa.