?
Solved

Problem transferring vmware image using winscp

Posted on 2009-04-01
12
Medium Priority
?
1,635 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
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
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:paulsolov
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

762 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