rbdmap

module
v0.0.0-...-ad77c74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2020 License: BSD-3-Clause

README

RBD Map and Unmap

Golang based Ceph RBD image map and unmap utility and library.

rbdmap

# ./rbdmap -h
Usage of ./rbdmap:
  -n, --dry-run            dry run (don't actually map image)
      --id string          Specifies the username (without the 'client.' prefix)
  -i, --image string       Image to map
  -m, --monitor strings    Connect to one or more monitor addresses (192.168.0.1[:6789]). Multiple address are specified comma separated.
      --namespace string   Use a pre-defined image namespace within a pool
  -p, --pool string        Interact with the given pool.
      --read-only          Map the image read-only
      --secret string      Specifies the user authentication secret
      --snap string        Specifies a snapshot name
  -v, --verbose            Enable additional output

rbdunmap

# ./rbdunmap -h
Usage of ./rbdunmap:
      --devid int   RBD Device Index (default 0)
  -n, --dry-run     dry run (don't actually unmap device)
      --force       Optional force argument will wait for running requests and then unmap the image
  -v, --verbose     Enable additional output

Directories

Path Synopsis
cmd
rbd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL