Remove Disk from LVM for use with CEPH OSD

Discussion in 'Proxmox VE: Installation and configuration' started by afrugone, Nov 21, 2017.

  1. afrugone

    afrugone Member

    Joined:
    Nov 26, 2008
    Messages:
    99
    Likes Received:
    0
    Hi,

    I'm building an CEPH cluster with Proxmox 5.1, this is a new system just intalled, I'm adding disks to OSD, but for a reason I don't know there is one disk that is marked as LVM in USAGE column, so I cant add it to CEPH OSD.
    How can I free this disk from LVM?

    lvm.png
    Thanks
     
    #1 afrugone, Nov 21, 2017
    Last edited: Nov 21, 2017
  2. afrugone

    afrugone Member

    Joined:
    Nov 26, 2008
    Messages:
    99
    Likes Received:
    0
    I think the disk is marked as LVM because in the installation process I made a mistake and use this disk for OS install, laterI reboot and use the right disk /dev/sdb.
     
  3. fabian

    fabian Proxmox Staff Member
    Staff Member

    Joined:
    Jan 7, 2016
    Messages:
    3,199
    Likes Received:
    496
    if you are sure that the disk is not used in any way, you can use "sgdisk -Z /dev/sdc" to zap the partition table.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. afrugone

    afrugone Member

    Joined:
    Nov 26, 2008
    Messages:
    99
    Likes Received:
    0
    Thanks it woks
     
  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