Re: How to know if an object is stored in clients?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-bounces@xxxxxxxxxxxxxx] On Behalf Of Jaemyoun Lee
Sent: 30 December 2016 09:38
To: Shinobu Kinjo <skinjo@xxxxxxxxxx>
Cc: “ceph-users@xxxxxxxx” <ceph-users@xxxxxxxx>
Subject: Re: How to know if an object is stored in clients?

 

Thanks a lot! 

 

On Fri, Dec 30, 2016 at 6:32 PM Shinobu Kinjo <skinjo@xxxxxxxxxx> 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 <jaemyoun@xxxxxxxxxxxxx> 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 <wido@xxxxxxxx> wrote:


> Op 28 december 2016 om 12:58 schreef Jaemyoun Lee <jaemyoun@xxxxxxxxxxxxx>:
>
>
> 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 : jaemyoun@xxxxxxxxxxxxx
>   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@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


--

  Jaemyoun Lee

  

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

 

 

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

귀하가 전자우편의 지정 수신인이 아니라면 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 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.



Image removed by sender.


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

--

  Jaemyoun Lee

  

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

 


 

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

귀하가 전자우편의 지정 수신인이 아니라면 메일에 포함된 정보의 전부 또는 일부를 무단으로 보유, 사용하거나 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.



Image removed by sender.


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

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux