Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

After delete some snapshots can't boot

$
0
0

Hi to all,

 

I'm new here and I try to do as well as I can...

 

I have an ESX 3.5.0 with a virtual machine called "Inventari", this machine have and Ubuntu 9.04 inside and 4 snapshots:

  1. after clean install
  2. after install apache and mysql
  3. after dev a little bit
  4. day to day use

 

This morning I tried to remove the 4 snapshots using "Delete All" option on Snapshot Manager, but after a while, (when I returns to VI) i see the VM stopped with some errors messages. It don't start again with the error:

 

Cannot open the disk '/vmfs/volumes/xxxxxxxx/Inventari/Inventari-000001.vmdk' or one of the snapshot disks it depends on.

Reason: The parent virtual disk has been modified since the child was created

 

I read (and re-read): http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004232 and http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1007969

 

But nothing works, I can only start the VM in the initial state, losing all changes made the last 3 months (stored in the snapshots).

 

If you look to the vmdk files, there is something that do not fit...
# ls -l
total 20991040
-rw-------    1 root     root        43008 Dec 15 10:41 Inventari-000001-delta.vmdk
-rw-------    1 root     root          234 Dec 15 10:42 Inventari-000001.vmdk
-rw-------    1 root     root     16820224 Dec 15 10:42 Inventari-000004-delta.vmdk
-rw-------    1 root     root          227 Dec 15 10:41 Inventari-000004.vmdk
-rw-r--r--    1 root     root     21474836480 Dec 15 11:24 Inventari-flat.vmdk
-rw-------    1 root     root         8684 Dec 15 10:41 Inventari.nvram
-rw-------    1 root     root        19121 Dec 15 11:24 Inventari-Snapshot84.vmsn
-rw-------    1 root     root          402 Dec 15 10:41 Inventari.vmdk
-rw-------    1 root     root         1854 Dec 15 10:41 Inventari.vmsd
-rwxr-xr-x    1 root     root         2120 Dec 15 10:41 Inventari.vmx
-rw-------    1 root     root          264 Dec 15 10:41 Inventari.vmxf
-rw-r--r--    1 root     root        15875 Dec 15 10:41 vmware-13.log
-rw-r--r--    1 root     root        27508 Dec 15 10:41 vmware-14.log
-rw-r--r--    1 root     root        39027 Dec 15 10:41 vmware-15.log
-rw-r--r--    1 root     root        25630 Dec 15 10:41 vmware-16.log
-rw-r--r--    1 root     root        28863 Dec 15 10:41 vmware-17.log
-rw-r--r--    1 root     root        65971 Dec 15 10:41 vmware-18.log
-rw-r--r--    1 root     root        20730 Dec 15 11:24 vmware.log
-r--------    1 root     root        61440 Dec 15 10:41 vmware-vmx-zdump.000
-r--------    1 root     root        61440 Dec 15 10:41 vmware-vmx-zdump.001

The Snapshot 2 and 3 disappeared????!!!!

 

The parent vmdk file looks ok...

 

[root@esx4 Inventari]# cat Inventari.vmdk

# Disk DescriptorFile

version=1

CID=0c919b74

parentCID=ffffffff

createType="vmfs"

 

# Extent description

RW 41943040 VMFS "Inventari-flat.vmdk"

 

# The Disk Data Base

#DDB

 

ddb.virtualHWVersion = "4"

ddb.uuid = "60 00 C2 9d e0 69 6b c4-c4 d2 aa 8a 09 80 d1 75"

ddb.geometry.cylinders = "2610"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

ddb.toolsVersion = "7302"

 

But no the childs...

 

 

[root@esx4 Inventari]# cat Inventari-000001.vmdk

# Disk DescriptorFile

version=1

CID=61909e84

parentCID=61909e84

createType="vmfsSparse"

parentFileNameHint="Inventari-000004.vmdk"

# Extent description

RW 41943040 VMFSSPARSE "Inventari-000001-delta.vmdk"

 

# The Disk Data Base

#DDB

 

The 01 vmdk snapshot file parentCID (61909e84) is the same as own CID (61909e84) ?!?!?!? Why parentFileNameHint point to Inventari-000004.vmdk instead of Inventari-flat.vmdk ?!?!?!

 

 

 

[root@esx4 Inventari]# cat Inventari-000004.vmdk

# Disk DescriptorFile

version=1

CID=61909e84

parentCID=2d769fc4

createType="vmfsSparse"

parentFileNameHint="Inventari.vmdk"

# Extent description

RW 41943040 VMFSSPARSE "Inventari-000004-delta.vmdk"

 

# The Disk Data Base

#DDB

 

Why parentFileNameHint points to Inventari.vmdk instead of Inventari-000001.vmdk?!?!?

 

I tried the following (O.S. says filesystem is corrupt, but I can access it and see that is in initial state, just after finish O.S. installation):

 

[root@esx4 Inventari]# cat Inventari.vmdk

# Disk DescriptorFile

version=1

CID=0c919b74

parentCID=ffffffff

createType="vmfs"

# Extent description

RW 41943040 VMFS "Inventari-flat.vmdk"

# The Disk Data Base

#DDB

ddb.virtualHWVersion = "4"

ddb.uuid = "60 00 C2 9d e0 69 6b c4-c4 d2 aa 8a 09 80 d1 75"

ddb.geometry.cylinders = "2610"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

ddb.toolsVersion = "7302"

 

[root@esx4 Inventari]# cat Inventari-000001.vmdk

# Disk DescriptorFile

version=1

CID=61909e84

parentCID=0c919b74

createType="vmfsSparse"

parentFileNameHint="Inventari.vmdk"

# Extent description

RW 41943040 VMFSSPARSE "Inventari-000001-delta.vmdk"

# The Disk Data Base

#DDB

 

[root@esx4 Inventari]# cat Inventari-000004.vmdk

# Disk DescriptorFile

version=1

CID=61909e84

parentCID=2d769fc4

createType="vmfsSparse"

parentFileNameHint="Inventari.vmdk"

# Extent description

RW 41943040 VMFSSPARSE "Inventari-000004-delta.vmdk"

# The Disk Data Base

#DDB

 

 

And that (O.S. boots well, but in initial state, O.S. Installation):

 

[root@esx4 Inventari]# cat Inventari.vmdk

# Disk DescriptorFile

version=1

CID=0c919b74

parentCID=ffffffff

createType="vmfs"

# Extent description

RW 41943040 VMFS "Inventari-flat.vmdk"

# The Disk Data Base

#DDB

ddb.virtualHWVersion = "4"

ddb.uuid = "60 00 C2 9d e0 69 6b c4-c4 d2 aa 8a 09 80 d1 75"

ddb.geometry.cylinders = "2610"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

ddb.toolsVersion = "7302"

 

[root@esx4 Inventari]# cat Inventari-000001.vmdk

# Disk DescriptorFile

version=1

CID=61909e84

parentCID=0c919b74

createType="vmfsSparse"

parentFileNameHint="Inventari.vmdk"

# Extent description

RW 41943040 VMFSSPARSE "Inventari-000001-delta.vmdk"

# The Disk Data Base

#DDB

 

[root@esx4 Inventari]# cat Inventari-000004.vmdk

# Disk DescriptorFile

version=1

CID=2d769fc4

parentCID=61909e84

createType="vmfsSparse"

parentFileNameHint="Inventari-000001.vmdk"

# Extent description

RW 41943040 VMFSSPARSE "Inventari-000004-delta.vmdk"

# The Disk Data Base

#DDB

 

 

No luck!!!

 

Anyone have ideas???

 

Thank's in advance!

 

And no... I don't have backups before try to delete snapshot (yes, CONGRATULATIONS MY SON!)...


Viewing all articles
Browse latest Browse all 207710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>