How to write data to rbd pool.
Hi all,
I want write data or text file to rbd pool.Please help me.
Thanks,
Ramu.
Quoted 3 lines · ramu eppa
Hi all,
I want write data or text file to rbd pool.Please help me.
You can create objects in RADOS pools with "rados put". See
http://ceph.com/docs/master/man/8/rados/ for the documentation.
The rbd pool usually contains only rbd images, though. An object created from an arbitrary file won't work as an rbd image. For rbd images, you want e.g. "rbd import":
http://ceph.com/docs/master/man/8/rbd/
Hi all,
How to know the rbd volume path.
Thanks,
Ramu.
Quoted 1 line · ramu eppa
How to know the rbd volume path.
Umm. What is an rbd volume path? If you "rbd map" it, the block device will be called /dev/rbd/<poolname>/<imagename> -- maybe that's what you were looking for?
Hi Tommi Virtanen,
Actually we know the rbd full path,we write some data directly to volume.
nova/volume1/<data>.
Thanks,
ramu.
What tool/library/context are you using the string "nova/volume1/<data>" in? What does <data> represent? How was volume1 created?
Quoted 14 lines · ramu eppa
Hi Tommi Virtanen,
Actually we know the rbd full path,we write some data directly to volume.
nova/volume1/<data>.Thanks,
ramu.--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Don't understand the question. rbd images live, by default, in the rbd pool; the image namespace is flat, and there is no path.
Quoted 12 lines · ramu eppa
Hi all,
How to know the rbd volume path.
Thanks,
Ramu.--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi all,
When map rbd to /dev it's giving error,
"rbd map /dev/mypool/mytest "
add failed: (22) Invalid argument
How to map rbd volume.Please help me.
Thanks,
Ramu.
Quoted 2 lines · ramu eppa
When map rbd to /dev it's giving error,
"rbd map/dev/mypool/mytest"
The syntax is "rbd map mypool/mytest".
Hi all,
Thanks for replies,i got the solution.
Thanks,
Ramu.