7

After booting the guest system, the shared folders are in sync and all works well. As soon as I make a change to one of the files on my host system (Windows 7), the file on the guest system (Ubuntu) loses its last characters and still has the old version. The actual change is not synced. However, the version on the guest gets truncated. If I delete the file on the host and create a new one with new content, everything is in sync again.

It all started happening when I updated VMWare player 6.0.1. And its happening for my Ubuntu guests only (Redhat works fine).

How can I tell VMware tools to force a sync on the shared folders?

Host: Windows 7
Guest: Ubuntu 12.04.3 LTS
VMWare: 6.0.1 build-1379776
VMWare-Tools: VMwareTools-9.6.1-1378637.tar.gz
  • Thank you for a good description of the problem. Maybe it would help if you describe in more details how is the file truncated. Is it truncated to a multiple of some block length or something else. Does the file length in the directory listing correspond to the truncated length? Does the truncation depend on which part of the file was edited? – pabouk Oct 30 '13 at 8:16
  • The truncation does seam to have something to do with line breaks. They seam to be converted from windows to unix format. The number of characters truncated from the file, seam to depend on the number of line breaks the file has. Though I'm not sure, yet. – JochenJung Oct 30 '13 at 10:19
  • In this case I would check if an text editor on Windows did not silently convert the endlines or did you explicitly convert the endlines? – pabouk Oct 30 '13 at 12:12
  • 1
    I have exactly the same problem after updating to 6.0.1, I found that occasionally files modified on the Windows Host do not show their modifications on the Ubuntu VM. The files are being versioned somehow to the previous version. Restarting the VM brings the files back into alignment, but after a while they drift again after editing on the Windows Host. – user270097 Nov 7 '13 at 2:34
  • 1
    Description from VMWare forums: Some fixes went in to deal with concurrent file accesses for read/write all within the guest OS. However, this appears to intermittently break when the file has changed on the host in-between uses within the guest OS. The guest OS side is failing to note the file change and purge the guest OS cache and reload the file as new. Recommended solution is to downgrade as per Bryan Kohlmeier's answer – Ian Gregory Jan 12 '14 at 16:43
5

I had the same problem. I downngraded my version to 6.0 (6.1 might work) but read this thread: https://communities.vmware.com/message/2313778#2313778

scroll down to the official answer.

The simplest maybe to downgrade back to 6.0.1 tools for now until this gets addressed in the next release of tools. Or as another user stated earlier in the thread, disable the sharing and enable the sharing feature (or manually from a terminal shell) remove and recreate the shared folder mount under /mnt/hgfs.

| improve this answer | |
0

The new version 6.0.2 build-1744117 now fixed the issue for me.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.