Windows Server 2008 R2 Thread, expand VHD strange failure in Technical; I had a 1500GB VHD that i have expanded by shutting down the VM and then in the host changing ...
-
24th November 2012, 01:23 PM #1 expand VHD strange failure
I had a 1500GB VHD that i have expanded by shutting down the VM and then in the host changing it to 2000GB. (it said max was 2040, im assuming the MBR limit, so i chose a little less than that)
Once i rebooted the guest I could see the extra 500GB partition. So I did the usual right click, expand partition to use the new free space.
However it then gave a strange error:
Code:
Log Name: System
Source: VDS Basic Provider
Date: 24/11/2012 11:31:40 PM
Event ID: 1
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: fileserver1
Description:
Unexpected failure. Error code: 490@01010004
It shows up in Computer Management Storage as a 2000GB drive
However in Computer the drive still shows as a 1500gb drive. IVe ran scandisk in windows and it reports no errors and the capacity as 1500gb.
This is strange, and its the main staff fileserver too so need to sort it ASAP ...
Is there something stupid Ive missed?
-
-
IDG Tech News
-
24th November 2012, 01:25 PM #2 also on the LUN its on in the SAN there is plenty of space on the LUN.
-
-
26th November 2012, 08:03 AM #3 bumped for the GMT folk
-
-
27th November 2012, 04:09 PM #4
- Rep Power
- 7
Another way to do it
Shut down server ‘A’ (the server who’s vhd you want to extend)
Attach this shutdown server ‘A’ vhd to another server ‘B’ as an additional drive (using hyper v manager)
Fire up the server ‘B’ that now has the server A as an additional drive
Check computer management\ disk management to see if the disk is visible
Open a cmd prompt
Type diskpart
Type List disk
NOW select the relevant disk, you should be able to tell by the size
Eg type select disk=2
Type list partition
Select partition=1
Type extend
Type exit
Now within disk management you should see all the disk space allocated
Shutdown server ‘B’
Remove server ‘A’ as an additional disk and reattach it to original server in hyper v manager
Start server and all should be OK
Drop me a PM tomoz if it doesn’t work and I’ll help you out
-
Thanks to DellOughta from:
RabbieBurns (29th November 2012)
-
29th November 2012, 11:02 AM #5 thanks for the reply, great idea. Havent had a chance to do any of it yet as it will require out of hours work and I wont get a chance till Saturday or Sunday. Will let you know how it goes.
-
-
29th November 2012, 01:20 PM #6
- Rep Power
- 7
This does work, we use this method on our older w2k3 hyperV guest (.vhd) servers as you cannot expand the system disk, basically just add it as a additonal disk to another hyperV server and run the cmds and hey presto all sorted
Mike
-
SHARE: 
Similar Threads
-
By Domino in forum Wireless Networks
Replies: 2
Last Post: 5th July 2007, 01:36 PM
-
Replies: 5
Last Post: 27th January 2006, 08:43 PM
-
By e_g_r in forum Hardware
Replies: 1
Last Post: 23rd November 2005, 10:03 AM
-
By tosca925 in forum Windows
Replies: 11
Last Post: 27th September 2005, 12:30 AM
-
By Roger in forum Windows
Replies: 2
Last Post: 12th September 2005, 11:01 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules