I'm running Proxmox 3.3.1 to host a virtual machine running Linux (64bit, kernel version 3.2.0). The virtual machine uses a 512GB HDD which was unfortunately configured to use the ide
driver when creating the VM.
How can I reconfigure the virtual machine such that the hard disk is accessed using the virtio
driver?
I found this forum entry on the topic, but the proposed solutions seem to be about doing this for a Windows guest, which requires adding a small dummy HDD in order to driver installation of drivers inside a guest. I suppose this is not needed for Linux.
Another answer on this topic (though purely about KVM, not about Proxmox in particular) mentions that
[..] you'd need to change the drive's label inside of the guest's
/etc/fstab
file, replacing all/dev/sdX
with/dev/vdX
[..]
However, I noticed that the Proxmox guest doesn't use /dev/hdX
at all but rather /dev/mapper/<vmname>-root
instead. So I'm not sure that answer is really applicable, since Proxmox appears to have it's own way of doing things.