[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1999
  • Last Modified:

Expand a vmdk in virtual server 2

Hi folks, i am trying to expand the hard drive of one of my virtual machines , i can find my .vmdk , and I can find my vmware-vdiskmanager , but I think i'm getting something wrong in the syntax im using in command prompt , can someone please help me ?? you can see the syntax i'm using below....


The virtual hdd i want to work on is in the folder below:

F:\Virtual Machines\RAVS01

and the vmware disk manager is located here:


C:\Program Files (x86)\vmware\vmware server\vmware-vdiskmanager.exe


these are my attempts .....



C:\Users\Ross Griffin.RALONUK0001>"F:\Virtual Machines\RAVS01>"C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe -x 40GB RAVS01.vmdk
The filename, directory name, or volume label syntax is incorrect.

C:\Users\Ross Griffin.RALONUK0001>F:\Virtual Machines\RAVS01>"C:\Program Files (
x86)\vmware\vmware server\vmware-vdiskmanager.exe -x 40GB RAVS01.vmdk
'F:\Virtual' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Ross Griffin.RALONUK0001>"F:\Virtual Machines\RAVS01>C:\Program Files (
x86)\vmware\vmware server\vmware-vdiskmanager.exe -x 40GB RAVS01.vmdk
The filename, directory name, or volume label syntax is incorrect.

C:\Users\Ross Griffin.RALONUK0001>"F:\Virtual Machines\RAVS01>"C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe -x 40GB RAVS01.vmdk
The filename, directory name, or volume label syntax is incorrect.

0
frsupport
Asked:
frsupport
  • 8
  • 6
  • 4
2 Solutions
 
ryder0707Commented:
I think you missed the 2nd "

"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager.exe" - x 40GB your.vmdk
0
 
ryder0707Commented:
Sorry change Workstation to server :)
0
 
MinoDCCommented:
Try this:
Open the Promtp and digit:

cd "F:\Virtual Machines\RAVS01"   (enter)
f: (enter)
"C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe" -x 40GB RAVS01.vmdk

p.s.:The difference is that you did not close the quotes


0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
frsupportAuthor Commented:


C:\Users\Ross Griffin.RALONUK0001>"F:\Virtual Machines\RAVS01>"C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe" -x 40GB RAVS01.vmdk
The filename, directory name, or volume label syntax is incorrect.
 

C:\Users\Ross Griffin.RALONUK0001>"F:\Virtual Machines\RAVS01>"C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe"-x 40GB RAVS01.vmdk
The filename, directory name, or volume label syntax is incorrect.
C:\Users\Ross Griffin.RALONUK0001>
0
 
MinoDCCommented:
try entering first in the directory F, and then run the command
0
 
MinoDCCommented:
you did not close the quotes:;

"F:\Virtual Machines\RAVS01>""C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe"-x 40GB RAVS01.vmdk
0
 
frsupportAuthor Commented:

Now this is happening ???


C:\Users\Ross Griffin.RALONUK0001>cd "F:\virtual machines\ravs01"

C:\Users\Ross Griffin.RALONUK0001>"C:\Program Files (x86)\VMware\VMware Server\v
mware-vdiskmanager.exe" -x 40GB RAVS01.vmdk

Failed to open the disk 'RAVS01.vmdk' : A file was not found (0x1900000004).
Failed to open disk 'RAVS01.vmdk' : A file was not found (0x1900000004).

C:\Users\Ross Griffin.RALONUK0001>cd F:

F:\Virtual Machines\RAVS01

C:\Users\Ross Griffin.RALONUK0001>cd

C:\Users\Ross Griffin.RALONUK0001

C:\Users\Ross Griffin.RALONUK0001>cd F:

F:\Virtual Machines\RAVS01

C:\Users\Ross Griffin.RALONUK0001>cd "F:\virtual machines\ravs01"

C:\Users\Ross Griffin.RALONUK0001>"C:\Program Files (x86)\VMware\VMware Server\v
mware-vdiskmanager.exe" -x 40GB RAVS01.vmdk"

Failed to open the disk 'RAVS01.vmdk' : A file was not found (0x1900000004).
Failed to open disk 'RAVS01.vmdk' : A file was not found (0x1900000004).

C:\Users\Ross Griffin.RALONUK0001>
0
 
ryder0707Commented:
Well i'm sure syntax is good, see my output below

D:\VM\Knoppix>"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager.ex
e" -x 1GB Knoppix.vmdk
Failed to expand the disk 'Knoppix.vmdk': One of the parameters supplied is inva
lid (0x100003e80).

D:\VM\Knoppix>"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager.ex
e" -x 5GB Knoppix.vmdk
  Grow: 100% done.
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party
         utility in the virtual machine to expand the size of the
         partitions. For more information, see:
         http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647
0
 
MinoDCCommented:
go to F:

cd "F:\virtual machines\ravs01"

and next :

dir

and paste the result here
0
 
MinoDCCommented:
or one other thing the Virtual Machine must be turned off
0
 
frsupportAuthor Commented:

F:\>cd "F:\virtual machines\ravs01"
F:\Virtual Machines\RAVS01>dir
 Volume in drive F is Rosslyn
 Volume Serial Number is DCFB-0EF2
 Directory of F:\Virtual Machines\RAVS01
18/12/2009  12:41    <DIR>          .
18/12/2009  12:41    <DIR>          ..
18/12/2009  12:41             8,684 RAVS01.nvram
18/12/2009  12:41    12,573,343,744 RAVS01.vmdk
16/12/2009  19:12                 0 RAVS01.vmsd
18/12/2009  11:01             2,534 RAVS01.vmx
17/12/2009  23:52               261 RAVS01.vmxf
18/12/2009  10:43           335,193 vmware-0.log
17/12/2009  23:46            56,480 vmware-1.log
17/12/2009  23:45           273,938 vmware-2.log
18/12/2009  12:41           167,155 vmware.log
               9 File(s) 12,574,187,989 bytes
               2 Dir(s)  294,979,526,656 bytes free
F:\Virtual Machines\RAVS01>
0
 
frsupportAuthor Commented:
vm is definitely powered off from management console
0
 
MinoDCCommented:
umm....if you follow these commands step by step you get errors?

cd "F:\Virtual Machines\RAVS01"
F:
"C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe" -x 40GB RAVS01.vmdk

paste the result, thanks
0
 
frsupportAuthor Commented:
See attahed error
error.png
0
 
MinoDCCommented:
you need to close the quotes here:

"C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe" -x 40GB RAVS01.vmdk

not here:

"C:\Program Files
(x86)\vmware\vmware server\vmware-vdiskmanager.exe -x 40GB RAVS01.vmdk"
0
 
frsupportAuthor Commented:
ahhhhhhhhhh
 
Thank you, the vdisk is now "growing" , as is the smile on my face , thanks guys
 
0
 
ryder0707Commented:
congrat! if u read my 1st post closely, all should be done earlier :)
0
 
MinoDCCommented:
or third post, step-by-step ;) ;) ...
However,frsupport, accepts a solution, thanks  ;)

By
0

Featured Post

Industry Leaders: 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!

  • 8
  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now