vgreduce PVE

pblou

Well-Known Member
Jan 9, 2017
32
0
46
35
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
 
Before 'vgreduce" you have to run
Code:
pvmove /dev/sdc1 /dev/sda3
 

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!