I recently trying to learn ceph cluster with promox, but unfortunately I can't seem to move on from the error that I encounter. With everyone here I hope that I can get a clear answer or solution on my problem.
here's the problem that I encounter for the past few days. can anyone please point where I made a mistake on this?
$ceph health
HEALTH_ERR 64 pgs are stuck inactive for more than 300 seconds; 64 pgs stuck inactive
$ceph osd tree
ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 0.12778 root default
-2 0.06389 host ceph03
0 0.06389 osd.0 down 0 1.00000
-3 0.06389 host ceph04
1 0.06389 osd.1 down 0 1.00000
$ceph.conf
[global]
fsid = 0d20360e-92d3-4ded-8b73-2cbe4ce42ac0
mon_initial_members = ceph02
mon_host = 192.168.0.4
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
public_network = 192.168.0.0/24
[osd]
osd journal size = 10000
[osd.0]
host = ceph03
[osd.1]
host = ceph04
here's the problem that I encounter for the past few days. can anyone please point where I made a mistake on this?
$ceph health
HEALTH_ERR 64 pgs are stuck inactive for more than 300 seconds; 64 pgs stuck inactive
$ceph osd tree
ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 0.12778 root default
-2 0.06389 host ceph03
0 0.06389 osd.0 down 0 1.00000
-3 0.06389 host ceph04
1 0.06389 osd.1 down 0 1.00000
$ceph.conf
[global]
fsid = 0d20360e-92d3-4ded-8b73-2cbe4ce42ac0
mon_initial_members = ceph02
mon_host = 192.168.0.4
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
public_network = 192.168.0.0/24
[osd]
osd journal size = 10000
[osd.0]
host = ceph03
[osd.1]
host = ceph04