Skip to contentSkip to conversation

How to write data to rbd pool.

DISCUSSION ramu eppa 3 participants 10 messages Oct 1, 2012 – Oct 5, 2012

lore
Share & tools
lore

ramu eppa

author
#0 lore raw

Hi all,

I want write data or text file to rbd pool.Please help me.

Thanks,
Ramu.

author
#2 lore raw

Hi all,

How to know the rbd volume path.

Thanks,
Ramu.

#3 lore raw
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?

author
#4 lore raw

Hi Tommi Virtanen,

Actually we know the rbd full path,we write some data directly to volume.
nova/volume1/<data>.

Thanks,
ramu.

#5 lore raw

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

author
#7 lore raw
In reply to ramu eppa

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.

author
#9 lore raw

Hi all,

Thanks for replies,i got the solution.

Thanks,
Ramu.