Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Problem moving Debian guest created on Fusion to ESXi 5

$
0
0

***Newbie alert***

Hi all.

 

I'm learning to use ESXi 5.1 run from a USB key on a home "server" (Lenovo Xeon tower 18GB RAM)

 

I've created a debian wheezy (7.0) guest on Fusion 5.0.3.  As I read in the documentation, you should be able to move vms between vmware clients.

 

I created the vm (Debian 7 64 bit) with Debian 6 64 bit profile as there isn't a Debian 7 profile.

 

The new vm runs fine in Fusion 5.0.3.

 

I opened vsphere client and moved the "Debian\ 6\ 64-bit.vmwarevm" folder from the mac (OSX 10.8.x) using copy folder in vsphere.

 

No problem on the move. 

 

I add to inventory by selecting the ".vmx" file in the "Debian\ 6\ 64-bit.vmwarevm" folder.  It adds OK.

 

I check the virtual machine properties and they look OK.  I want to add/change the network adapter to the ESXi network switch.

 

But I can't add/change networking or or start the vm.  The file seems to be locked.


I ssh to the exsi and check the permissions on the files in the folder and compare to another Debian vm that runs fine on my ESXi.

 

I see that the copy created incorrect permissions.   This is probably a bug in vsphere as with these permissions, ESXi can't run the guest anyway.

-rw------- 1 root root 2553 May 30 23:09 Debian 6 64-bit.vmx

-rw------- 1 root root 0 May 30 23:09 Debian 6 64-bit.vmsd

rw------- 1 root root 354143 May 30 23:13 vmware-0.log

-rw------- 1 root root 360004 May 30 23:13 vmware-1.log

-rw------- 1 root root 352495 May 30 23:13 vmware-2.log

-rw------- 1 root root 355371 May 30 23:13 vmware.log

 

The other running Debian vm (downloaded this from TurnkeyLinux) has following permissions

700 for the .vmx file

644 for the .vmsd file

644 for all the .log files.

So I change the permissions.

 

After changing the permissions, I try again to change network or start.  I get the following error.

"Cannot open the configuration file /vmfs/volumes/hd/Debian 6 64-bit.vmwarevm/Debian 6 64-bit.vmx.

An error occurred while opening configuration file "/vmfs/volumes/hd/Debian 6 64-bit.vmwarevm/Debian 6 64-bit.vmx": Error. "

I can't get the vm to run on ESXi.

 

Additional note:

I checked the original guest on the mac.  It has following permissions:

But in Fusion I see:

-rw-r--r--   1 user  user           0 27 May 14:13 Debian 6 64-bit.vmsd

-rwxr-xr-x   1 user  user        2555 31 May 08:57 Debian 6 64-bit.vmx

 

Now I'm totally confused.

 

What have I done wrong?

 

What should I do to get this to work?


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>