Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Problem transferring vmware image using winscp

Posted on 2009-04-01
12
Medium Priority
?
1,662 Views
Last Modified: 2012-05-06
I have taken an image of a machine using storage craft and converted that image to a .vdmk image however when I transfer that image from the current server to the new vmware server using winscp it gets nearly all the way but errors on could not rename server.vmdk.filepart to server.vmdk, not sure why this is happening?
0
Comment
Question by:Sid_F
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 11

Expert Comment

by:rvthost
ID: 24043049
There's an easy workaround...easy enough that I never dug into this to determine the core problem.  But go ahead and do your WinSCP and when you get the error, just click the Abort button.  Then putty into the ESX server that you were copying the image to, change directory to where you copied the file to, and do a "mv" to rename it and it works just fine.

In summary:

- Copy with WinSCP.
- Putty into ESX
- cd /vmfs/volumes/folder/folder2...etc.
- mv filename.vmdk.filepart filename.vmdk

Done.
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 24043905
Also, I recommend veeams, fastscp tool. it's free and is definitely faster that WinSCP from my own experience.
www.veeam.com
 
0
 
LVL 6

Author Comment

by:Sid_F
ID: 24045072
Sorry I'm a complete novice at commands for vmware, after I login what are the exact command to browse through the folder as i keep getting command not found
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 11

Expert Comment

by:rvthost
ID: 24045158
No problem.  The commands above should be close, depending on what your file structure looks like.  

1.  cd /  (change directory to root)
2. ls (list the directories, do you see 'vmfs'?)
3.  cd /vmfs
4.  ls (if you want to see what directories are there)

continue doing so until you drill into the folder where your VMDK resides.  Often it will look like "cd /vmfs/volumes/YourSANLun/Win2003"

Once there, do an 'ls' again and you should see your filename.vmdk.filepart.  So then it's just:

mv filename.vmdk.filepart filename.vmdk
0
 
LVL 6

Author Comment

by:Sid_F
ID: 24045189
[root@localhost root]# cd /vmfs
[root@localhost vmfs]# ls
devices  volumes
[root@localhost vmfs]# cd /volumes
-bash: cd: /volumes: No such file or directory
[root@localhost vmfs]#


Not sure why i get no such file or directory
0
 
LVL 11

Expert Comment

by:rvthost
ID: 24045224
ahh, drop the front slash before you do volumes.  The slash in Linux indicates you are beginning from the root level.

cd /vmfs
cd volumes

OR  cd /vmfs/volumes  should also work if it's all together.
0
 
LVL 42

Expert Comment

by:Paul Solovyovsky
ID: 24045301
Have you tried vConverter? You should be able to point to the .SPF file as the source and the ESX host as the destination.
0
 
LVL 6

Author Comment

by:Sid_F
ID: 24047395
Ok I renamed the file correctly but when I go to create a new virtual machine and say use existing virtual image and browse to the database it can't find the .vmdk file, I have browsed direct to the database and can see the file, its like it doesn't recognise the file as a vmdk file?
0
 
LVL 11

Expert Comment

by:rvthost
ID: 24048527
Not sure about that one; never had that happen.  At this point, I would try this free tool that was previously mentioned to copy the file again:

http://www.veeam.com/vmware-esxi-fastscp.html
0
 
LVL 6

Author Comment

by:Sid_F
ID: 24050712
I have used fastscp to transfer files between vmware server and it works extremely well however the vmware images I am transferring sit in a running vmware image so fastscp doesn't have the option to copy
0
 
LVL 6

Author Comment

by:Sid_F
ID: 24061060
Ok, here is the process, installed storage craft took image of xp pro laptop and saved image onto another partition on laptop. Used vmware converter to convert the image.spf file to server.vmdk and saved this onto a network drive belonging to a windows 2003 server.

Installed winscp on the windows 2003 server and transferred the files
image.vmdk
image.vmx
folder called image.vmdk.lck this contains a small file called M43220.lck (not sure the relevance of this file.

Transfer appears to go fine but errors giving permissions problem and the file then changes to image.vmdk.filepart, i have renamed the image using the vmware commands to image.vmdk and checked the points in the image.vmx file which are both correct but when creating a new machine it still does not recognise the file as a virutal machine file

0
 
LVL 6

Accepted Solution

by:
Sid_F earned 0 total points
ID: 25334366
No solution
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

618 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