VMware Communities
lnkvirus
Contributor
Contributor

Virtual disk contains orphaned grains

I am facing the same problem. My vmx file is corrupt. I tried to create a new vmdk file using the logs, it gave me a bak file too. I used these files to start my virtual machine but it gave an error stating that the vmx file is corrupt. I even tried to run vdiskmanager and repairing the file, but it returned that the file is corrupt and cannot be repaired. Is there anyway in which i can recover my virtual machine. I have all my work stored in it and I don't want to loose it.@continuum

Message was edited by: a.p. - Branched to a new discussion (from https://communities.vmware.com/message/2574543#2574543)

0 Kudos
3 Replies
Dayworker
Enthusiast
Enthusiast

Here is your VMX:

checkpoint.vmState = ""

cleanShutdown = "FALSE"

config.version = "8"

displayName = "Windows Server 2012"

ehci.pciSlotNumber = "34"

ehci.present = "TRUE"

ethernet0.addressType = "generated"

ethernet0.connectionType = "nat"

ethernet0.generatedAddress = "00:0c:29:77:2f:1d"

ethernet0.generatedAddressOffset = "0"

ethernet0.pciSlotNumber = "192"

ethernet0.present = "TRUE"

ethernet0.virtualDev = "e1000e"

ethernet0.wakeOnPcktRcv = "FALSE"

extendedConfigFile = "Windows Server 2012.vmxf"

floppy0.present = "FALSE"

guestOS = "windows8srv-64"

gui.exitOnCLIHLT = "FALSE"

gui.lastPoweredViewMode = "fullscreen"

hpet0.present = "TRUE"

mem.hotadd = "TRUE"

memsize = "3072"

migrate.hostlog = ".\Windows Server 2012-0ceee322.hlog"

monitor.phys_bits_used = "42"

numvcpus = "4"

nvram = "Windows Server 2012.nvram"

pciBridge0.pciSlotNumber = "17"

pciBridge0.present = "TRUE"

pciBridge4.functions = "8"

pciBridge4.pciSlotNumber = "21"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge5.pciSlotNumber = "22"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge6.pciSlotNumber = "23"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

pciBridge7.pciSlotNumber = "24"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

powerType.powerOff = "soft"

powerType.powerOn = "soft"

powerType.reset = "soft"

powerType.suspend = "soft"

sata0.pciSlotNumber = "36"

sata0.present = "TRUE"

sata0:1.deviceType = "cdrom-image"

sata0:1.fileName = "C:\Users\LAVIN\Documents\Final Year Project\Downloads\SfB-E-9319.0-enUS.ISO"

sata0:1.present = "TRUE"

sata0:1.startConnected = "TRUE"

scsi0.pciSlotNumber = "160"

scsi0.present = "TRUE"

scsi0.sasWWID = "50 05 05 6c 4b 11 d1 e0"

scsi0.virtualDev = "lsisas1068"

scsi0:0.fileName = "Windows Server 2012.vmdk"

scsi0:0.present = "TRUE"

scsi0:0.redo = ""

serial0.fileType = "thinprint"

serial0.present = "TRUE"

softPowerOff = "TRUE"

sound.autodetect = "TRUE"

sound.fileName = "-1"

sound.pciSlotNumber = "33"

sound.present = "TRUE"

sound.virtualDev = "hdaudio"

svga.guestBackedPrimaryAware = "TRUE"

tools.remindInstall = "TRUE"

tools.syncTime = "FALSE"

toolsInstallManager.lastInstallError = "0"

toolsInstallManager.updateCounter = "2"

usb.pciSlotNumber = "32"

usb.present = "TRUE"

usb_xhci.pciSlotNumber = "224"

usb_xhci.present = "TRUE"

usb_xhci:4.deviceType = "hid"

usb_xhci:4.parent = "-1"

usb_xhci:4.port = "4"

usb_xhci:4.present = "TRUE"

usb_xhci:6.deviceType = "hub"

usb_xhci:6.parent = "-1"

usb_xhci:6.port = "6"

usb_xhci:6.present = "TRUE"

usb_xhci:6.speed = "2"

usb_xhci:7.deviceType = "hub"

usb_xhci:7.parent = "-1"

usb_xhci:7.port = "7"

usb_xhci:7.present = "TRUE"

usb_xhci:7.speed = "4"

uuid.bios = "56 4d 29 2c 4b 11 d1 ee-04 c2 ed b6 ec 77 2f 1d"

uuid.location = "56 4d a7 5b ae bb 88 29-ec 2a b9 c3 09 a7 6f e1"

vcpu.hotadd = "TRUE"

vhv.enable = "TRUE"

virtualHW.productCompatibility = "hosted"

virtualHW.version = "12"

vm.genid = "7852997396133807699"

vm.genidX = "-678439561331704097"

vmci0.id = "-327733475"

vmci0.pciSlotNumber = "35"

vmci0.present = "TRUE"

vmotion.checkpointFBSize = "4194304"

vmotion.checkpointSVGAPrimarySize = "33554432"

----- Please do not forget to assign reward points, if you find an answer useful.
lnkvirus
Contributor
Contributor

Thanks a lot for the vmx Dayworker . But I am not sure how to go about with the info that you provided? How can I restore my system with the data that you provided me?

0 Kudos
a_p_
Leadership
Leadership

To be able to determine what's needed to check the corrupted "Windows Server 2012-s010.vmdk" file's metadata, please run

dir *.* /one > filelist.txt

in the VM's directory, and then attach the resulting "filelist.txt" as well as the "Windows Server 2012.vmdk" file to a reply post using the "Attach" link in the bottom right corner of the edit box.

André

0 Kudos