Recover image from pool (set min_size)

Fladi

Renowned Member
Feb 27, 2015
31
9
73
Hi there,

beside my problem with the crashed ceph-cluster (see https://forum.proxmox.com/threads/reinstall-proxmox-ceph-node-after-crash.47142/) I have another problem.

I have a separate SSD-Pool with one SSD on each ceph-host. Ceph-1 is still down (see other thread) and the SSD in Ceph-3 seems to be unaccessible. So I only have Ceph-2 with this running.

$ ceph osd pool get ssd6g_lxc min_size
2018-09-16 12:03:10.824751 7fe938580700 0 -- :/1389999952 >> 10.100.210.50:6789/0 pipe(0x7fe93405f760 sd=3 :0 s=1 pgs=0 cs=0 l=1 c=0x7fe93405d450).fault
min_size: 2


So the pool is 3/2 configured and I can't do IO as min-size=2. Unfortunately there is one vm-disk on this pool which is urgently needed.

Is it safe to change min_size to 1?

$ ceph osd pool set data min_size 1

Would I be able to read from the pool afterwards and move image to another pool?

Thanks and br
Tim


 
Hi,

i recovered the "ohter" server so the pool healed himself with 2 available OSD.

Anyway it would be interesting if this would have worked? Anyone?

br
Tim
 

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!