[SOLVED] [Ceph] Unknown OSDs out/down - Safe to remove ?

McFouch

New Member
Jun 25, 2022
3
1
3
Hi,

I got the admin on a ceph cluster in which out/down OSDs are listed in the GUI but do not correspond to any device :
Cluster is healthy and my "known" OSD are in/up.
2022-06-26 00_34_10-pve1 - Proxmox Virtual Environment and 4 more pages - Work - Microsoft​ Edge.png
Code:
#ceph osd status
+----+------+-------+-------+--------+---------+--------+---------+------------+
| id | host |  used | avail | wr ops | wr data | rd ops | rd data |   state    |
+----+------+-------+-------+--------+---------+--------+---------+------------+
| 0  |      |    0  |    0  |    0   |     0   |    0   |     0   | exists,new |
| 1  |      |    0  |    0  |    0   |     0   |    0   |     0   | exists,new |
| 2  | pve2 |  189G |  257G |    1   |  8192   |    0   |     0   | exists,up  |
| 3  | pve2 |  201G |  245G |    5   |  23.2k  |    0   |     0   | exists,up  |
| 4  |      |    0  |    0  |    0   |     0   |    0   |     0   | exists,new |
| 5  |      |    0  |    0  |    0   |     0   |    0   |     0   | exists,new |
| 6  |      |    0  |    0  |    0   |     0   |    0   |     0   | exists,new |
| 7  |      |    0  |    0  |    0   |     0   |    0   |     0   | exists,new |
| 8  | pve3 |  209G |  237G |    0   |  3276   |    0   |     0   | exists,up  |
| 9  | pve3 |  182G |  264G |    0   |  1638   |    0   |     0   | exists,up  |
| 10 | pve1 |  197G |  249G |    5   |  24.0k  |    0   |     0   | exists,up  |
| 11 | pve1 |  194G |  252G |    2   |  13.6k  |    0   |     0   | exists,up  |
+----+------+-------+-------+--------+---------+--------+---------+------------+
Code:
# ceph device ls
DEVICE                                  HOSTEV DAEMONS LIFE EXPECTANCY
INTEL_SSDSC2BB480G6_PHWA634503EL480FGN  pve3:sdb osd.9                
INTEL_SSDSC2BB480G6_PHWA634506SF480FGN  pve3:sda osd.8                
INTEL_SSDSC2BB480G7O_PHDV645100E9480BGN pve1:sda osd.10                
INTEL_SSDSC2BB480G7O_PHDV64510380480BGN pve1:sdb osd.11                
INTEL_SSDSC2KB480G7_BTYS8081023D480BGN  pve2:sda osd.2                
INTEL_SSDSC2KB480G7_BTYS80900ACV480BGN  pve2:sdb osd.3

Is it safe to delete it with 'ceph osd del osd.x' or there is a specific way with ProxmoxVE ?

Thanks for your advices.
 
Last edited:
Hi,

try deleting one, if ceph stays happy you can delete the others as well :). You can just use the ceph command you posted :).
 
Hi,

try deleting one, if ceph stays happy you can delete the others as well :). You can just use the ceph command you posted :).
Thanks for your reply,

I will first backup & delete auth keys of this OSD and after remove them.
 

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!