Using rbd-nbd tool in Ceph development cluster
Hi, I have to use this *rbd-nbd *tool from Ceph. This is part of Ceph source code. Here: https://github.com/ceph/ceph/tree/master/src/tools/rbd_nbd My question is: Can we use this *rbd-nbd* tool in the Ceph cluster? By Ceph cluster I mean the development cluster we build through *vstart.sh* script. I am quite sure we could use it. I have this script running. I can *start* and *stop* the cluster. But I am struggling to use this rbd-nbd tool in the development cluster which we build through vstart.sh script. Looking for help. Thanks.
On Mon, Nov 16, 2020 at 12:19:35PM +0100, Bobby wrote:
My question is: Can we use this *rbd-nbd* tool in the Ceph cluster? By Ceph cluster I mean the development cluster we build through *vstart.sh* script. I am quite sure we could use it. I have this script running. I can *start* and *stop* the cluster. But I am struggling to use this rbd-nbd tool in the development cluster which we build through vstart.sh script.
Sure. Running this from the build directory should just work: sudo ./bin/rbd-nbd map $pool/$image ./bin/rbd-nbd list-mapped sudo ./bin/rbd-nbd unmap $pool/$image Doesn't it work for you? -- Mykola Golub
Thanks a lot ! It works :-) On Mon, Nov 16, 2020 at 2:15 PM Mykola Golub <to.my.trociny@gmail.com> wrote:
On Mon, Nov 16, 2020 at 12:19:35PM +0100, Bobby wrote:
My question is: Can we use this *rbd-nbd* tool in the Ceph cluster? By Ceph cluster I mean the development cluster we build through *vstart.sh* script. I am quite sure we could use it. I have this script running. I can *start* and *stop* the cluster. But I am struggling to use this rbd-nbd tool in the development cluster which we build through vstart.sh script.
Sure. Running this from the build directory should just work:
sudo ./bin/rbd-nbd map $pool/$image ./bin/rbd-nbd list-mapped sudo ./bin/rbd-nbd unmap $pool/$image
Doesn't it work for you?
-- Mykola Golub
participants (2)
-
Bobby
-
Mykola Golub