So I've got a 3 node Proxmox cluster, that I'm trying to setup Ceph on. I have a single 512GB SSD in each to use as osd's, but running into problems.
This is the primary thing that I don't understand whats going on. I've added osd's and have removed them, so right now I have nothing showing up under the OSD tab, but under the Disks tab, I see my volume with the Usage column set to osd.0 (osd.1, and osd.2). Essentially, I want to wipe everything relating to this Ceph config and start over.
I've tried to clean things and restart, but I don't think I'm doing it right...or I just don't understand whats going on.
How can I clear the health warning above, and "unstuck" those pgs? How can I completely wipe those Disks to set up again?
Thanks!
Code:
root@hv01:~# ceph health
HEALTH_ERR 192 pgs stuck inactive; 192 pgs stuck unclean; no osds
This is the primary thing that I don't understand whats going on. I've added osd's and have removed them, so right now I have nothing showing up under the OSD tab, but under the Disks tab, I see my volume with the Usage column set to osd.0 (osd.1, and osd.2). Essentially, I want to wipe everything relating to this Ceph config and start over.
I've tried to clean things and restart, but I don't think I'm doing it right...or I just don't understand whats going on.
Code:
root@hv01:~# pveceph purge
root@hv01:~# pveceph init --network 10.10.10.0/24
root@hv01:~# pveceph createmon
creating /etc/pve/priv/ceph.client.admin.keyring
monmaptool: monmap file /tmp/monmap
monmaptool: generated fsid 7e8e3159-42cf-46ff-9b0f-27343a8128fd
epoch 0
fsid 7e8e3159-42cf-46ff-9b0f-27343a8128fd
last_changed 2014-11-14 14:51:57.913833
created 2014-11-14 14:51:57.913833
0: 10.10.10.1:6789/0 mon.0
monmaptool: writing epoch 0 to /tmp/monmap (1 monitors)
ceph-mon: set fsid to fe1edd77-bb21-421d-8fe6-1e92653774d9
ceph-mon: created monfs at /var/lib/ceph/mon/ceph-0 for mon.0
=== mon.0 ===
Starting Ceph mon.0 on hv01...
Starting ceph-create-keys on hv01...
root@hv01:~# ceph health
HEALTH_ERR 192 pgs stuck inactive; 192 pgs stuck unclean; no osds
How can I clear the health warning above, and "unstuck" those pgs? How can I completely wipe those Disks to set up again?
Thanks!
Last edited: