Solved

VirtualBox Resized virtual disk does not see new unallocated space

Posted on 2014-12-19
4
468 Views
Last Modified: 2014-12-19
We are running Oracle VirtualBox 4.3.20 on a Win 7 host with a Win 7 guest.

The Hard drive on the guest is 25Gb and we are running out of space so I have cloned it just to be safe then resized the disk but The guest OS and VirtualBox can't see the new size.

First I cloned it with this command:

VBoxManage clonehd --format VDI --variant Standard

then resized it with:

VBoxManage modifyhd  --resize 50000

and it came back with:

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

A VBoxManage showhdinfo shows:

Machine - after XPP and Altova and iiSPY\Eniro_Clone_01.vdi"
UUID:           d155831e-a8dc-4099-95bd-a36e6a310bd1
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       D:\VM Store\VMs\Eniro Machine - after XPP and Altova and iiSPY\E
niro_Clone_01.vdi
Storage format: VDI
Format variant: dynamic default
Capacity:       50000 MBytes
Size on disk:   25380 MBytes

So the capacity has now increased to 50GB. All good so far.

But the VirtualBox GUI doesn't show this new increased size.

VirtualBox Gui not showing new increased vdi size
Also when I boot the VM up using GParted it also doesn't see the extra space and I can't extend my partition.

GParted doesn't show extra space
I've spent a lot of time Googling for this and the only answer is that the machine has snapshots and that is the cause. I've checked and it doesn't.

Does anyone have any ideas?

Thanks.
0
Comment
Question by:Letterpart
[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
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40509129
did you extend the correct disk?
the screenshot from the virtual box config has clone disk selected though the other output shows clone_01
0
 
LVL 120
ID: 40509250
Delete all snapshots before you re-size the disk.
0
 
LVL 1

Author Closing Comment

by:Letterpart
ID: 40509296
You Sir are a Genius and I am an idiot ;-)

I have now resized the correct drive and it has all worked.

Well that's half a day wasted due to stupidity!
0
 
LVL 1

Author Comment

by:Letterpart
ID: 40509298
Seth, That was it. I resized the wrong drive. Can't believe I didn't spot that. doh

Andrew. I'd already stated in my original question that there were no snapshots.
0

Featured Post

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!

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

738 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