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 2011/01/15 8:55 UTC
Read the original article Hit count: 328

Filed under:
|
|
|

Hello,

I have a vmware esxi 4 server and 2 storage servers (mount as nfs).

Between the storage servers (fedora 14) is made drbd cluster (dual primary) and ocfs2 filesystem, also every server has local partition with ext4 filesystem, both are mounted as nfs on esxi server.

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

on ext4 partition:

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

# md5sum disk-flat.vmdk
0eaebe3138beb32f54ea5de6dfe5a987

on 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 ocfs2 partition it dosn't work. I have a windows on the virtual machine and it freez?s after windows logo. From ext4 partition the virtual machine is worked.

Test with linux (create and install on ext4 partition and copy) 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