Re: [ceph-users] How to know if an object is stored in clients?

2016-12-30 Thread Nick Fisk
Just to add, the rados command will block until the objects are stored on 
sufficient number of OSD’s and you should also be able to check the return code 
to confirm that there wasn’t any errors as well.

 

From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of 
Jaemyoun Lee
Sent: 30 December 2016 09:38
To: Shinobu Kinjo 
Cc: “ceph-us...@ceph.com” 
Subject: Re: [ceph-users] How to know if an object is stored in clients?

 

Thanks a lot! 

 

On Fri, Dec 30, 2016 at 6:32 PM Shinobu Kinjo  > wrote:

You can track activity of acting set by using:

 # ceph daemon osd.${osd id} dump_ops_in_flight

 

On Fri, Dec 30, 2016 at 3:59 PM, Jaemyoun Lee  > wrote:

Dear Wido,

Is there a command to check the ACK? Or, may you tell me a source code function 
for the received ACK?

 

Thanks,

Jae

 

On Thu, Dec 29, 2016 at 6:56 PM Wido den Hollander  > wrote:


> Op 28 december 2016 om 12:58 schreef Jaemyoun Lee   >:
>
>
> Hello,
>
> I executed the RADOS tool to store an object as follows:
> ```
> user@ClientA:~$ rados put -p=rbd objectA a.txt
> ```
>
> I wonder how the client knows a completion of storing the object in some
> OSDs.
>

When the primary OSD for a PG Acks to the client it knows that it is stored on 
ALL replicas.

RADOS/Ceph always writes synchronous.

Wido

> Thanks,
> Jae
>
> --
>   Jaemyoun Lee
>
>   CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
>   E-mail : jaemy...@hanyang.ac.kr  
>   Website : http://cpslab.hanyang.ac.kr
>
>
> ---
> 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된 정보가 
> 포함돼 있을 수 있습니다.
> 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공개, 복사, 
> 전송, 배포해서는 안 됩니다.
> 본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.
>
> This e-mail is intended only for the named recipient.
> Dissemination, distribution, forwarding, or copying of this e-mail by anyone 
> other than the intended recipient is prohibited.
> If you have received it in error, please notify the sender by e-mail and 
> completely delete it. Thank you for your cooperation.
> ---___
> ceph-users mailing list
> ceph-users@lists.ceph.com  
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




-- 

  Jaemyoun Lee

  

  CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University) 

  E-mail : jaemy...@hanyang.ac.kr  

  Website : http://cpslab.hanyang.ac.kr  

 

 

위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된 정보가 
포함돼 있을 수 있습니다. 

귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공개, 복사, 
전송, 배포해서는 안 됩니다. 

본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.

 

This e-mail is intended only for the named recipient. 

Dissemination, distribution, forwarding, or copying of this e-mail by anyone 
other than the intended recipient is prohibited. 

If you have received it in error, please notify the sender by e-mail and 
completely delete it. Thank you for your cooperation.

  _  





___
ceph-users mailing list
ceph-users@lists.ceph.com  
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

-- 

  Jaemyoun Lee

  

  CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University) 

  E-mail : jaemy...@hanyang.ac.kr  

  Website : http://cpslab.hanyang.ac.kr  

 

  _  

 

위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된 정보가 
포함돼 있을 수 있습니다. 

귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공개, 복사, 
전송, 배포해서는 안 됩니다. 

본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.

 

This e-mail is intended only for the named recipient. 

Dissemination, distribution, forwarding, or copying of this e-mail by anyone 
other than the intended recipient is prohibited. 

If you have received it in error, please notify the sender by e-mail and 
completely delete it. Thank you for your cooperation.

  _  




___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] How to know if an object is stored in clients?

2016-12-30 Thread Jaemyoun Lee
Thanks a lot!

On Fri, Dec 30, 2016 at 6:32 PM Shinobu Kinjo  wrote:

> You can track activity of acting set by using:
>
>  # ceph daemon osd.${osd id} dump_ops_in_flight
>
> On Fri, Dec 30, 2016 at 3:59 PM, Jaemyoun Lee 
> wrote:
>
> Dear Wido,
> Is there a command to check the ACK? Or, may you tell me a source code
> function for the received ACK?
>
> Thanks,
> Jae
>
> On Thu, Dec 29, 2016 at 6:56 PM Wido den Hollander  wrote:
>
>
> > Op 28 december 2016 om 12:58 schreef Jaemyoun Lee <
> jaemy...@hanyang.ac.kr>:
> >
> >
> > Hello,
> >
> > I executed the RADOS tool to store an object as follows:
> > ```
> > user@ClientA:~$ rados put -p=rbd objectA a.txt
> > ```
> >
> > I wonder how the client knows a completion of storing the object in some
> > OSDs.
> >
>
> When the primary OSD for a PG Acks to the client it knows that it is
> stored on ALL replicas.
>
> RADOS/Ceph always writes synchronous.
>
> Wido
>
> > Thanks,
> > Jae
> >
> > --
> >   Jaemyoun Lee
> >
> >   CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
> >   E-mail : jaemy...@hanyang.ac.kr
> >   Website : http://cpslab.hanyang.ac.kr
> >
> >
> >
> ---
> > 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된
> 정보가 포함돼 있을 수 있습니다.
> > 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게
> 공개, 복사, 전송, 배포해서는 안 됩니다.
> > 본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.
> >
> > This e-mail is intended only for the named recipient.
> > Dissemination, distribution, forwarding, or copying of this e-mail by
> anyone other than the intended recipient is prohibited.
> > If you have received it in error, please notify the sender by e-mail and
> completely delete it. Thank you for your cooperation.
> >
> ---___
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> --
>   Jaemyoun Lee
>
>   CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
>   E-mail : jaemy...@hanyang.ac.kr
>   Website : http://cpslab.hanyang.ac.kr
>
>
> 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된
> 정보가 포함돼 있을 수 있습니다.
>
> 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공개,
> 복사, 전송, 배포해서는 안 됩니다.
>
> 본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.
>
>
> This e-mail is intended only for the named recipient.
>
> Dissemination, distribution, forwarding, or copying of this e-mail by
> anyone other than the intended recipient is prohibited.
>
> If you have received it in error, please notify the sender by e-mail and
> completely delete it. Thank you for your cooperation.
>
> --
>
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
> --
  Jaemyoun Lee

  CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
  E-mail : jaemy...@hanyang.ac.kr
  Website : http://cpslab.hanyang.ac.kr

---
위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된 정보가 
포함돼 있을 수 있습니다. 
귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공개, 복사, 
전송, 배포해서는 안 됩니다. 
본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.

This e-mail is intended only for the named recipient. 
Dissemination, distribution, forwarding, or copying of this e-mail by anyone 
other than the intended recipient is prohibited. 
If you have received it in error, please notify the sender by e-mail and 
completely delete it. Thank you for your cooperation.
---
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] How to know if an object is stored in clients?

2016-12-30 Thread Shinobu Kinjo
You can track activity of acting set by using:

 # ceph daemon osd.${osd id} dump_ops_in_flight

On Fri, Dec 30, 2016 at 3:59 PM, Jaemyoun Lee 
wrote:

> Dear Wido,
> Is there a command to check the ACK? Or, may you tell me a source code
> function for the received ACK?
>
> Thanks,
> Jae
>
> On Thu, Dec 29, 2016 at 6:56 PM Wido den Hollander  wrote:
>
>>
>> > Op 28 december 2016 om 12:58 schreef Jaemyoun Lee <
>> jaemy...@hanyang.ac.kr>:
>> >
>> >
>> > Hello,
>> >
>> > I executed the RADOS tool to store an object as follows:
>> > ```
>> > user@ClientA:~$ rados put -p=rbd objectA a.txt
>> > ```
>> >
>> > I wonder how the client knows a completion of storing the object in some
>> > OSDs.
>> >
>>
>> When the primary OSD for a PG Acks to the client it knows that it is
>> stored on ALL replicas.
>>
>> RADOS/Ceph always writes synchronous.
>>
>> Wido
>>
>> > Thanks,
>> > Jae
>> >
>> > --
>> >   Jaemyoun Lee
>> >
>> >   CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
>> >   E-mail : jaemy...@hanyang.ac.kr
>> >   Website : http://cpslab.hanyang.ac.kr
>> >
>> >
>> > 
>> 
>> ---
>> > 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가
>> 금지된 정보가 포함돼 있을 수 있습니다.
>> > 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게
>> 공개, 복사, 전송, 배포해서는 안 됩니다.
>> > 본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.
>> >
>> > This e-mail is intended only for the named recipient.
>> > Dissemination, distribution, forwarding, or copying of this e-mail by
>> anyone other than the intended recipient is prohibited.
>> > If you have received it in error, please notify the sender by e-mail
>> and completely delete it. Thank you for your cooperation.
>> > 
>> 
>> ---___
>> > ceph-users mailing list
>> > ceph-users@lists.ceph.com
>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>>
>> --
>   Jaemyoun Lee
>
>   CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
>   E-mail : jaemy...@hanyang.ac.kr
>   Website : http://cpslab.hanyang.ac.kr
>
> --
>
>
> 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된
> 정보가 포함돼 있을 수 있습니다.
>
> 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공개,
> 복사, 전송, 배포해서는 안 됩니다.
>
> 본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.
>
>
> This e-mail is intended only for the named recipient.
>
> Dissemination, distribution, forwarding, or copying of this e-mail by
> anyone other than the intended recipient is prohibited.
>
> If you have received it in error, please notify the sender by e-mail and
> completely delete it. Thank you for your cooperation.
> --
>
>
> ___
> 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


Re: [ceph-users] How to know if an object is stored in clients?

2016-12-29 Thread Jaemyoun Lee
Dear Wido,
Is there a command to check the ACK? Or, may you tell me a source code
function for the received ACK?

Thanks,
Jae

On Thu, Dec 29, 2016 at 6:56 PM Wido den Hollander  wrote:

>
> > Op 28 december 2016 om 12:58 schreef Jaemyoun Lee <
> jaemy...@hanyang.ac.kr>:
> >
> >
> > Hello,
> >
> > I executed the RADOS tool to store an object as follows:
> > ```
> > user@ClientA:~$ rados put -p=rbd objectA a.txt
> > ```
> >
> > I wonder how the client knows a completion of storing the object in some
> > OSDs.
> >
>
> When the primary OSD for a PG Acks to the client it knows that it is
> stored on ALL replicas.
>
> RADOS/Ceph always writes synchronous.
>
> Wido
>
> > Thanks,
> > Jae
> >
> > --
> >   Jaemyoun Lee
> >
> >   CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
> >   E-mail : jaemy...@hanyang.ac.kr
> >   Website : http://cpslab.hanyang.ac.kr
> >
> >
> >
> ---
> > 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된
> 정보가 포함돼 있을 수 있습니다.
> > 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게
> 공개, 복사, 전송, 배포해서는 안 됩니다.
> > 본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.
> >
> > This e-mail is intended only for the named recipient.
> > Dissemination, distribution, forwarding, or copying of this e-mail by
> anyone other than the intended recipient is prohibited.
> > If you have received it in error, please notify the sender by e-mail and
> completely delete it. Thank you for your cooperation.
> >
> ---___
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> --
  Jaemyoun Lee

  CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
  E-mail : jaemy...@hanyang.ac.kr
  Website : http://cpslab.hanyang.ac.kr

---
위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된 정보가 
포함돼 있을 수 있습니다. 
귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공개, 복사, 
전송, 배포해서는 안 됩니다. 
본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.

This e-mail is intended only for the named recipient. 
Dissemination, distribution, forwarding, or copying of this e-mail by anyone 
other than the intended recipient is prohibited. 
If you have received it in error, please notify the sender by e-mail and 
completely delete it. Thank you for your cooperation.
---
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] How to know if an object is stored in clients?

2016-12-29 Thread Wido den Hollander

> Op 28 december 2016 om 12:58 schreef Jaemyoun Lee :
> 
> 
> Hello,
> 
> I executed the RADOS tool to store an object as follows:
> ```
> user@ClientA:~$ rados put -p=rbd objectA a.txt
> ```
> 
> I wonder how the client knows a completion of storing the object in some
> OSDs.
> 

When the primary OSD for a PG Acks to the client it knows that it is stored on 
ALL replicas.

RADOS/Ceph always writes synchronous.

Wido

> Thanks,
> Jae
> 
> -- 
>   Jaemyoun Lee
> 
>   CPS Lab. (Cyber-Physical Systems Laboratory in Hanyang University)
>   E-mail : jaemy...@hanyang.ac.kr
>   Website : http://cpslab.hanyang.ac.kr
> 
> 
> ---
> 위 전자우편에 포함된 정보는 지정된 수신인에게만 발송되는 것으로 보안을 유지해야 하는 정보와 법률상 및 기타 사유로 공개가 금지된 정보가 
> 포함돼 있을 수 있습니다. 
> 귀하가 이 전자우편의 지정 수신인이 아니라면 본 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 제3자에게 공개, 복사, 
> 전송, 배포해서는 안 됩니다. 
> 본 메일이 잘못 전송되었다면, 전자우편 혹은 전화로 연락해주시고, 메일을 즉시 삭제해 주시기 바랍니다. 협조해 주셔서 감사합니다.
> 
> This e-mail is intended only for the named recipient. 
> Dissemination, distribution, forwarding, or copying of this e-mail by anyone 
> other than the intended recipient is prohibited. 
> If you have received it in error, please notify the sender by e-mail and 
> completely delete it. Thank you for your cooperation.
> ---___
> 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