disk type only supports hdd and ssd, not ready for random tags yet

Chris Lu 2021-02-14 11:39:03 -08:00
parent 99832ae258
commit 537d9a0f4c
2 changed files with 3 additions and 3 deletions

@ -56,7 +56,7 @@ $ weed shell
# Options # Options
For any path, you can configure For any path, you can configure
* Disk type [hdd|ssd|<tag>] * Disk type [hdd|ssd]
* Fsync * Fsync
* Volume Growth Count * Volume Growth Count
* Collection * Collection
@ -74,7 +74,7 @@ Usage of fs.configure:
-delete -delete
delete the configuration by locationPrefix delete the configuration by locationPrefix
-disk string -disk string
[hdd|ssd|<tag>] hard drive or solid state drive or any tag [hdd|ssd] hard drive or solid state drive
-fsync -fsync
fsync for the writes fsync for the writes
-locationPrefix string -locationPrefix string

@ -33,7 +33,7 @@ When `volume.balance` or `volume.fix.replication`, the volume disk type would no
`volume.move` in `weed shell` can be used to move across volume servers: `volume.move` in `weed shell` can be used to move across volume servers:
``` ```
volume.move -source <source volume server host:port> -target <target volume server host:port> -volumeId <volume id> -disk [hdd|ssd|<tag>] volume.move -source <source volume server host:port> -target <target volume server host:port> -volumeId <volume id> -disk [hdd|ssd]
``` ```
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. 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.