Link to home
Start Free TrialLog in
Avatar of jackjohnson44
jackjohnson44

asked on

increase windows vhd using diskpart and vhd resizer

I am trying to increase the size of a vhd using vhd resizer and diskpart.  I have a hyper v machine.  I had done this before and I think these were the same steps, but I am not 100% sure.  I just bought a 3TB drive.  I created two partitions 1.5 tb each (or whatever I had splitting it in two, they have some reserved).  I tried to make my vhd 1.4 tb, so I loaded it in the vhd resizer tool, and set he size to 1.4 tb.  This took over a full day and just finished.

Here is the link with the instructions:
http://kb.dutchalps.com/microsoftvirtualpc.htm#windows7

I attached the vhd in diskmanager then opened a command prompt and typed "disk part", "list disk", "select disk 4", "detail disk" and I got the following.  I was expecting to see a volume, but I don't.

DISKPART> detail disk

Msft Virtual Disk SCSI Disk Device
Disk ID: 00000000
Type   : Virtual
Status : Online
Path   : 0
Target : 0
LUN ID : 1
Location Path : UNAVAILABLE
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

There are no volumes.
Avatar of Tony Giangreco
Tony Giangreco
Flag of United States of America image

Here are the steps for that process. See if anything was missed
http://www.xtralogic.com/extend_fs_part.shtml
Avatar of noxcho
Does the disk management tool see the drive? It could need reinitialization simply.
ASKER CERTIFIED SOLUTION
Avatar of Svet Paperov
Svet Paperov
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial