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