mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Mount Remote Storage (markdown)
parent
30c4752ae0
commit
efd12875f0
|
@ -65,6 +65,14 @@ The process is designed to be worry-free. It should automatically resume if stop
|
|||
|
||||
## Unmount a Remote Storage
|
||||
|
||||
Similarly, running `remote.unmount -dir=xxx` can unmount a remote storage. However, this means all cached data and metadata will be lost.
|
||||
Similarly, running `remote.unmount -dir=xxx` can unmount a remote storage. However, this means all cached data and metadata will be deleted.
|
||||
And if `weed filer.remote.sync -filer=<filerHost>:<filerPort> -dir=xxx` was not run, the local updates have not been uploaded to the remote storage, so these local updates will be lost.
|
||||
|
||||
Important! When running `remote.unmount -dir=xxx`, the corresponding `weed filer.remote.sync -dir=xxx` should NOT be run. Since the deletion will be propagated to the remote storage!
|
||||
|
||||
So the recommended steps to unmount is:
|
||||
1. Run `weed filer.remote.sync -dir=xxx` to ensure all local updates are persisted to cloud.
|
||||
2. Stop `weed filer.remote.sync -dir=xxx`
|
||||
3. Run `remote.unmount -dir=xxx`
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue