Advertisement
Guest User

Untitled

a guest
Jul 19th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.00 KB | None | 0 0
  1. [root@hulk ~]# rbd rm main
  2. 2016-07-19 18:49:11.828501 7fcfe556f760 -1 librbd::ImageCtx: error finding header: (2) No such file or directory
  3. Removing image: 100% complete...done.
  4. [root@hulk ~]# rbd create bar --size 15728640 -m 192.168.127.12 -k /etc/ceph/ceph.client.admin.keyring
  5. [root@hulk ~]# rbd map bar --name client.admin -m 192.168.127.12 -k /etc/ceph/ceph.client.admin.keyring
  6. /dev/rbd0
  7. [root@hulk ~]# rbd locck remove ^C
  8. [root@hulk ~]# rbs ls
  9. -bash: rbs: command not found
  10. [root@hulk ~]# rbd ls
  11. bar
  12. [root@hulk ~]# rbd info bar
  13. rbd image 'bar':
  14.         size 15360 GB in 3932160 objects
  15.         order 22 (4096 kB objects)
  16.         block_name_prefix: rb.0.88e30.238e1f29
  17.         format: 1
  18. [root@hulk ~]# rbd lock remove bar
  19. rbd: lock id was not specified
  20. [root@hulk ~]# rbd info mypool/bar
  21. rbd: error opening pool mypool: (2) No such file or directory
  22. [root@hulk ~]# rbd lock remove bar^C
  23. [root@hulk ~]# mkfs.ext4 -m0 /dev/rbd/rbd/bar
  24. mke2fs 1.41.12 (17-May-2010)
  25. Discarding device blocks:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement