Re: 6 osds on 2 hosts, does Ceph always write data in one osd on host1 and replica in osd on host2?

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

 



Just so you're aware of why that's the case, the line
  step chooseleaf firstn 0 type host
in your crush map under the rules section says "host".  If you changed that to "osd", then your replicas would be unique per OSD instead of per server.  If you had a larger cluster and changed it to "rack" and implemented racks as buckets with hosts in them in your crush map, then your replicas would be unique per rack that you configured.

On Mon, Jun 26, 2017 at 5:50 AM Stéphane Klein <contact@xxxxxxxxxxxxxxxxxxx> wrote:
2017-06-26 11:48 GMT+02:00 Ashley Merrick <ashley@xxxxxxxxxxxxxx>:
Your going across host’s so each replication will be on a different host.

Thanks :) 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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