Solved

resize virtual disk

Posted on 2013-02-01
7
548 Views
Last Modified: 2013-02-07
I have a vmware virtual machine. Guest OS is windows 2003R2. Virtual machine have one virtual disk, which is partitioned in two logical disks inside, one with the size of 8GB and holds the OS and one with the size of 20GB and holds data.
Because I am low on disk space on OS drive I need to resize it.
The problem is that the disk is one with two logical disk inside and i cannot extend the first partition.
VMWare esxi versions are 4.1U1.
Any idea how to do it.
0
Comment
Question by:dedri
[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
7 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38842798
Create a second virtual disk, move the contents of the second partition to the new VD and you will now have space on the firt VD to expand it.

In a VM environment NEVER vreate a VD with multiple partitions, there is absolutely no point to it at all.
0
 
LVL 121
ID: 38842799
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38842818
Excellant article by hanccocka on the process to do the resize of your partition but i stress the fact...

Dont have multiple partitions on Virtual Disks. No point, No need and will always come back to cause you a problem some day.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:dedri
ID: 38842878
the problem is that the installation of the some programs are on drive D. It will not work if I just copy/paste the data from D to some other disk.
VMware vCenter Converter is installed on my Vcenter and when I click on host I have an option Import. From there I can start the wizard. But it does not give me the options to resize just a partition, only the whole disk.
Anyone that done this with Gparted?
0
 
LVL 9

Assisted Solution

by:TazDevil1674
TazDevil1674 earned 167 total points
ID: 38842927
Another way you may get round this issue is to clone the virtual disk so you have 2 identical disks...  On disk one delete the 2nd partition (D:); on disk two delete the 1st partition (C:)...

You can then extend C: on disk one and you will have a 'waste' of 8gb on disk two (I would suggest andother patition and put you pagefile there)

I would do this by attaching these virtual disks to another VM as its easier to do - especially a 2008 box!

This would mean there is no way you will break programs that are installed...
0
 
LVL 37

Assisted Solution

by:Neil Russell
Neil Russell earned 166 total points
ID: 38842973
You create the new VD, create a drive on it in windows as e: or f: or g:....., it matters not, Copy the D: drive contents to this new drive, VALIDATE, delete the d: drive and the using disk manager change the drive letter of the Newly created drive back to D:

Now you have two seperate drives c: and D: just like before.
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 167 total points
ID: 38843020
Normally, you would use the option Convert Machine option and follow the wizard.

Yes, we used converter many times.

see this EE Question I answered with steps and screenshots

http://www.experts-exchange.com/Software/VMWare/Q_28003908.html#a38805416
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Determining the an SCCM package name from the Package ID
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

717 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