Recover image from pool (set min_size)

Discussion in 'Proxmox VE: Installation and configuration' started by Fladi, Sep 16, 2018.

  1. Fladi

    Fladi New Member

    Joined:
    Feb 27, 2015
    Messages:
    19
    Likes Received:
    4
    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


     
  2. Fladi

    Fladi New Member

    Joined:
    Feb 27, 2015
    Messages:
    19
    Likes Received:
    4
    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
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice