Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Vmware error when copying vmdk file

Posted on 2011-02-28
13
Medium Priority
?
9,873 Views
Last Modified: 2012-12-20
I have a vm with two virtual disks.Both virtual disks are located in the local datastore of the ESXi host.

The virtual machine is just converted from Vmware Server 1.0 to ESXi 4.1 and works fine

I get  error "Expected put message. GOT: ERROR" when i try to copy a .vmdk file using the datastore browser in VCenter 4.1

Problem was happening for both disks of the vm. After running chdsk first disk was copied ok but second disk still gives the error.

I also defragmented disks with no result.

vmware.log in the datastore does not show anything that can lead to the error source
0
Comment
Question by:choracy
  • 7
  • 2
  • 2
  • +2
13 Comments
 
LVL 13

Accepted Solution

by:
bleeuwen earned 300 total points
ID: 35004566
I know the error from http://kb.vmware.com/kb/1019286, but that's when copying the vmx from a powered on machine. Normally it is a error of an used file. Do you copy the files offline (is the vm offline)?
0
 

Author Comment

by:choracy
ID: 35004732
I saw the kb myself but it's a bit different case and does not happen with disk files.

I need this to work with the machine on-line.

Offline copy fails after a while (30%) reporting 'Unexpected end of stream' where online failes immediately with the above message.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 300 total points
ID: 35006950
You cannot copy an online file since it is in use. There is a 'lock' on the file and thus a copy/move, etc. will always fail. If it begins to copy when the VM is off, then fails, my question is do you have enough storage on the destination location? Have you tried to use Converter Standalone tool to convert the whole VM to the new location? Can you just create a new VM and copy data from the current disk to the new one? I know it doesn't address the underlying root cause, but it will get you moving to your goal. If doing some of the other options fails, then there may be something wrong with the virt disk itself.

Regards,
~coolsport00
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:choracy
ID: 35007714
I cannot understand how a disk file can be 'locked'. As I metioned I can copy on-line the two out of three disks on the specific vm.

I tried with the machine powered off, I also stopped vCenter services but I still get the error.

I have plenty of space on the target directory.

I will try to use converter to copy to another host, although I suspect that it will fail as the disk seems that it unexpectetly gives an 'end of file'.

Before that I think is better to create a new disk in the vm and try to copy all contents of the faulty disk the new disk within the host OS. Then delete the original disk chage drive letters and see what happens.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 35007732
Ok...keep us posted.

~coolsport00
0
 

Author Comment

by:choracy
ID: 35011115
Copying to another disk from within OS (Win2003) I got a 'cyclic redundancy check ' error.

The disk stores Oracle data files, so I will attempt to get a dump file and then try to recover the disk.

Searchiing the web  I found SpinRite, anyone can comment?

I think I'll try Convert as well - without much hope.
0
 
LVL 2

Assisted Solution

by:ornered
ornered earned 150 total points
ID: 35092430
I also had problems copying some files using the datastore browser and it turned out that the esx was not patched properly, after applying all "critical host updates" I was able to do the copying.  This may not be your solution but check that you are updated.

Regards
0
 

Author Comment

by:choracy
ID: 35093770
Problem is resolved.

I used a disk repair tool and after I ran it (did some modifications), I could copy the disk files using the browser.

Thank you all for your input..
0
 

Author Closing Comment

by:choracy
ID: 35093783
Problem was not easy to identify
0
 

Expert Comment

by:krisvtx
ID: 38707647
what disk repair tool did you use???
0
 

Author Comment

by:choracy
ID: 38708189
Spinrite. Takes a very long time though.
0
 

Expert Comment

by:krisvtx
ID: 38711182
good to know- thx

what i did is booted the vm with an imaging software and created a tib file - the image process gave an error but i ignored it. I converted that to a new VM and it seems fine and i can copy migrate etc..
0
 

Author Comment

by:choracy
ID: 38711227
You can also use VMware converter to make a new identical vm. Most of the times works.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question