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
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user