summaryrefslogtreecommitdiffstats
path: root/qa/rbd/krbd_modprobe.t
blob: a0e04d39461d0d57dce03e6548ae3103fb1a817f (plain)
1
2
3
4
5
6
7
8
9
10
  $ sudo modprobe -r rbd
  $ sudo modprobe -r libceph
  $ lsmod | grep libceph
  [1]
  $ rbd create --size 1 img
  $ DEV=$(sudo rbd map img)
  $ sudo grep -q ',key=' /sys/bus/rbd/devices/${DEV#/dev/rbd}/config_info
  $ sudo rbd unmap $DEV
  $ rbd rm --no-progress img