Solved

VMWare Linux Commands

Posted on 2010-09-02
7
434 Views
Last Modified: 2012-05-10
Hi All,

I'm trying to run either of the following from the vmware command line, but keep getting an error 'the system cannot find the file specified'.

Can anyone see what I'm doing wrong? The path is definitely correct, but I think I may be missing a syntax.
vmkfstools -i /vmfs/volumes/e00f98e1-2bcc0c91-e7a2-3487611c1557/MY-DATA.domain.com/MY-DATA.domain.com_2.vmdk /vmfs/volumes/4c7ed23a-ae761747-2072-0026554b3490/MY-DATA/MY-DATA.vmdk

vmkfstools -i /vmfs/volumes/VM\ Store\ 1/MY-DATA.domain.com/MY-DATA.domain.com_2.vmdk /vmfs/volumes/VM\ Store\ 2/MY-DATA/MY-DATA.vmdk

Open in new window

0
Comment
Question by:PeterHing
[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
  • 5
  • 2
7 Comments
 
LVL 3

Expert Comment

by:bobalob
ID: 33585625
Try putting the source and destination in single quotes....
0
 
LVL 2

Author Comment

by:PeterHing
ID: 33585643
Hi bobalob,

Still no joy: DiskLib_Check() failed for source disk The system cannot find the file specified (25).
0
 
LVL 3

Expert Comment

by:bobalob
ID: 33585758
how big is this file?:

/vmfs/volumes/VM\ Store\ 1/MY-DATA.domain.com/MY-DATA.domain.com_2.vmdk

and is there a corresponding -flat.vmdk file?
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 3

Expert Comment

by:bobalob
ID: 33585771
also you can cat the descriptor file (it will usually be about 500bytes-a couple of K) in there it should have a pointer to the -flat.vmdk file. Check to see it's pointing to the correct file.
0
 
LVL 3

Expert Comment

by:bobalob
ID: 33585852
also, does the folder '/vmfs/volumes/VM\ Store\ 2/MY-DATA' exist yet? as it won't create it - you need to make it before by doing:

mkdir /vmfs/volumes/VM\ Store\ 2/MY-DATA
0
 
LVL 2

Author Comment

by:PeterHing
ID: 33600983
I didn't realise the path was case sensitive. This is why I was getting all thr trouble! The path existed, it just wanted it defined exactly by case. bobalob, thank you for all your input, i'm sorry after all that, this is what it came down to!
0
 
LVL 3

Accepted Solution

by:
bobalob earned 250 total points
ID: 33602467
you can use tab completion on ESX bash so you won't need to type the whole path - this will ensure you have used correct case also.

ie. start typing the path like this:

vmkfst[tab] -i /vmf[tab]/vol[tab]/MY[tab] ...
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware Fail Over 6 53
Samsung Dex 3 49
Can't "Unset" Proxy in Apache headers for PCI compliance... 4 43
Vcenter and vSphere licensing renewal question ? 10 62
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
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

726 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