New to ProxMox. Added unpartitioned disk to LVM accidentally, had to remove (had not added any data to it) and probably fucked it up. Disk now shows as [Unknown] and I cant figure out how to remove it from the LVM and get it back to working (none of my vms will boot as the lvm-thin they all where on no longer functions due to this). Let me know what all information would be helpful to try fixing this.
Tutorial I used to add drive:
Tutorial I used to add drive:
- LVM physical volume to extend the default pve-data LVM logical volume and /var/lib/vz filesystem:
- partition your device and set the LVM (8e) flag <-----My dumbass missed this step
- create a new physical volume with pvcreate /dev/<DEVNAME>
- extend default VG with vgextend pve /dev/<DEVNAME>
- extend data logical volume with lvextend /dev/mapper/pve-data /dev/<DEVNAME>
- verify your FS is clean with fsck -nv /dev/mapper/pve-data
- resize your FS with resize2fs -F /dev/mapper/pve-data
Attachments
Last edited: