vmware vmdk disk problem

Posted by dmtr on Server Fault See other posts from Server Fault or by dmtr
Published on 2011-01-15T08:10:38Z Indexed on 2012/09/26 9:41 UTC
Read the original article Hit count: 447

Filed under:
|
|
|

I have a VMware ESXi 4 server and 2 storage servers (mounted via nfs).

Between the storage servers (Fedora 14) is a drbd cluster (dual primary) and ocfs2 filesystem; also every server has a local partition with an ext4 filesystem, both are mounted via nfs on the esxi server.

When I tried to copy a virtual machine (naturally it was powered off) from the ext4 partition to the ocfs2 partition, the vmdk total file size is different, but the md5sum is the same.

On the ext4 partition:

# ls -la
total 28492228
-rw-------  1 root root 42949672960 Jan 14 14:46 disk-flat.vmdk

# md5sum disk-flat.vmdk
0eaebe3138beb32f54ea5de6dfe5a987

On the ocfs2 partition:

# ls -la
total 13974660
-rw------- 1 root root 42949672960 Jan 14 16:16 disk-flat.vmdk

# md5sum disk-flat.vmdk
0eaebe3138beb32f54ea5de6dfe5a987

When I power on the virtual machine from the ocfs2 partition it dosn't work. I have a windows on the virtual machine and it freez?s after the windows logo. From the ext4 partition the virtual machine workes.

I tested with linux (created and installed on ext4 partition and then copied to the ocfs2) and the same problem appears.

When I create a virtual machine directly from ocfs2 partition, there are no problems.

I tried to copy via vSphere client, and I have the same problem.

Any suggestions?

© Server Fault or respective owner

Related posts about vmware-esxi

Related posts about nfs