multipath-edit
Использование
storage multipath-edit [-h] [--to_file] [-s {device,defaults}] [-d] -f FILENAME [-p [PARAM ...]]
Описание
Изменение конфигурации multipath.
Аргументы
--to_file
- Redirect output to file (/tmp/cli-stdout.txt).-d,
- --delete Deletes a drop-in file. View drop-ins list via "storage multipath-conf" command.-f
- FILENAME, --filename FILENAME Drop-in filename in /etc/multipath/conf.d directory. NB! Files are parsed in alphabetic order, the latter can override the former.-p
- [PARAM ...], --param [PARAM ...] Key-value pair as list in format 'key value', .. . Values must not be quoted even if contain spaces, key-value pair must be single-quoted.File is rewritten from scratch, old params not preserved. If params are omitted then interactive editor is run.
Примеры использования
system multipath-edit -s device -f mysan.conf -p 'vendor MySAN*' 'product MyLUN' 'path_selector round-robin 0' 'path_checker tur'