for id in ` vim-cmd vmsvc/getallvms |awk '{print $1}'`
> do
> echo $id
> vim-cmd vmsvc/device.getdevices $id|egrep -i "vmdk|compat"
> done
Vmid
(vim.fault.NotFound) {
dynamicType =
faultCause = (vmodl.MethodFault) null,
msg = "Unable to find a VM corresponding to "Vmid"",
}
112
fileName = "[NTNX-1-local-ds-NTNX] ServiceVM-1.12_Ubuntu/ServiceVM-1.12_Ubuntu.vmdk",
fileName = "[NTNX-1-local-ds-NTNX] rdms/t10.ATA_____ST91000640NS________________________________________9XG056HW.vmdk",
compatibilityMode = "physicalMode",
fileName = "[NTNX-1-local-ds-NTNX] rdms/t10.ATA_____ST91000640NS________________________________________9XG05B8D.vmdk",
compatibilityMode = "physicalMode",
fileName = "[NTNX-1-local-ds-NTNX] rdms/t10.ATA_____ST91000640NS________________________________________9XG068F8.vmdk",
compatibilityMode = "physicalMode",
fileName = "[NTNX-1-local-ds-NTNX] rdms/t10.ATA_____ST91000640NS________________________________________9XG066HX.vmdk",
compatibilityMode = "physicalMode",
fileName = "[NTNX-1-local-ds-NTNX] rdms/t10.ATA_____ST91000640NS________________________________________9XG04NQP.vmdk",
compatibilityMode = "physicalMode",
128
fileName = "[NTNX-1-local-ds-NTNX] NTNX-vCMA/NTNX-vCMA.vmdk",
192
fileName = "[NTNX-1-local-ds-NTNX] vMA_Customized_Gold_Image/vMA_Customized.vmdk",
fileName = "[NTNX-1-local-ds-NTNX] vMA_Customized_Gold_Image/vMA_Customized_Gold_Image.vmdk",
208
fileName = "[Nutanix-Datastore-1] PDS-PGP/PDS-PGP.vmdk",
240
fileName = "[Nutanix-Datastore-1] pds-wdm1/pds-wdm1.vmdk",
304
fileName = "[Nutanix-Datastore-1] PDS-WebTest/PDS-WebTest.vmdk",
336
fileName = "[Nutanix-Datastore-1] PDS-MSX6/PDS-MSX6.vmdk",
compatibilityMode = "virtualMode",
fileName = "[Nutanix-Datastore-1] PDS-MSX6/PDS-MSX6_1.vmdk",
compatibilityMode = "virtualMode",
fileName = "[Nutanix-Datastore-1] PDS-MSX6/PDS-MSX6_2.vmdk",
compatibilityMode = "virtualMode",
fileName = "[Nutanix-Datastore-1] PDS-MSX6/PDS-MSX6_3.vmdk",
compatibilityMode = "virtualMode",
fileName = "[Nutanix-Datastore-1] PDS-MSX6/PDS-MSX6_4.vmdk",
compatibilityMode = "virtualMode",
400
fileName = "[Nutanix-Datastore-1] PDS-SQL7/PDS-SQL7.vmdk",
compatibilityMode = "virtualMode",
fileName = "[Nutanix-Datastore-1] PDS-SQL7/PDS-SQL7_1.vmdk",
compatibilityMode = "virtualMode",
fileName = "[Nutanix-Datastore-1] PDS-SQL7/PDS-SQL7_2.vmdk",
compatibilityMode = "virtualMode",
416
fileName = "[Nutanix-Datastore-1] PDS-DC11/PDS-DC11.vmdk",
compatibilityMode = "virtualMode",
fileName = "[Nutanix-Datastore-1] PDS-DC11/PDS-DC11_1.vmdk",
compatibilityMode = "virtualMode",
80
fileName = "[NTNX-1-local-ds-NTNX] W2k8_vCenter/w2k8_vcenter_1.vmdk"
No comments:
Post a Comment