aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_meta_save.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-23 23:07:11 -0700
committerChris Lu <chris.lu@gmail.com>2020-03-23 23:07:11 -0700
commitbb9b97e2b4ad7b826b21b03a648527e32bc744f2 (patch)
treefaf6e69effeff9e633a9d2673f4ce0696efe735d /weed/shell/command_fs_meta_save.go
parent8047ec2f5103696982acd6c6407ce77c1b02b89e (diff)
downloadseaweedfs-bb9b97e2b4ad7b826b21b03a648527e32bc744f2.tar.xz
seaweedfs-bb9b97e2b4ad7b826b21b03a648527e32bc744f2.zip
add comments
Diffstat (limited to 'weed/shell/command_fs_meta_save.go')
-rw-r--r--weed/shell/command_fs_meta_save.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/weed/shell/command_fs_meta_save.go b/weed/shell/command_fs_meta_save.go
index 5ea69026f..f1628973a 100644
--- a/weed/shell/command_fs_meta_save.go
+++ b/weed/shell/command_fs_meta_save.go
@@ -38,7 +38,14 @@ func (c *commandFsMetaSave) Help() string {
The meta data will be saved into a local <filer_host>-<port>-<time>.meta file.
These meta data can be later loaded by fs.meta.load command,
- This assumes there are no deletions, so this is different from taking a snapshot.
+Another usage is to export all data chunk file ids used by the files.
+
+ fs.meta.save -chunks <filer.chunks>
+
+ The output chunks file will contain lines as:
+ <file key> <tab> <volumeId, fileKey, cookie> <tab> <file name>
+
+ This output chunks can be used to find out missing chunks or files.
`
}