On Mar 29, 2013, at 9:32 PM, Waed Bataineh <promiselad...@gmail.com> wrote:

> Dan,
> 
> well exactly if i used the mapping command line i have confusion about some 
> issues if i may :
> _ exactly what it meant by obj in  rados -p <pool> put <file> <obj> , is this 
> obj consider like the first part of the file and pointing  to the other 
> object?

This creates an object named <obj> in the cluster that contains the contents of 
<file>.  See the rados command help or manpage or docs. 

> _how i can get the file back ?

rados has another subcommand 'get' 

> _Finally, if i have two OSDs n no replica when do the mapping it always store 
> at osd.0, is there a way to mak it store on osd.1 or it will continue till 
> osd.0 will reach nearfull ? 

Objects are stored in places that depend on their names. If you create enough 
objects with different names you will see them distribute across the OSDs. 

> 
> Thank you.
> 
> 
> On Sat, Mar 30, 2013 at 7:15 AM, Dan Mick <dan.m...@inktank.com> wrote:
>> so "rados -p <pool> put <file> <obj>" is one way to create an object. There 
>> are also C/C++/Python librados bindings for writing programs to do so.
>> 
>> 
>> On 03/28/2013 05:30 AM, Waed Bataineh wrote:
>>> Object Store.
>>> 
>>> 
>>> On Thu, Mar 28, 2013 at 11:51 AM, Sebastien Han
>>> <sebastien....@enovance.com <mailto:sebastien....@enovance.com>> wrote:
>>> 
>>>     Hi,
>>> 
>>>     It depends, what do you to use from Ceph? Object store? Block
>>>     device? Distributed filesystem?
>>> 
>>>     ––––
>>>     Sébastien Han
>>>     Cloud Engineer
>>> 
>>>     "Always give 100%. Unless you're giving blood."
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>     PHONE : +33 (0)1 49 70 99 72 – MOBILE : +33 (0)6 52 84 44 70
>>>     EMAIL : sebastien....@enovance.com
>>>     <mailto:sebastien....@enovance.com> – SKYPE : han.sbastien
>>> 
>>>     ADDRESS : 10, rue de la Victoire – 75009 Paris
>>>     WEB : www.enovance.com <http://www.enovance.com> – TWITTER : @enovance
>>> 
>>> 
>>>     On Mar 28, 2013, at 9:31 AM, Waed Bataineh <promiselad...@gmail.com
>>>     <mailto:promiselad...@gmail.com>> wrote:
>>> 
>>>>     Thank you both.
>>>> 
>>>>     well , no more error message :)
>>>> 
>>>>     If i may, i still have some confusion about how to start operating
>>>>     on ceph!
>>>> 
>>>>     _how can i start storing files that on the client at the server?
>>>>     correct me if i'm wrong, at client side i'll save the files i need
>>>>     to store at the mount point, then the server should deal with this
>>>>     files and start ceph work!
>>>> 
>>>>     _in case that what is really going, how i can get to the path the
>>>>     files have been stored in? this is actually my major problem, dont
>>>>     know the path that lead me to the files or objects!
>>>> 
>>>>     Hope I'm making my self clear!
>>>> 
>>>>     Thank you again.
>>>> 
>>>> 
>>>>     On Thu, Mar 28, 2013 at 3:20 AM, John
>>>>     Wilkins <john.wilk...@inktank.com
>>>>     <mailto:john.wilk...@inktank.com>> wrote:
>>>>     Already done. Missed it at first. Thanks! :)
>>>> 
>>>> 
>>>>     On Wed, Mar 27, 2013 at 5:17 PM, Sebastien
>>>>     Han <sebastien....@enovance.com
>>>>     <mailto:sebastien....@enovance.com>> wrote:
>>>>     Hi John,
>>>> 
>>>>     Could you also please update the generic usage at the beginning of
>>>>     the section?
>>>> 
>>>>     Thanks!
>>>> 
>>>>     ps: I tried to push a change, but something went wrong with Github...
>>>> 
>>>>     ––––
>>>>     Sébastien Han
>>>>     Cloud Engineer
>>>> 
>>>>     "Always give 100%. Unless you're giving blood."
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>     PHONE : +33 (0)1 49 70 99 72 – MOBILE : +33 (0)6 52 84 44 70
>>>>     EMAIL : sebastien....@enovance.com
>>>>     <mailto:sebastien....@enovance.com> – SKYPE : han.sbastien
>>>> 
>>>>     ADDRESS : 10, rue de la Victoire – 75009 Paris
>>>>     WEB : www.enovance.com <http://www.enovance.com> – TWITTER : @enovance
>>>> 
>>>> 
>>>>     On Mar 28, 2013, at 12:52 AM, John Wilkins
>>>>     <john.wilk...@inktank.com <mailto:john.wilk...@inktank.com>> wrote:
>>>> 
>>>>>     Sebastian,
>>>>> 
>>>>>     You're correct. The usage has changed, so I've updated the doc to
>>>>>     reflect it. I ran through the procedure and it worked fine for
>>>>>     me. Sorry Waed. I hope that's all that was wrong.
>>>>> 
>>>>>     On Wed, Mar 27, 2013 at 3:48 PM, Sebastien Han
>>>>>     <sebastien....@enovance.com <mailto:sebastien....@enovance.com>>
>>>>> 
>>>>>     wrote:
>>>>>     Arf sorry, not 'odd' but 'osd' of course. (thanks autocompletion…)
>>>>> 
>>>>>     ––––
>>>>>     Sébastien Han
>>>>>     Cloud Engineer
>>>>> 
>>>>>     "Always give 100%. Unless you're giving blood."
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>     PHONE : +33 (0)1 49 70 99 72 – MOBILE : +33 (0)6 52 84 44 70
>>>>>     EMAIL : sebastien....@enovance.com
>>>>>     <mailto:sebastien....@enovance.com> – SKYPE : han.sbastien
>>>>> 
>>>>>     ADDRESS : 10, rue de la Victoire – 75009 Paris
>>>>>     WEB : www.enovance.com <http://www.enovance.com> – TWITTER :
>>>>> 
>>>>>     @enovance
>>>>> 
>>>>>     On Mar 27, 2013, at 11:36 PM, Sebastien Han
>>>>>     <sebastien....@enovance.com <mailto:sebastien....@enovance.com>>
>>>>>     wrote:
>>>>> 
>>>>>>     Ok,
>>>>>> 
>>>>>>     I just noticed that the documentation seems to be wrong, the
>>>>>>     correct command to find the location of an object is:
>>>>>> 
>>>>>>     $ ceph odd map <pool-name> <object-name>
>>>>>> 
>>>>>>     Then, the error that you raised is pretty strange because even
>>>>>>     the object doesn't exist, the command will calculate the
>>>>>>     eventual location.
>>>>>> 
>>>>>>     Could you please paste _all_ the steps you've made to get this
>>>>>>     error?
>>>>>> 
>>>>>>     Thanks.
>>>>>> 
>>>>>>     ––––
>>>>>>     Sébastien Han
>>>>>>     Cloud Engineer
>>>>>> 
>>>>>>     "Always give 100%. Unless you're giving blood."
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>     <image.png>
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>     PHONE : +33 (0)1 49 70 99 72 – MOBILE : +33 (0)6 52 84 44 70
>>>>>>     EMAIL : sebastien....@enovance.com
>>>>>>     <mailto:sebastien....@enovance.com> – SKYPE : han.sbastien
>>>>>> 
>>>>>>     ADDRESS : 10, rue de la Victoire – 75009 Paris
>>>>>>     WEB : www.enovance.com <http://www.enovance.com> – TWITTER :
>>>>>> 
>>>>>>     @enovance
>>>>>> 
>>>>>>     On Mar 26, 2013, at 1:36 PM, Waed Bataineh
>>>>>>     <promiselad...@gmail.com <mailto:promiselad...@gmail.com>> wrote:
>>>>>> 
>>>>>>>     Pool obj_name does not exist.
>>>>>> 
>>>>>>     _______________________________________________
>>>>>>     ceph-users mailing list
>>>>>>     ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
>>>>>>     http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>>> 
>>>>> 
>>>>>     _______________________________________________
>>>>>     ceph-users mailing list
>>>>>     ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
>>>>> 
>>>>>     http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>     --
>>>>>     John Wilkins
>>>>>     Senior Technical Writer
>>>>>     Intank
>>>>>     john.wilk...@inktank.com <mailto:john.wilk...@inktank.com>
>>>>>     (415) 425-9599
>>>>>     http://inktank.com
>>>> 
>>>> 
>>>> 
>>>> 
>>>>     --
>>>>     John Wilkins
>>>>     Senior Technical Writer
>>>>     Intank
>>>>     john.wilk...@inktank.com <mailto:john.wilk...@inktank.com>
>>>>     (415) 425-9599
>>>>     http://inktank.com
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> ceph-users mailing list
>>> ceph-users@lists.ceph.com
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to