diff --git a/Remote-Storage-Architecture.md b/Remote-Storage-Architecture.md index bc72feb..4d84a40 100644 --- a/Remote-Storage-Architecture.md +++ b/Remote-Storage-Architecture.md @@ -51,7 +51,13 @@ On mount, all the metadata will be pulled down and cached to the local filer sto The metadata will be used for all metadata operations, such as listing, directory traversal, read file size, compare file modification time, etc, which will be free and fast as usual, without any API calls to the cloud. -If the cloud data has any changes, just run `remote.mount -dir=xxx -remote=cloud1/bucket` again in `weed shell`. The local cache will get updated (except deletions). It is a light weight process and you can run it regularly. +To fetch metadata changes in the remote storage, just sync the whole mounted directory or any sub directories: +``` +# in "weed shell" +> remote.meta.sync -dir=/path/to/xxx +> remote.meta.sync -dir=/path/to/xxx/sub/folder +``` +The local cache will get updated (except deletions). It is a light weight process and you can run it regularly. ## Cache/Uncache File Content