![]()
#WINDOWS 2008 DISK MANAGER OFFLINE#Taking the volume offline is required because Hyper-V cannot load a disk that is mountedĪnd finally, a screenshot of what I typed and the result.Shrinking a Windows Server 2008 R2 Partition Using Disk Management When we ran it before, it was only 19gb.ĭismounts the Vdisk volume. Running again to show the new size of 39gb. In my case the volume I want to work with is Volume 9Įxtends the currently selected volume to use all contiguous available space on the same disk It has the number you need to use to select the volume you will work with. List volumes (partitions) the # column is the most important. Notice that we now have 19gb of free space thanks to the expand vdisk command we ran above if it were not selected you could select it with Select Disk #. The disk we want to work with is already selected because we just attached it. This is all mounted disks so it includes all vDisks that are mounted. It is doing the Attach to the currently selected vdisk which is the one we just expanded If you look in Disk Manager or in windows explorer you would see that after you run this you have a new drive. Once the disk is expanded you have to mount it to work on the disk. This is the number of bytes that the resulting disk should have in it. The * at the left shows the one that is selected.Ĭhanges the size of the vdisk to this new size defined by the maximum= parameter. Notice that if the path or the file name has spaces you have to put “” quotes around it You can down the video from Expand and Extend VHD.vmv I did a video walkthrough of these instructions. The most important of which is that the disk has to be completely closed before you can start the machine up. A couple things of note as I worked through these instructions again and produced a video of it. Notice your commands will be different as you will have to put in your name and path and look to see what volume # your disk is so you are working with the correct volume. The commands I ran to expand and extend my disk (all together). #WINDOWS 2008 DISK MANAGER HOW TO#If you have snapshots on the volume or are using differencing disks you will need to check out How To Merge a Chained Differential VHD Disk So It Can Be Extended and Expanded to learn what you need to do before you can expand and extend these disks. Thanks to all that posted comments giving me the suggestion to write this post. I have collapsed it down to a few simple steps using diskpart. I wanted to simplify the process of adding additional space to the C: drive (Boot Drive) of a virtual machine. I have done several posts recently on managing VHD’s. Start | type cmd | Right-click cmd (top of menu) | Run as Administrator You also have to be in an elevated command prompt. It cannot be attached with disk manager and it cannot be attached to a running VM. The commands in this post must be run while the VHD file is closed. I think these commands are all available in Vista but I am not sure and I do not have a vista machine available for testing. I am not certain of the changes from earlier versions of the OS. These instructions will be identical for Windows 7. I ran this on a Windows Server 2008 R2 SP1 machine. #WINDOWS 2008 DISK MANAGER DOWNLOAD#If you’re having trouble viewing the video, Click here to download it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |