Create VM Hard Disk Option

JasonC

New Member
Oct 24, 2015
3
0
1
I'm looking for some clarification on a few of the Hard Disk settings when configuring a Hard Disk for a VM using Proxmox 4.0-50.

Bus/Device? IDE / SATA / VIRTIO / SCSI

I've read in a few places that everyone believes that VirtIO for linux instances are the way to go? Any comments on the others in comparison? If someone has a document on the advantages / disadvantages to them, i'd love to read it.

No backup?

Discard? Is this about hole punching a using trim to keep the file on the host smaller?

Iothread?

I believe I have figured out what Iothread is for after reading a few sites on the net, but what about the other two? I'd love to understand more what those options actually mean...

Thanks in advance, and my apologies if this is posted some where else, i have searched the forums here and have not found anything directly related to the no backup, discard, and iothread options specifically..
 
Discard: makes only sense if you have SSDs.
This is not the complete story. Discard is relevant for all storage backends which supports SATA trim or SCSI unmap but for performance and longevity it is more wisely to disable automatic trim/unmap from every delete operation and do this in a cronjob instead. Trim/unmap is a fundamental requirement for thin provisioning since otherwise storage requirements will rise astronomically - release of sectors by the file system will never reach the underlying storage.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!