Here is my situation right now,
I have a server in a datacenter with some VMs on it which I sold as VPS,
Right now the DataCenter has suspended my server because of hack attempt by one of my VMs.
They gave me an FTP account which points to the root of ESXi Server ( I can see etc,mnt,home) and asked me to backup my VMs so the wipe the server.
The problem is I don't know where my machines files are (VMDK files I suppose? ).
Please help me because my time before the server getting wiped is running out.
P.S: I only have FTP access, Nothing Else.
Here is my situation right now,
The default location is /vmfs/volumes/
From vmware documentation:
Determining the location of all your virtual machine files:
From the Command Line
To determine the location of all your virtual machine files from the command line: Log into the VMware ESX/ESXi host as the root user. For more information on VMware ESX Service Console, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807). For more information on VMware ESXi Technical Support Mode, see Tech Support Mode for Emergency Support (1003677). For more information on VMware ESXi 4.1 - 5.0 Technical Support Mode, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.0 (1017910).
Type vmware-cmd -l to list the location of the configuration files for the virtual machines registered on an ESX host. Type vim-cmd vmsvc/getallvms to list the location of the configuration files for the virtual machines registered on an ESXi host. Record the location of the .vmx file (configuration file) for the virtual machine you are troubleshooting. For example:
If the virtual machine is not registered on the ESX host and you want to search its configuration file, run this command and press Enter:
find / -name "*.vmx"
The results of step 4 list all virtual machine configuration files. Search the results for the name of a virtual machine file you are interested in locating. The results also list the path to the directory where these files are located. By viewing the configuration file of a virtual machine you can tell where all of its associated files, including .vmdk files, are located. If a file is not in the same directory as the configuration file the complete path is shown in the configuration file. For example, a second hard disk may have an entry such as the one shown below:
scsi0:1.present = "true" scsi0:1.fileName = "/vmfs/volumes/46b2f3ea-980a1c90-3333-00112233bb44/diskStore/secondHardDisk.vmdk"
Without having more details it's hard to say how to access your vm files. Being that the vendor has only provided FTP access, which may or may not have root access to the host, is a problem. Based on my experience with VMWare there isn't a home directory or mnt directory on the root of the drive but this may be a difference between versions.
The answers from Shane and Gabriel regarding the path /vmfs is correct. Under the /vmfs/volumes folders you should find your datastores that the host can access. Again with FTP access this may not be visible as the vendor could have limited your access. Chances are your VM isn't the only one on the host and they are limiting your security, or pointing you to another server for the FTP. I'd contact the vendor to have them either export the files to an FTP location for you or find another method of connecting to the host. As a side note, if they export the files for you make sure they at least get the .vmdk and the .vmx, not just the .vmdks.