VMware Cloud Community
PMFSilva
Contributor
Contributor

Delta vmdk after datastore corruption

One of the disks from our SUN has gone dead and broke completly a LUN that was being presented to our hosts.

As it had no important data we are not worried with the data itself, but we experienced a strange behaviour. It seems that as the datastore that contained disk scsi:3 was not available, the host reatached scsi:3 to a snapshot of disk scsi:0, that coincidently had the same name and size, with the difference that it was stored on another location, generating a delta vmdk.

After that, i deleted the scsi:3 disk using ther virtual maching properties page on VCented.

I have been using ghettoVCB as a backup, and at this moment i'm unable to run it, since it complains it has snapshots. Looking under VCenter on snapshot manager, I have no snapshots definied. I even tried to make a snapshot, and delete all has stated on other posts. The task completes, but ghettoVCB still complaining about having Snapshots.

I'm attaching the current diretory listing, as well as the vmx file previous to the datastore problem, and the current one.

Diretory Listing:

/vmfs/volumes/4e64a896-611cf633-1b91-001cc4c1eaea/vmsrv01.4x4.local.w2k8.bg # ls -al

drwxr-xr-x    1 root     root               3780 Jun  1 22:40 .

drwxr-xr-t    1 root     root               1260 Sep 10  2011 ..

-rw-------    1 root     root           16887808 May 30 08:18 vmsrv01.4x4.local.w2k8.bg-000002-delta.vmdk

-rw-------    1 root     root                354 May 29 23:20 vmsrv01.4x4.local.w2k8.bg-000002.vmdk

-rw-r--r--    1 root     root                 13 Mar 28  2013 vmsrv01.4x4.local.w2k8.bg-aux.xml

-rw-------    1 root     root            3408384 Jun  1 22:40 vmsrv01.4x4.local.w2k8.bg-ctk.vmdk

-rw-r--r--    1 root     root                 37 Jul 26  2013 vmsrv01.4x4.local.w2k8.bg-d1be0ad6.hlog

-rw-------    1 root     root        10737418240 Jul 26  2013 vmsrv01.4x4.local.w2k8.bg-d1be0ad6.vswp

-rw-------    1 root     root        55834574848 Jun  5 11:39 vmsrv01.4x4.local.w2k8.bg-flat.vmdk

-rw-------    1 root     root               8684 Sep  5  2013 vmsrv01.4x4.local.w2k8.bg.nvram

-rw-------    1 root     root                715 Dec 11  2011 vmsrv01.4x4.local.w2k8.bg.vmdk

-rw-r--r--    1 root     root                 45 Jun  1 22:39 vmsrv01.4x4.local.w2k8.bg.vmsd

-rwxr-xr-x    1 root     root               4399 Jun  1 22:39 vmsrv01.4x4.local.w2k8.bg.vmx

-rw-r--r--    1 root     root                280 Jun  1 16:31 vmsrv01.4x4.local.w2k8.bg.vmxf

-rw-------    1 root     root            8126976 Jun  1 22:40 vmsrv01.4x4.local.w2k8.bg_1-ctk.vmdk

-rw-------    1 root     root       133143986176 Jun  5 11:39 vmsrv01.4x4.local.w2k8.bg_1-flat.vmdk

-rw-------    1 root     root                720 Sep  8  2011 vmsrv01.4x4.local.w2k8.bg_1.vmdk

-rw-------    1 root     root            2621952 Jun  1 22:40 vmsrv01.4x4.local.w2k8.bg_2-ctk.vmdk

-rw-------    1 root     root        42949672960 Jun  5 11:33 vmsrv01.4x4.local.w2k8.bg_2-flat.vmdk

-rw-------    1 root     root                718 Sep  8  2011 vmsrv01.4x4.local.w2k8.bg_2.vmdk

-rw-r--r--    1 root     root             152804 Jul 26  2012 vmware-10.log

-rw-r--r--    1 root     root             791170 Dec  7  2012 vmware-11.log

-rw-r--r--    1 root     root            1417126 Mar 28  2013 vmware-12.log

-rw-r--r--    1 root     root              83086 Jul 26  2013 vmware-13.log

-rw-r--r--    1 root     root            1047046 Apr 27  2012 vmware-8.log

-rw-r--r--    1 root     root             863911 Jul 25  2012 vmware-9.log

-rw-r--r--    1 root     root            1485602 Mar 11 02:53 vmware.log

/vmfs/volumes/4e64a896-611cf633-1b91-001cc4c1eaea/vmsrv01.4x4.local.w2k8.bg #

Current VM VMX:

/vmfs/volumes/4e64a896-611cf633-1b91-001cc4c1eaea/vmsrv01.4x4.local.w2k8.bg # cat vmsrv01.4x4.local.w2k8.bg.vmx

.encoding = "UTF-8"

config.version = "8"

virtualHW.version = "7"

pciBridge0.present = "true"

pciBridge4.present = "true"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "true"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "true"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "true"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "true"

nvram = "vmsrv01.4x4.local.w2k8.bg.nvram"

virtualHW.productCompatibility = "hosted"

powerType.powerOff = "soft"

powerType.powerOn = "hard"

powerType.suspend = "hard"

powerType.reset = "soft"

displayName = "vmsrv01.4x4.local.w2k8.bg"

extendedConfigFile = "vmsrv01.4x4.local.w2k8.bg.vmxf"

floppy0.present = "true"

numvcpus = "4"

scsi0.present = "true"

scsi0.sharedBus = "none"

scsi0.virtualDev = "lsisas1068"

memsize = "10240"

scsi0:0.present = "true"

scsi0:0.fileName = "vmsrv01.4x4.local.w2k8.bg.vmdk"

scsi0:0.deviceType = "scsi-hardDisk"

scsi0:1.present = "true"

scsi0:1.fileName = "vmsrv01.4x4.local.w2k8.bg_1.vmdk"

scsi0:1.deviceType = "scsi-hardDisk"

scsi0:2.present = "true"

scsi0:2.fileName = "vmsrv01.4x4.local.w2k8.bg_2.vmdk"

scsi0:2.deviceType = "scsi-hardDisk"

ide0:0.present = "true"

ide0:0.clientDevice = "TRUE"

ide0:0.deviceType = "cdrom-raw"

ide0:0.startConnected = "FALSE"

floppy0.startConnected = "false"

floppy0.fileName = ""

floppy0.clientDevice = "true"

ethernet0.present = "true"

ethernet0.virtualDev = "e1000"

ethernet0.wakeOnPcktRcv = "false"

ethernet0.networkName = "BG LAN"

ethernet0.addressType = "vpx"

ethernet0.generatedAddress = "00:50:56:86:00:02"

disk.EnableUUID = "true"

tools.syncTime = "FALSE"

guestOS = "longhorn-64"

uuid.bios = "42 06 72 c5 0b 16 a9 43-be 03 19 d7 18 5a 7a f1"

vc.uuid = "50 06 6b 2d eb 08 e0 fe-29 b2 cd 27 6a d1 96 cb"

snapshot.action = "keep"

sched.cpu.min = "0"

sched.cpu.units = "mhz"

sched.cpu.shares = "normal"

sched.mem.minsize = "0"

sched.mem.shares = "normal"

tools.upgrade.policy = "manual"

deploymentPlatform = "windows"

evcCompatibilityMode = "TRUE"

guestCPUID.0 = "0000000a756e65476c65746e49656e69"

guestCPUID.1 = "000006f100010800800022010febfbff"

guestCPUID.80000001 = "00000000000000000000000120100800"

hostCPUID.0 = "0000000a756e65476c65746e49656e69"

hostCPUID.1 = "000006f7000408000004e3bdbfebfbff"

hostCPUID.80000001 = "00000000000000000000000120100800"

sched.swap.derivedName = "/vmfs/volumes/4e64a896-611cf633-1b91-001cc4c1eaea/vmsrv01.4x4.local.w2k8.bg/vmsrv01.4x4.local.w2k8.bg-d1be0ad6.vswp"

scsi0:0.redo = ""

scsi0:1.redo = ""

scsi0:2.redo = ""

tools.remindInstall = "FALSE"

userCPUID.0 = "0000000a756e65476c65746e49656e69"

userCPUID.1 = "000006f7000408000004e3bdbfebfbff"

userCPUID.80000001 = "00000000000000000000000120100800"

ethernet0.startConnected = "TRUE"

sched.cpu.affinity = "all"

cpuid.80000001.eax = "--------------------------------"

cpuid.80000001.eax.amd = "--------------------------------"

cpuid.80000001.ebx = "--------------------------------"

cpuid.80000001.ebx.amd = "--------------------------------"

cpuid.80000001.ecx = "--------------------------------"

cpuid.80000001.ecx.amd = "--------------------------------"

cpuid.80000001.edx = "-----------H--------------------"

cpuid.80000001.edx.amd = "-----------H--------------------"

vmci0.id = "408582897"

uuid.location = "56 4d 8f 75 7f f3 ef 62-eb 39 c4 f3 08 96 44 c0"

cleanShutdown = "FALSE"

replay.supported = "FALSE"

unity.wasCapable = "FALSE"

replay.filename = ""

pciBridge0.pciSlotNumber = "17"

pciBridge4.pciSlotNumber = "21"

pciBridge5.pciSlotNumber = "22"

pciBridge6.pciSlotNumber = "23"

pciBridge7.pciSlotNumber = "24"

scsi0.pciSlotNumber = "160"

ethernet0.pciSlotNumber = "32"

vmci0.pciSlotNumber = "33"

scsi0.sasWWID = "50 05 05 65 0b 16 a9 40"

vmotion.checkpointFBSize = "4194304"

ide0:0.fileName = "/usr/lib/vmware/isoimages/windows.iso"

migrate.hostlog = "./vmsrv01.4x4.local.w2k8.bg-d1be0ad6.hlog"

sched.scsi0:0.shares = "normal"

sched.scsi0:0.throughputCap = "off"

scsi0:0.ctkEnabled = "TRUE"

scsi0:1.ctkEnabled = "TRUE"

scsi0:2.ctkEnabled = "TRUE"

ctkEnabled = "TRUE"

scsi0:3.deviceType = "scsi-hardDisk"

scsi0:4.deviceType = "scsi-hardDisk"

scsi0:5.deviceType = "scsi-hardDisk"

scsi0:3.fileName = "vmsrv01.4x4.local.w2k8.bg-000002.vmdk"

scsi0:3.mode = "persistent"

scsi0:3.ctkEnabled = "TRUE"

scsi0:3.present = "FALSE"

scsi0:3.redo = ""

VMX before datastore problem:

.encoding = "UTF-8"

config.version = "8"

virtualHW.version = "7"

pciBridge0.present = "true"

pciBridge4.present = "true"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "true"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "true"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "true"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "true"

nvram = "vmsrv01.4x4.local.w2k8.bg.nvram"

virtualHW.productCompatibility = "hosted"

powerType.powerOff = "soft"

powerType.powerOn = "hard"

powerType.suspend = "hard"

powerType.reset = "soft"

displayName = "vmsrv01.4x4.local.w2k8.bg"

extendedConfigFile = "vmsrv01.4x4.local.w2k8.bg.vmxf"

floppy0.present = "true"

numvcpus = "4"

scsi0.present = "true"

scsi0.sharedBus = "none"

scsi0.virtualDev = "lsisas1068"

memsize = "10240"

scsi0:0.present = "true"

scsi0:0.fileName = "vmsrv01.4x4.local.w2k8.bg.vmdk"

scsi0:0.deviceType = "scsi-hardDisk"

scsi0:1.present = "true"

scsi0:1.fileName = "vmsrv01.4x4.local.w2k8.bg_1.vmdk"

scsi0:1.deviceType = "scsi-hardDisk"

scsi0:2.present = "true"

scsi0:2.fileName = "vmsrv01.4x4.local.w2k8.bg_2.vmdk"

scsi0:2.deviceType = "scsi-hardDisk"

ide0:0.present = "true"

ide0:0.clientDevice = "TRUE"

ide0:0.deviceType = "cdrom-raw"

ide0:0.startConnected = "FALSE"

floppy0.startConnected = "false"

floppy0.fileName = ""

floppy0.clientDevice = "true"

ethernet0.present = "true"

ethernet0.virtualDev = "e1000"

ethernet0.wakeOnPcktRcv = "false"

ethernet0.networkName = "BG LAN"

ethernet0.addressType = "vpx"

ethernet0.generatedAddress = "00:50:56:86:00:02"

disk.EnableUUID = "true"

tools.syncTime = "FALSE"

guestOS = "longhorn-64"

uuid.bios = "42 06 72 c5 0b 16 a9 43-be 03 19 d7 18 5a 7a f1"

vc.uuid = "50 06 6b 2d eb 08 e0 fe-29 b2 cd 27 6a d1 96 cb"

snapshot.action = "keep"

sched.cpu.min = "0"

sched.cpu.units = "mhz"

sched.cpu.shares = "normal"

sched.mem.minsize = "0"

sched.mem.shares = "normal"

tools.upgrade.policy = "manual"

deploymentPlatform = "windows"

evcCompatibilityMode = "TRUE"

guestCPUID.0 = "0000000a756e65476c65746e49656e69"

guestCPUID.1 = "000006f100010800800022010febfbff"

guestCPUID.80000001 = "00000000000000000000000120100800"

hostCPUID.0 = "0000000a756e65476c65746e49656e69"

hostCPUID.1 = "000006f7000408000004e3bdbfebfbff"

hostCPUID.80000001 = "00000000000000000000000120100800"

sched.swap.derivedName = "/vmfs/volumes/4e64a896-611cf633-1b91-001cc4c1eaea/vmsrv01.4x4.local.w2k8.bg/vmsrv01.4x4.local.w2k8.bg-d1be0ad6.vswp"

scsi0:0.redo = ""

scsi0:1.redo = ""

scsi0:2.redo = ""

tools.remindInstall = "FALSE"

userCPUID.0 = "0000000a756e65476c65746e49656e69"

userCPUID.1 = "000006f7000408000004e3bdbfebfbff"

userCPUID.80000001 = "00000000000000000000000120100800"

ethernet0.startConnected = "TRUE"

sched.cpu.affinity = "all"

cpuid.80000001.eax = "--------------------------------"

cpuid.80000001.eax.amd = "--------------------------------"

cpuid.80000001.ebx = "--------------------------------"

cpuid.80000001.ebx.amd = "--------------------------------"

cpuid.80000001.ecx = "--------------------------------"

cpuid.80000001.ecx.amd = "--------------------------------"

cpuid.80000001.edx = "-----------H--------------------"

cpuid.80000001.edx.amd = "-----------H--------------------"

vmci0.id = "408582897"

uuid.location = "56 4d 8f 75 7f f3 ef 62-eb 39 c4 f3 08 96 44 c0"

cleanShutdown = "FALSE"

replay.supported = "FALSE"

unity.wasCapable = "FALSE"

replay.filename = ""

pciBridge0.pciSlotNumber = "17"

pciBridge4.pciSlotNumber = "21"

pciBridge5.pciSlotNumber = "22"

pciBridge6.pciSlotNumber = "23"

pciBridge7.pciSlotNumber = "24"

scsi0.pciSlotNumber = "160"

ethernet0.pciSlotNumber = "32"

vmci0.pciSlotNumber = "33"

scsi0.sasWWID = "50 05 05 65 0b 16 a9 40"

vmotion.checkpointFBSize = "4194304"

ide0:0.fileName = "/usr/lib/vmware/isoimages/windows.iso"

migrate.hostlog = "./vmsrv01.4x4.local.w2k8.bg-d1be0ad6.hlog"

sched.scsi0:0.shares = "normal"

sched.scsi0:0.throughputCap = "off"

scsi0:0.ctkEnabled = "TRUE"

scsi0:1.ctkEnabled = "TRUE"

scsi0:2.ctkEnabled = "TRUE"

ctkEnabled = "TRUE"

scsi0:3.deviceType = "scsi-hardDisk"

scsi0:4.deviceType = "scsi-hardDisk"

scsi0:5.deviceType = "scsi-hardDisk"

scsi0:3.fileName = "/vmfs/volumes/5052f396-1eec632c-521b-001a4bd003be/vmsrv01.4x4.local.w2k8.bg/vmsrv01.4x4.local.w2k8.bg.vmdk"

scsi0:3.mode = "persistent"

scsi0:3.ctkEnabled = "TRUE"

scsi0:3.present = "TRUE"

scsi0:3.redo = ""

I still have not powered off the VM since the problem appeared.

My question is if my VM is in a consistent state and if I can power off it and safely remove vmsrv01.4x4.local.w2k8.bg-000002.vmdk.

Regards

Reply
0 Kudos
0 Replies