Can't locate an LVM for renaming

SammyD

Member
Sep 22, 2022
8
0
6
I'm manually changing the VMID of my backup server (because it's too big to clone). I was able to change its VMID and primary LVM but I can't find where to rename my additional 1TB hard drive, which contains all the backups. It's not listed where my primary volume was.

Any hints on where to find it?
Here is some more information.
Thanks

vgs...
VG #PV #LV #SN Attr VSize VFree
local-pbs 1 1 0 wz--n- 931.51g 1.51g

lvs...
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vm-999-disk-0 local-pbs -wi-ao---- 930.00g

lsblk...
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdb 8:16 0 931.5G 0 disk
└─local--pbs-vm--999--disk--0 252:2 0 930G 0 lvm

Hardware listed in my VM.
1777667960858.png
 
The first step is to review the output of:
cat /etc/pve/storage.cfg
pvesm status

The two disks are located on different storage pools (local-lvm vs local-pbs). It is not strictly necessary to match the name of the disk to the index id of the VM. It certainly makes sense to do so from a hygiene perspective.
At first glance it seems that both pools are LVM-based. So the process to rename the disk would be the same.

Cheers


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox