From 1bd5e00c489b92fd978398262e2906d966b6d121 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 15 Oct 2018 01:49:19 -0700 Subject: [PATCH] =?UTF-8?q?move=20Unmount/mount=20=D0=B0=20volume=20to=20g?= =?UTF-8?q?rpc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Volume-Server-API.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Volume-Server-API.md b/Volume-Server-API.md index aa7e492..77b5fed 100644 --- a/Volume-Server-API.md +++ b/Volume-Server-API.md @@ -33,22 +33,6 @@ curl -X DELETE http://127.0.0.1:8080/3,01637037d6 curl http://127.0.0.1:8080/3,01637037d6?cm=false ``` -### Unmount/mount а volume - -This API should be protected! - -This deactivates a given volume. This is useful to process a volume stopping the volume server. Possible use cases are compaction, index recreation or moving the volume to another server. As soon as a volume is unmounted it won't be accessed by the volume any more and can be safely changed or moved away. - -```bash -curl "http://localhost:8080/admin/volume/unmount?volume=volumeId" -``` - -The counterpart is to mount a volume. This adds a volume file to a volume server without the need to restart the volume server. A use case is to mount a previously unmounted volume again or to add a volume, that has been moved to another server to the new server. - -```bash -curl "http://localhost:8080/admin/volume/mount?volume=volumeId" -``` - ### Check Volume Server Status ```bash