dmtr
Contributor
Contributor

vmdk flat disk problem

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 ?

0 Kudos
2 Replies
DSTAVERT
Immortal
Immortal

This isn't really an ESX(i) vSphere issue. I would try looking for answers on some Linux cluster / drbd forums.

-- David -- VMware Communities Moderator
0 Kudos
idle-jam
Immortal
Immortal

like DSTAVERT mentioned, you will have higher chance of reply in a lInux forum as there are more experts on that field.

0 Kudos