mount -t vfat -o loop,offset=$((8192 * 512 )) imgfile.img /mnt/disk1
ssh host "dd if=/dev/mapper/pve-vm--106--disk--0" | dd of=/dev/mapper/pve-vm--106--disk--0 status=progress
or
dd if=/dev/mapper/pve-vm--106--disk--0 bs=4MiB conv=sync status=progress | ssh host ' dd of=/dev/mapper/pve-vm--106--disk--0 bs=4MiB'
systemctl stop rpcbind
systemctl stop rpcbind.socket
systemctl disable rpcbind
systemctl disable rpcbind.socket
old <8
/etc/apt/sources.list.d/pve-enterprise.list deb http://download.proxmox.com/debian/pve buster pve-no-subscription
new 8
/etc/apt/sources.list.d/pve-enterprise.list deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription /etc/apt/sources.list.d/ceph.list deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Deactivate the volume group:
# vgchange -a n my_volume_group
Now you actually remove the volume group:
# vgremove my_volume_group
https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)
https://github.com/Jamesits/pve-fake-subscription
https://github.com/foundObjects/pve-nag-buster/