BTW, you can make crush to always choose the same OSD as primary.
​ ​

Regards,
Sudarshan

On Mon, Feb 2, 2015 at 9:26 AM, Dennis Chen <kernel.org....@gmail.com>
wrote:

> Thanks, I've have the answer with the 'ceph osd map ...' command
>
> On Mon, Feb 2, 2015 at 12:50 AM, Jean-Charles Lopez <jelo...@redhat.com>
> wrote:
> > Hi
> >
> > You can verify the exact mapping using the following command: ceph osd
> map {poolname} {objectname}
> >
> > Check page http://docs.ceph.com/docs/master/man/8/ceph for the ceph
> command.
> >
> > Cheers
> >
> > JC
> >
> > While moving. Excuse unintended typos.
> >
> >> On Feb 1, 2015, at 08:04, Loic Dachary <l...@dachary.org> wrote:
> >>
> >>
> >>
> >>> On 01/02/2015 14:47, Dennis Chen wrote:
> >>> Hello,
> >>>
> >>> If I write 2 different objects, eg, "john" and "paul" respectively to
> >>> a same pool like "testpool" in the cluster, is the primary OSD
> >>> calculated by CRUSH for the 2 objects the same?
> >>
> >> Hi,
> >>
> >> CRUSH is likely to place john on an OSD and paul on another OSD.
> >>
> >> Cheers
> >>
> >> --
> >> Loïc Dachary, Artisan Logiciel Libre
> >>
> >> _______________________________________________
> >> 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
>
>
>
> --
> Den
> _______________________________________________
> 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