Solved

resize virtual disk

Posted on 2013-02-01
7
545 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 119
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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

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 119

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Veeam Replication vs. SRM for DR scenario ? 6 72
One named event, multiple event handlers 2 24
AD architecture diagram 5 35
time esx vm's to reboot 4 22
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
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.

860 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