extend pve-data

mathewb

Member
Feb 12, 2021
19
0
6
43
cd /dev/disk/by-id

ls

ata-ADROITLARK_SSD_240GB_AA000000000000000266

ata-ADROITLARK_SSD_240GB_AA000000000000000266-part1

ata-ADROITLARK_SSD_240GB_AA000000000000000266-part2

ata-ADROITLARK_SSD_240GB_AA000000000000000266-part3

ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ

ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ-part1

dm-name-pve-root

dm-name-pve-swap

dm-name-pve-vm--100--disk--0

dm-name-pve-vm--101--disk--0

dm-name-pve-vm--101--disk--1

dm-uuid-LVM-MUmETBhkY3dmMZ668ashffH9Mvghm5bj13cKxhOM27wTmgWn6930FnHWOpM0dJG3

dm-uuid-LVM-MUmETBhkY3dmMZ668ashffH9Mvghm5bjA06InYwI7rsBfBV6QY0CCde1gZSwgYYA

dm-uuid-LVM-MUmETBhkY3dmMZ668ashffH9Mvghm5bjB8Ta6LQuhO584exkgmaOKbGqjuMAgNze

dm-uuid-LVM-MUmETBhkY3dmMZ668ashffH9Mvghm5bjeOhRmlsPBv0dQXKg9RmYTxTptYq87bbP

dm-uuid-LVM-MUmETBhkY3dmMZ668ashffH9Mvghm5bjkqlzEMFGT2RmdjvTMwU1XW2KrYI3y2G9

lvm-pv-uuid-3CSREq-Wf16-um9M-Q80q-w4QY-EKuU-YVc4nv

lvm-pv-uuid-UQYZ0w-Zetf-J7pD-s75g-B3Qt-pZuQ-i226BH

usb-Generic_USB_CF_Reader_2004888-0:1

usb-Generic_USB_MS_Reader_2004888-0:3

usb-Generic_USB_SD_Reader_2004888-0:0

usb-Generic_USB_SM_Reader_2004888-0:2

usb-SAMSUNG_HD400LD_01BC0D2705F9-0:0

usb-SAMSUNG_HD400LD_01BC0D2705F9-0:0-part1

wwn-0x50014ee2634f7521

wwn-0x50014ee2634f7521-part1cfdisk /dev/disk/by-id/ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ

delete

write

yes

new

enter

write

yes

quit

pvcreate -ff /dev/disk/by-id/ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ-part1

/dev/sdd: open failed: No medium found

/dev/sde: open failed: No medium found

/dev/sdf: open failed: No medium found

/dev/sdg: open failed: No medium found

Couldn't find device with uuid OB4Lsz-6m9A-l58A-xQ0b-fUJy-EA2u-GUTu8O.

Couldn't find device with uuid O6Cl3u-NnF4-8ErM-Y6DJ-Adqe-1ML0-deNKqw.

Couldn't find device with uuid NgeBHN-1bbQ-ZAoM-e2WU-DcIv-uDWF-WchUBV.

Really INITIALIZE physical volume "/dev/disk/by-id/ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ-part1" of volume group "pve" [y/n]? y

y

vgextend pve /dev/disk/by-id/ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ-part1

Volume group "pve" successfully extended

lvextend /dev/pve/data -L +1.8t

/dev/sdd: open failed: No medium found

/dev/sde: open failed: No medium found

/dev/sdf: open failed: No medium found

/dev/sdg: open failed: No medium found

Couldn't find device with uuid OB4Lsz-6m9A-l58A-xQ0b-fUJy-EA2u-GUTu8O.

Couldn't find device with uuid O6Cl3u-NnF4-8ErM-Y6DJ-Adqe-1ML0-deNKqw.

Couldn't find device with uuid NgeBHN-1bbQ-ZAoM-e2WU-DcIv-uDWF-WchUBV.

Couldn't find device with uuid UQYZ0w-Zetf-J7pD-s75g-B3Qt-pZuQ-i226BH.

Cannot change VG pve while PVs are missing.

Consider vgreduce --removemissing.

how do i fix this

Cannot process volume group pve
 
what exactly do you want to do ?

what you posted indicates that you deleted part of a vg that were still in use and now it complains that it's missing
 

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!