How to Add new OSD to ceph pool

Discussion in 'Proxmox VE: Installation and configuration' started by NicolasCeph, Mar 12, 2018.

  1. NicolasCeph

    NicolasCeph New Member

    Joined:
    Mar 12, 2018
    Messages:
    2
    Likes Received:
    0
    Hello,

    I have a proxmox cluster with 3 nodes.

    I have create a ceph storage with 1 OSD per node and i have crete a pool.

    I have try upgrade the capacity of my pool, i have add 1 HDD per node, and i have had 1 OSD per node.

    Finaly i have 2 OSD per node, but the capcity of my pool have not increases

    Do you have a solution ?
    Best regards.
     
  2. Alwin

    Alwin Proxmox Staff Member
    Staff Member

    Joined:
    Aug 1, 2017
    Messages:
    1,512
    Likes Received:
    131
    How does your 'ceph df' and 'ceph osd df tree' look like?
     
  3. NicolasCeph

    NicolasCeph New Member

    Joined:
    Mar 12, 2018
    Messages:
    2
    Likes Received:
    0
    Hello:

    root@pve:~# ceph df
    GLOBAL:
    SIZE AVAIL RAW USED %RAW USED
    5399G 5390G 8937M 0.16
    POOLS:
    NAME ID USED %USED MAX AVAIL OBJECTS
    pool1 1 855M 0.05 1706G 265




    root@pve:~# ceph osd df tree
    ID CLASS WEIGHT REWEIGHT SIZE USE AVAIL %USE VAR PGS TYPE NAME
    -1 5.27280 - 5399G 8936M 5390G 0.16 1.00 - root default
    -3 1.75760 - 1799G 2979M 1796G 0.16 1.00 - host pve
    0 hdd 0.87880 1.00000 899G 1451M 898G 0.16 0.97 30 osd.0
    3 hdd 0.87880 1.00000 899G 1528M 898G 0.17 1.03 34 osd.3
    -5 1.75760 - 1799G 2978M 1796G 0.16 1.00 - host pve2
    1 hdd 0.87880 1.00000 899G 1543M 898G 0.17 1.04 35 osd.1
    4 hdd 0.87880 1.00000 899G 1435M 898G 0.16 0.96 29 osd.4
    -7 1.75760 - 1799G 2978M 1796G 0.16 1.00 - host pve3
    2 hdd 0.87880 1.00000 899G 1405M 898G 0.15 0.94 27 osd.2
    5 hdd 0.87880 1.00000 899G 1573M 898G 0.17 1.06 37 osd.5
    TOTAL 5399G 8936M 5390G 0.16
    MIN/MAX VAR: 0.94/1.06 STDDEV: 0.01


    I have upload screenshot of my OSD

    Regards
     

    Attached Files:

  4. Alwin

    Alwin Proxmox Staff Member
    Staff Member

    Joined:
    Aug 1, 2017
    Messages:
    1,512
    Likes Received:
    131
    Your pool size has doubled. From 899GB to 1.7TB.
     
  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