VMware Cloud Community
tatung70
Contributor
Contributor

Veeam FastSCP copy

I used Veeams FastSCp to move an entire VMs directory from one host to another host. It powered on without issues, but when I tried to connect via Vmware Console using VirtualCenter client, I got an error stating I did not have access to connect.

All files that I copied using Veeam FastSCP have -rw-rr except for the swap file of the Vm, which has -rw-------. Can anyone tell me how to fix this?

Also, the config file, *.vmx, is not marked as executable. Do I just do a chmod a+x filename ?

Reply
0 Kudos
3 Replies
esiebert7625
Immortal
Immortal

Who is the owner of the files? Is it root?

My vmx file is setup like :rwxr xr x

Most of my other files are just:rw

The logs are all:rw r r

fyi...it's best to import your vmdk file with vmkfstools -i after you copy it to get the best performance for the VM.

Using vmkfstools instead of scp to copy virtual disks - http://www.vmware.com/community/thread.jspa?messageID=704200

Message was edited by:

esiebert7625

Reply
0 Kudos
jccoca
Hot Shot
Hot Shot

Yes, mark the config file as executable with chmod.

Reply
0 Kudos
Max_am
Contributor
Contributor

To make this more convenient you can run the following command:

find "directory name" -type f -name "*.vmx" -exec chmod 755 \{} \;

This will find all the vmx files in your directory and mark them rwx r-x r-x

Reply
0 Kudos