Solved

resize virtual disk

Posted on 2013-02-01
7
540 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
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 118
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

Suggested Solutions

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now