vgreduce PVE

Discussion in 'Proxmox VE: Installation and configuration' started by pblou, Nov 10, 2018.

  1. pblou

    pblou Member

    Joined:
    Jan 9, 2017
    Messages:
    31
    Likes Received:
    0
    Hello,

    I'm using Proxmox 5.1 and I want to remove /dev/sdc1 from VG pve to assign it to a other VG.

    PV VG Fmt Attr PSize PFree
    /dev/sda3 pve lvm2 a-- 3.64t 15.77g
    /dev/sdc1 pve lvm2 a-- 1.23t 0

    when I try a 'vgreduce pve /dev/sdc1'
    the answer is ' Physical volume "/dev/sdc1" still in use'

    Anybody can help me

    thks
     
  2. Richard

    Richard Proxmox Staff Member
    Staff Member

    Joined:
    Mar 6, 2015
    Messages:
    447
    Likes Received:
    10
    Before 'vgreduce" you have to run
    Code:
    pvmove /dev/sdc1 /dev/sda3
    
     
  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