VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
3 Replies Last post: Oct 19, 2009 8:45 AM by VMmatty  

Upsizeing disk in a 2008 Windows server created an unusual issue posted: Oct 19, 2009 7:34 AM

Click to view juchestyle's profile Master 1,357 posts since
Jun 20, 2005

Allright here is what happened.

ESX 3.5 update 4

While the 2008 vm was on and running, I increased the disk from 25 gigs to 40 gigs. I then went into the OS and tried to expand the servers disk (without any reboots). The operation finished, but with an error. What resulted was annoying. In Disk Management on the 2008 server, the drive now showed as a complete 40 gig disk. In My Computer on the 2008 server it still showed as 25 gigs. A reboot didn't do anything. I needed to reduce the drive back to only 25 gigs as the extra space (they changed their minds) was to be added as an extra drive instead. So I decided to use converter to suck up the vm and resize the drive on the fly.

But when I connected with Converter, it showed the drive being 40 gigs large, but 39 gigs full. Hence I could not reduce the size. I logged into the server to confirm that there was free space, it was really only 24 gigs full so the operation should have worked.

At this point I decided to make a hot clone of the vm so I could troubleshoot it without worrying about it. In the clone I decided to use the shrink feature. When I did it showed that the drive could only be shrunk by 1 gig from 40 gigs to 39 gigs, because it saw the drive 39 gigs full as well. I decided to go through with the operation hoping that the process would flush out the bug. When I shrunk it, it took what seemed like 5 minutes to complete and I though I was stuck. Finally, the process completed and to my excitement it reduced it the full 16 gigs despite the earlier message that only 1 gig was available to shrink.

At that point I used converter to connect to the clone and was able to successfully suck it up and reduce the drive space. Once the new clone was up and running I turned off the original and the clone, removed their networking (just in case they were turned off, I am keeping them for a week or so to make sure everything is going to keep working well.) So far everything looks good.

I just wanted to share my information, what happened and what worked to solve the issue if anyone else finds themselves in this situation. I searched the forums and couldn't find anything that quite matched my situation.

Thank you,

Matthew


Kaizen!

Click to view VMmatty's profile Expert 417 posts since
Oct 17, 2008
Which method did you use to increase the space on the drive in Windows 2008? Did you use the "Extend Disk" option in Disk Managemnet or did you use a tool like ExtPart from Dell?

I haven't seen it myself but I have seen others say that occasionally when increasing the size of the drive using the Extend Disk function, it appears to work in Disk Management but not actually in Explorer. Those folks said that they had to then use diskpart to extend the volume so that the extra space became visible.

Either way, glad your situation worked out and it didn't end up causing you too much grief.
Click to view VMmatty's profile Expert 417 posts since
Oct 17, 2008
Do you have another Windows 2008 server handy that you can test on? I am 99% sure I have done the exact process you describe below using ESX 3.5 and have been successful. If you have the ability I would try testing it again on a dev/test server to figure out what went wrong.

The other option is to use ExtPart from Dell. I've had success from that as well.

http://blogs.kraftkennedy.com/index.php/2009/06/30/expand-virtual-machine-boot-volumes-with-no-downtime/

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities