Vmsvc/get.filelayout

From VI-Toolkit
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

vimsh vmsvc/get.filelayout

Usage: get.filelayout vmid

Show the list of files for this virtual machine.

See also vmsvc/getallvms to get a lits of all VMs

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /vmsvc/get.filelayout 96
(vim.vm.FileInfo) {
   dynamicType = <unset>,
   vmPathName = "[store] Trustix/Trustix.vmx",
   snapshotDirectory = "[store] Trustix",
   suspendDirectory = "[store] Trustix",
   logDirectory = "[store] Trustix",
}
(vim.vm.FileLayout) {
   dynamicType = <unset>,
   configFile = (string) [
      "Trustix.vmsd",
      "Trustix.vmxf",
      "Trustix.nvram"
   ],
   logFile = (string) [
      "vmware-1.log",
      "vmware-2.log",
      "vmware.log"
   ],
   disk = (vim.vm.FileLayout.DiskLayout) [
      (vim.vm.FileLayout.DiskLayout) {
         dynamicType = <unset>,
         key = 2000,
         diskFile = (string) [
            "[store] Trustix/Trustix.vmdk"
          ],
      }
   ],
   swapFile = <unset>,
 }