By default, all VM-related files are in a single folder with the original VM name (or the VM name after a VM storage migration). You can change this behavior for different type of files and for different reasons:
- VMDK files: Having virtual disks in different datastores allows you to choose the proper type of disks with the proper performance and service level. You can choose a new location when you add a new virtual disk, or simply choose different locations for each VMDK when you apply a storage migration.
- Swap file: Migrating VM swap (.vswp) files to a different datastore is possible and described in KB 2003956—Migrating virtual machine swap (.vswp) files from one datastore to another (https://kb.vmware.com/kb/2003956 ...