Re: How to fix: HEALTH_ERR 45 pgs are stuck inactive for more than 300 seconds; 19 pgs degraded; 45 pgs stuck inactive; 19 pgs stuck unclean; 19 pgs undersized; recovery 2514/5028 objects degraded (50.000%)

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

 



Hello,

Le 16/01/2017 à 11:50, Stéphane Klein a écrit :
Hi,

I have two OSD and Mon nodes.

I'm going to add third osd and mon on this cluster but before I want to
fix this error:
>
> [SNIP SNAP]

You've just created your cluster.

With the standard CRUSH rules you need one OSD on three different hosts for an active+clean cluster.

You've created two OSDs already, are they on different hosts?

Also, your monitors. Keep in mind that an odd number of monitors is the only good choice. So, 1, 3 or 5.

The reason for this? I'm sure you've already encountered this paragraph from the documentation:

"Ceph uses the Paxos algorithm, which requires a majority of monitors (i.e., 1, 2:3, 3:4, 3:5, 4:6, etc.) to form a quorum."

http://docs.ceph.com/docs/master/start/quick-ceph-deploy/#adding-monitors

But that's all in the docs, happy reading!

http://docs.ceph.com/docs/master/
_______________________________________________
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