VMware Cloud Community
markusk1985
Contributor
Contributor

Clone / Storage vMotion Fails: cannot access *.vmdk

Enviroment:

- vCenter 5.1

- ESXi 5.1

(both latest Build)

- NetApp NFS Sotorage

- NetApp VAAI NAS Plugin 1.8

Problem:

If i try a Clone by vCenter i get the Error "Failed to access *.vmdk" (see Attatchement)

If I try to Clone the VM by vmkfstools:

/vmfs/volumes/ec4e3e51-985cfc6d/TPLW2K8R2DCE_MSDN # vmkfstools -v 9 -i /vmfs/volumes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/TPLW2K8R2DCE_MSDN.vmdk /vmfs/volu

mes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/bck/TPLW2K8R2DCE_MSDN.vmdk_clone

DISKLIB-VMFS  : "/vmfs/volumes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/TPLW2K8R2DCE_MSDN-flat.vmdk" : open successful (285) size = 42949672960, hd = 0. Type 3

DISKLIB-VMFS  : "/vmfs/volumes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/TPLW2K8R2DCE_MSDN-flat.vmdk" : closed.

DISKLIB-VMFS  : "/vmfs/volumes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/TPLW2K8R2DCE_MSDN-flat.vmdk" : open successful (14) size = 42949672960, hd = 282529976. Type 3

DISKLIB-DSCPTR: Opened [0]: "TPLW2K8R2DCE_MSDN-flat.vmdk" (0xe)

DISKLIB-LINK  : Opened '/vmfs/volumes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/TPLW2K8R2DCE_MSDN.vmdk' (0xe): vmfs, 83886080 sectors / 40 GB.

DISKLIB-LIB   : Resuming change tracking.

DISKLIB-LIB   : Opened "/vmfs/volumes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/TPLW2K8R2DCE_MSDN.vmdk" (flags 0xe, type vmfs).

Destination disk format: Thin

Cloning disk '/vmfs/volumes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/TPLW2K8R2DCE_MSDN.vmdk'...

Failed to clone disk: The system cannot find the file specified (25).

____

but the File is accessable (the -flat.vmdk also):

/vmfs/volumes/ec4e3e51-985cfc6d/TPLW2K8R2DCE_MSDN # tail /vmfs/volumes/netapp-07_w2k8_000/TPLW2K8R2DCE_MSDN/TPLW2K8R2DCE_MSDN.vmdk

ddb.adapterType = "lsilogic"

ddb.thinProvisioned = "1"

ddb.geometry.sectors = "63"

ddb.geometry.heads = "255"

ddb.geometry.cylinders = "5221"

ddb.uuid = "60 00 C2 90 1b 59 bb 6e-88 36 ed 03 85 54 75 c3"

ddb.longContentID = "6f127b9a168b3d4d0fd3c3c545abcd44"

ddb.toolsVersion = "9221"

ddb.virtualHWVersion = "9"

ddb.deletable = "true"

/vmfs/volumes/ec4e3e51-985cfc6d/TPLW2K8R2DCE_MSDN #

Any Ideas?

0 Kudos
12 Replies
julienvarela
Commander
Commander

Hi,

I think the vmkernel multiextent module is not enable .

Can you check with this  : esxcli system module list | grep multiextent

If not , for enable the module : esxcli system module load -m multiextent

Regards,

Julien

Regards, J.Varela http://vthink.fr
0 Kudos
markusk1985
Contributor
Contributor

HI,

multiextent is running:

/var/log # esxcli system module list | grep multiextent

multiextent                         true        true

0 Kudos
julienvarela
Commander
Commander

Ok,

Did you try from an other host?

And can you try this command plz :

vmkfstools -i original.vmdk -d thin ../newmachine/copy.vmdk

Regards,

Julien.

Regards, J.Varela http://vthink.fr
0 Kudos
markusk1985
Contributor
Contributor

Hi,

yes I tried the clone from an other Host with same build. Its the same problem.

I tried to specify "-d thin" and "-d zeroedthick", its the same result.

0 Kudos
julienvarela
Commander
Commander

Can you attach the hostd.log file and vmware.log.

Thank you.

Regards,

Julien

Regards, J.Varela http://vthink.fr
0 Kudos
markusk1985
Contributor
Contributor

there is no log output in vmkernel.log or hostd.log when this happens.

0 Kudos
julienvarela
Commander
Commander

and in vmware.log not vmkernel.log ?

Regards,

Julien

Regards, J.Varela http://vthink.fr
0 Kudos
markusk1985
Contributor
Contributor

Oh, sorry.

Its the same... no output.

0 Kudos
ShadyMalatawey
Enthusiast
Enthusiast

I found three different articles describing something like what u face:

1-)The One that mentions Julien's solution.http://blog.acsystem.sk/linux/migrating-esx-thick-disk-to-thin-disk-esx-5-1-is-always-special

2-) virtuallyGhetto: 2gbsparse Disk Format No Longer Working On ESXi 5.1

3-) VM Communities

For number 1 read it again carefully specially he clones on two stages: from original disk to 2gb disks then to the new disk (Used if u converting from thick disk to thin one)..

Wish that I can help with one of these...

Sincerely, Shady Ali El-Malatawey MCITP: Virtualization Administration 2008 VCP5-DCV/DT --- VCAP5-DCA/DCD @ShadyMalatawey https://virtualpharaohs.com
0 Kudos
markusk1985
Contributor
Contributor

Hi ShadyMalatawey

I am familiar with these posts.

But, no one of these solve my problem...

The problem affects all of my VMs on different datastoes (all NFS) and Hosts.

0 Kudos
julienvarela
Commander
Commander

It is really strange that you have nothing on your log because we see an event on your vcenter.

So for more investigation, we need your logs. vmware.log hostd and vpxd.

Thank you for this.

Regards,

Julien.

Regards, J.Varela http://vthink.fr
0 Kudos
markusk1985
Contributor
Contributor

OK,

it seems to be  problem with NetApp VAAI NAS Plugin.

I opened there a community Post:

https://communities.netapp.com/thread/30792

0 Kudos