Add defrag docs, fix trace message
This commit is contained in:
@@ -69,12 +69,16 @@ static const char* help_text =
|
||||
" --portmap 0 do not listen on port 111 (portmap/rpcbind, requires root)\n"
|
||||
"\n"
|
||||
"vitastor-nfs --fs <NAME> upgrade\n"
|
||||
" Upgrade FS metadata. Can be run online, but server should be restarted\n"
|
||||
" Upgrade FS metadata. Can be run online, but server(s) should be restarted\n"
|
||||
" after upgrade.\n"
|
||||
"\n"
|
||||
"vitastor-nfs --fs <NAME> defrag [OPTIONS] [--dry-run]\n"
|
||||
" Defragment volumes used for small file storage having more than\n"
|
||||
" <defrag_percent> %% of data removed. Can be run online. Options:\n"
|
||||
" Defragment volumes used for small file storage having more than <defrag_percent> %%\n"
|
||||
" of data removed. Can be run online.\n"
|
||||
" In VitastorFS, small files are stored in large \"volumes\" / \"shared inodes\" one\n"
|
||||
" after another. When you delete or extend such files, they are moved and garbage is left\n"
|
||||
" behind. Defragmentation removes garbage and moves data still in use to new volumes.\n"
|
||||
" Options:\n"
|
||||
" --volume_untouched 86400\n"
|
||||
" Defragment volumes last appended to at least this number of seconds ago\n"
|
||||
" --defrag_percent 50\n"
|
||||
|
||||
Reference in New Issue
Block a user