Add --force to vitastor-disk read-sb

This commit is contained in:
Vitaliy Filippov
2022-12-17 02:47:15 +03:00
parent f8722a8bd5
commit 6917a32ca8
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -109,8 +109,9 @@ static const char *help_text =
" Commands are passed to systemctl with vitastor-osd@<num> units as arguments.\n"
" When --now is added to enable/disable, OSDs are also immediately started/stopped.\n"
"\n"
"vitastor-disk read-sb <device>\n"
"vitastor-disk read-sb [--force] <device>\n"
" Try to read Vitastor OSD superblock from <device> and print it in JSON format.\n"
" --force allows to bypass \"does not refer to the device itself\" errors.\n"
"\n"
"vitastor-disk write-sb <device>\n"
" Read JSON from STDIN and write it into Vitastor OSD superblock on <device>.\n"