Check if mapped in vitastor-nbd unmap
This commit is contained in:
@@ -61,9 +61,11 @@ in `/etc/vitastor/vitastor.conf` or in other configuration file specified with `
|
||||
To unmap the device run:
|
||||
|
||||
```
|
||||
vitastor-nbd unmap /dev/nbd0
|
||||
vitastor-nbd unmap [--force] /dev/nbd0
|
||||
```
|
||||
|
||||
If `--force` is specified, `vitastor-nbd` doesn't check if the device is actually mapped.
|
||||
|
||||
## ls
|
||||
|
||||
```
|
||||
|
||||
@@ -69,9 +69,12 @@ vitastor-nbd поддерживает все обычные опции Vitastor,
|
||||
Для отключения устройства выполните:
|
||||
|
||||
```
|
||||
vitastor-nbd unmap /dev/nbd0
|
||||
vitastor-nbd unmap [--force] /dev/nbd0
|
||||
```
|
||||
|
||||
Если задана опция `--force`, `vitastor-nbd` не проверяет, подключено ли устройство,
|
||||
перед попыткой его отключить.
|
||||
|
||||
## ls
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user