ceph: how can I assign "primary osd" to pg

cola16

New Member
Feb 2, 2024
19
1
3
I got error on ceph cluster
```
Reduced data availability: 1 pg stale
```
`pg 69.0 is stuck stale for 8h, current state stale+active+clean, last acting [10,11,4]`
So I tried repair

```
# ceph pg repair 69.0
Error EAGAIN: pg 69.0 has no primary osd
```
How can I set primary osd to PG?
 
Hello, could you please send us the output of the following commands

- ceph status
- ceph osd df tree
- ceph df
- ceph device ls
- pveceph pool ls --noborder
- cat /etc/ceph/ceph.conf
- ceph config dump

Please use the code blocks in the editing tool so the output looks formatted and uses monospace character. There might multiple reasons why this can happen hence why I ask for such amount of commands.

Additionally, please send us the output of `ceph pg dump` as a standalone file.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!