When creating new Linux virtual machines using recent (>= 2014) distributions in VMware ESXi 5.5, should they mount their filesystems with the discard
option ?
I make the assumption that the VM's admin does not necessarily know what is the actual underlying storage and that the VM is using whatever is the recommended "virtual controller" and I hope/suspect that if the VM sends out TRIM
commands they could be useful with thin virtual disks (even if they are on non-SSD storage) or with thick virtual disks on SSD storage.
Does the discard
mount option actually do something when used in an ESXi VM (eg. even if the virtual controller is a SCSI one and not a SATA one) ?
Does vSphere >= 5.5 do anything when the VM uses such discard
option?