Posts with the tag Proxmox:

Migrating Windows VHDs to Proxmox

In this example I’m using a ZFS based datastore. To convert the VHD files to raw, I’m going to import and convert the VHD with the help of the following command. Before running the following command, a blank VM needs to be created first. qm importdisk $VMID /path/to/vhd datastore Alternatively you can use qemu-img directly on the Proxmox host, to convert the VHD to .raw or .qcow2. I’m not going to do it this way tho, but you can go this route.

Proxmox TOTP disable

Disabling TOTP temporarily can be useful to add a host to an existing proxmox cluster. mv /etc/pve/priv/tfa.cfg /etc/pve/priv/tfa.cfg.bak And reverting with mv /etc/pve/priv/tfa.cfg.bak /etc/pve/priv/tfa.cfg

Proxmox VM Watchdog

It happens, hopefully not that often but it isn’t avoidable. Virtual machines do crash sometimes and this isn’t exactly a pleasure for sys admins. So what can be done to avoid it? The following script will start your existing vms, which have the option “Start at boot” set to yes. The interval for this service can be changed in watchdog_vm.timer.An exclusion is also possible, if needed. In this case I did it with the tags feature.