Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1565
  • Last Modified:

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.
0
jackjohnson44
Asked:
jackjohnson44
1 Solution
 
Tony GiangrecoCommented:
Here are the steps for that process. See if anything was missed
http://www.xtralogic.com/extend_fs_part.shtml
0
 
noxchoCommented:
Does the disk management tool see the drive? It could need reinitialization simply.
0
 
Svet PaperovCommented:
The solution will be to replace the 3TB disk by two 1.5 or 2TB disks or install Windows Server 2012.

The reason is that most of the disks larger than 2TB have 4k-byte native sector size. Windows 2008 R2 and Windows 7 do not recognize the native size and they use its advanced-format or 512e representation (4k-byte physical and 512-byte logical sector size).

The big exception for 512e support on Windows Server 2008 R2 or Windows 7 is VHD files: they are not supported on 4k-byte sector size, meaning Hyper-V or Windows Server Backup cannot be used with such disks.
   
Large-sector disks are natively supported (4k-byte sector size) in Windows Server 2012 and Windows 8.

For more information:
http://support.microsoft.com/kb/2510009

PS: Just found a 4TB disk with native 512k-byte sector - WD WD4001FAEX Black http://www.wdc.com/wdproducts/library/OVR/ENG/a4/2178-001010.pdf and http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-771434.pdf
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now