Fix --config_path option in docs
This commit is contained in:
@@ -37,7 +37,7 @@ It supports the following commands:
|
|||||||
Global options:
|
Global options:
|
||||||
|
|
||||||
```
|
```
|
||||||
--config_file FILE Path to Vitastor configuration file
|
--config_path FILE Path to Vitastor configuration file
|
||||||
--etcd_address URL Etcd connection address
|
--etcd_address URL Etcd connection address
|
||||||
--iodepth N Send N operations in parallel to each OSD when possible (default 32)
|
--iodepth N Send N operations in parallel to each OSD when possible (default 32)
|
||||||
--parallel_osds M Work with M osds in parallel when possible (default 4)
|
--parallel_osds M Work with M osds in parallel when possible (default 4)
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ vitastor-cli - интерфейс командной строки для адм
|
|||||||
Глобальные опции:
|
Глобальные опции:
|
||||||
|
|
||||||
```
|
```
|
||||||
--config_file FILE Путь к файлу конфигурации Vitastor
|
--config_path FILE Путь к файлу конфигурации Vitastor
|
||||||
--etcd_address URL Адрес соединения с etcd
|
--etcd_address URL Адрес соединения с etcd
|
||||||
--iodepth N Отправлять параллельно N операций на каждый OSD (по умолчанию 32)
|
--iodepth N Отправлять параллельно N операций на каждый OSD (по умолчанию 32)
|
||||||
--parallel_osds M Работать параллельно с M OSD (по умолчанию 4)
|
--parallel_osds M Работать параллельно с M OSD (по умолчанию 4)
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ It will output a block device name like /dev/nbd0 which you can then use as a no
|
|||||||
|
|
||||||
You can also use `--pool <POOL> --inode <INODE> --size <SIZE>` instead of `--image <IMAGE>` if you want.
|
You can also use `--pool <POOL> --inode <INODE> --size <SIZE>` instead of `--image <IMAGE>` if you want.
|
||||||
|
|
||||||
vitastor-nbd supports all usual Vitastor configuration options like `--config_file <path_to_config>` plus NBD-specific:
|
vitastor-nbd supports all usual Vitastor configuration options like `--config_path <path_to_config>` plus NBD-specific:
|
||||||
|
|
||||||
* `--nbd_timeout 0` \
|
* `--nbd_timeout 0` \
|
||||||
Timeout for I/O operations in seconds after exceeding which the kernel stops the device.
|
Timeout for I/O operations in seconds after exceeding which the kernel stops the device.
|
||||||
@@ -54,7 +54,7 @@ vitastor-nbd supports all usual Vitastor configuration options like `--config_fi
|
|||||||
Stay in foreground, do not daemonize.
|
Stay in foreground, do not daemonize.
|
||||||
|
|
||||||
Note that `nbd_timeout`, `nbd_max_devices` and `nbd_max_part` options may also be specified
|
Note that `nbd_timeout`, `nbd_max_devices` and `nbd_max_part` options may also be specified
|
||||||
in `/etc/vitastor/vitastor.conf` or in other configuration file specified with `--config_file`.
|
in `/etc/vitastor/vitastor.conf` or in other configuration file specified with `--config_path`.
|
||||||
|
|
||||||
## unmap
|
## unmap
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ vitastor-nbd map [/dev/nbdN] --image testimg
|
|||||||
Для обращения по номеру инода, аналогично другим командам, можно использовать опции
|
Для обращения по номеру инода, аналогично другим командам, можно использовать опции
|
||||||
`--pool <POOL> --inode <INODE> --size <SIZE>` вместо `--image testimg`.
|
`--pool <POOL> --inode <INODE> --size <SIZE>` вместо `--image testimg`.
|
||||||
|
|
||||||
vitastor-nbd поддерживает все обычные опции Vitastor, например, `--config_file <path_to_config>`,
|
vitastor-nbd поддерживает все обычные опции Vitastor, например, `--config_path <path_to_config>`,
|
||||||
плюс специфичные для NBD:
|
плюс специфичные для NBD:
|
||||||
|
|
||||||
* `--nbd_timeout 0` \
|
* `--nbd_timeout 0` \
|
||||||
@@ -62,7 +62,7 @@ vitastor-nbd поддерживает все обычные опции Vitastor,
|
|||||||
|
|
||||||
Обратите внимание, что опции `nbd_timeout`, `nbd_max_devices` и `nbd_max_part` можно
|
Обратите внимание, что опции `nbd_timeout`, `nbd_max_devices` и `nbd_max_part` можно
|
||||||
также задавать в `/etc/vitastor/vitastor.conf` или в другом файле конфигурации,
|
также задавать в `/etc/vitastor/vitastor.conf` или в другом файле конфигурации,
|
||||||
заданном опцией `--config_file`.
|
заданном опцией `--config_path`.
|
||||||
|
|
||||||
## unmap
|
## unmap
|
||||||
|
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ const char *help_text =
|
|||||||
#endif
|
#endif
|
||||||
"Use vitastor-nbd --help <command> for command details or vitastor-nbd --help --all for all details.\n"
|
"Use vitastor-nbd --help <command> for command details or vitastor-nbd --help --all for all details.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"All usual Vitastor config options like --config_file <path_to_config> may also be specified in CLI.\n"
|
"All usual Vitastor config options like --config_path <path_to_config> may also be specified in CLI.\n"
|
||||||
;
|
;
|
||||||
|
|
||||||
class nbd_proxy
|
class nbd_proxy
|
||||||
|
|||||||
+1
-1
@@ -224,7 +224,7 @@ static const char* help_text =
|
|||||||
"Use vitastor-cli --help <command> for command details or vitastor-cli --help --all for all details.\n"
|
"Use vitastor-cli --help <command> for command details or vitastor-cli --help --all for all details.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"GLOBAL OPTIONS:\n"
|
"GLOBAL OPTIONS:\n"
|
||||||
" --config_file FILE Path to Vitastor configuration file\n"
|
" --config_path FILE Path to Vitastor configuration file\n"
|
||||||
" --etcd_address URL Etcd connection address\n"
|
" --etcd_address URL Etcd connection address\n"
|
||||||
" --iodepth N Send N operations in parallel to each OSD when possible (default 32)\n"
|
" --iodepth N Send N operations in parallel to each OSD when possible (default 32)\n"
|
||||||
" --parallel_osds M Work with M osds in parallel when possible (default 4)\n"
|
" --parallel_osds M Work with M osds in parallel when possible (default 4)\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user