messed up volume group

revmarkp

New Member
Jan 5, 2020
8
0
1
56
Chelsmford, Essex, UK
somehome I've managed to partly delete a VG and now when I want to assign /dev/sdb to it via the datacentre, the gui doesn't list my vg 'storage2'. it shows in pvs, but not in lvs. Help to correct this appreciated for a newb.

root@pve-pb2:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert data pve twi-aotz-- <181.18g 34.92 2.56 root pve -wi-ao---- 69.50g swap pve -wi-ao---- 8.00g vm-211-disk-0 pve Vwi-aotz-- 3.00g data 82.63 vm-601-disk-0 pve Vwi-a-tz-- 8.00g data 11.05 vm-601-disk-1 pve Vwi-aotz-- 8.00g data 59.56 vm-602-disk-0 pve Vwi-a-tz-- 8.00g data 26.71 vm-603-disk-0 pve Vwi-a-tz-- 8.00g data 13.37 vm-801-disk-0 pve Vwi-a-tz-- 32.00g data 3.20 vm-802-disk-0 pve Vwi-a-tz-- 32.00g data 3.20 vm-803-disk-0 pve Vwi-a-tz-- 32.00g data 46.39 vm-804-disk-0 pve Vwi-aotz-- 320.00g data 6.41 vm-805-disk-0 pve Vwi-a-tz-- 8.00g data 12.33 vm-806-disk-0 pve Vwi-a-tz-- 320.00g data 4.23 root@pve-pb2:~# pvs PV VG Fmt Attr PSize PFree /dev/sda3 pve lvm2 a-- 278.37g 15.99g /dev/sdb storage2 lvm2 a-- 1.09t 1.09t root@pve-pb2:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 278.9G 0 disk ├─sda1 8:1 0 1007K 0 part ├─sda2 8:2 0 512M 0 part └─sda3 8:3 0 278.4G 0 part ├─pve-swap 253:0 0 8G 0 lvm [SWAP] ├─pve-root 253:1 0 69.5G 0 lvm / ├─pve-data_tmeta 253:2 0 1.9G 0 lvm │ └─pve-data-tpool 253:4 0 181.2G 0 lvm │ ├─pve-data 253:5 0 181.2G 0 lvm │ ├─pve-vm--601--disk--0 253:6 0 8G 0 lvm │ ├─pve-vm--801--disk--0 253:7 0 32G 0 lvm │ ├─pve-vm--601--disk--1 253:8 0 8G 0 lvm │ ├─pve-vm--602--disk--0 253:9 0 8G 0 lvm │ ├─pve-vm--802--disk--0 253:10 0 32G 0 lvm │ ├─pve-vm--803--disk--0 253:11 0 32G 0 lvm │ ├─pve-vm--804--disk--0 253:12 0 320G 0 lvm │ ├─pve-vm--805--disk--0 253:13 0 8G 0 lvm │ ├─pve-vm--603--disk--0 253:14 0 8G 0 lvm │ ├─pve-vm--806--disk--0 253:15 0 320G 0 lvm │ └─pve-vm--211--disk--0 253:16 0 3G 0 lvm └─pve-data_tdata 253:3 0 181.2G 0 lvm └─pve-data-tpool 253:4 0 181.2G 0 lvm ├─pve-data 253:5 0 181.2G 0 lvm ├─pve-data 253:5 0 181.2G 0 lvm ├─pve-vm--601--disk--0 253:6 0 8G 0 lvm ├─pve-vm--801--disk--0 253:7 0 32G 0 lvm ├─pve-vm--601--disk--1 253:8 0 8G 0 lvm ├─pve-vm--602--disk--0 253:9 0 8G 0 lvm ├─pve-vm--802--disk--0 253:10 0 32G 0 lvm ├─pve-vm--803--disk--0 253:11 0 32G 0 lvm ├─pve-vm--804--disk--0 253:12 0 320G 0 lvm ├─pve-vm--805--disk--0 253:13 0 8G 0 lvm ├─pve-vm--603--disk--0 253:14 0 8G 0 lvm ├─pve-vm--806--disk--0 253:15 0 320G 0 lvm └─pve-vm--211--disk--0 253:16 0 3G 0 lvm sdb 8:16 0 1.1T 0 disk sdc 8:32 1 14.4G 0 disk ├─sdc1 8:33 1 238K 0 part ├─sdc2 8:34 1 2.8M 0 part ├─sdc3 8:35 1 772.8M 0 part └─sdc4 8:36 1 300K 0 part
 
root@pve-pb2:~# pvesm status
Name Type Status Total Used Available %
local dir active 72840448 2798392 70042056 3.84%
local-lvm lvmthin active 189976576 66339820 123636755 34.92%
nfspb1 nfs active 238798848 52859904 173739008 22.14%
storage lvmthin disabled 0 0 0 N/A
 
I've deleted the node and rebuilt it. When it was standalone, before I rejoined my cluster, the second drive /dev/sdb/ could be seen and accessed as storage by the node OK. When I joined the cluster the storage (LVM) doesn't show under that node anymore. Neither can I see it listed or available as a volume if I try to add it through Datacentre--> storage.
Can anyone tell me what I'm doing wrong here please? I've clearly done something different with this node compared to my (only) other one which has v similar hardware. Have a done something wrong with the format of this drive perhaps?
 

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!