My prefered way: check if all pgs are active+clean

Joachim



Joachim Kraftmayer

CEO

[email protected]

www.clyso.com

Hohenzollernstr. 27, 80801 Munich

Utting a. A. | HR: Augsburg | HRB: 25866 | USt. ID-Nr.: DE2754306

Alfredo Rezinovsky <[email protected]> schrieb am Do., 29. Aug. 2024,
12:53:

> I have a proxmox cluster using an external CEPH cluster.
>
> Sometimes due to blackouts the servers need to restart. If proxmox starts
> before CEPH is ready the VMs fail to boot.
>
> I want to add a dependency in proxmox to wait for ceph to be ready.
>
> I can work with a HEALTH_WARN as long the RBD pool is usable.
>
> ceph status exit status doesn´t helps
>
> Should I grep for "pgs not active" in ceph status or for "inactive" pgs in
> ceph health or is there something more direct to know if everything is
> alright?
>
>
>
> --
> Alfrenovsky
> _______________________________________________
> ceph-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to