Need a Server? Build it in the cloud for free

       

How To Hot Add Storage To A Hyper-V Guest–Super Simple And No Service Interruption

Hot Add Storage was added to Hyper-V at version 2008 R2.

  • From the Hyper-V Manager Right-click the machine you want to add storage to, select Settings. This will bring up the settings window.

SNAGHTMLa124c02

  • Click On SCSI Controller in the left pane. If you do not have a SCSI Controller, you will have to turn the machine off to add one. You can only Hot Add storage to a machine using the SCSI bus.
  • Then click Hard Drive and then Add

SNAGHTMLa13f922

  • now click Newto launch the add Wizard
    • on Before you Begin click Next
    • Chose your disk type (I am using Dynamically expanding) then click Next
    • Give your VHD a file name (I use a naming convention for all drives; mine is called “E-Data Atlanta.vhd” E will be the drive letter, “–Data” says it is for data and “Atlanta” is the server name.
    • Chose the location to store the VHD. I like to put VHDs in the folder with the “Virtual Machines” folder for the VM. So in my case I am putting it in “F:\Hyper-V\BRS Atlanta {SCVMM}\” As you can see, I have a naming convention for the machine names and folders as well. My naming convention is… VM’s that are running on Hyper-V are in a Hyper-V folder, (as apposed to the Boot2VHD folder). My machine name convention is: “BRS” is the template I used to create it “Atlanta” is the computer name “{SCVMM}” I put the primary services or applications that run on the machine in braces. I often also put a period “.” and the last octet of the machine IP Address after the brace but in this case I did not. Then click Next
    • Give your drive a size (I am taking the default of 127gb) click Next
    • Then click Finish

SNAGHTMLa1ec8de

  • Then Click OK

SNAGHTMLa1fba5e

 

 

The Drive is now attached to the machine so all we need to do is login to the machine, bring the disk online, initialize it and create the volume.

  • Login to the machine (in my case Atlanta)
  • Click Start | Right-Click My Computer – Select Manage
  • Expand Storage and click Disk Management

image

 

  • We now see the new disk (Disk 1)
  • Right-Click on the left (grey part) of the disk and select online from the dropdown menu
  • Right-Click Again and select Initialize – On the popup keep the defaults and click OK
  • Right-Click (the white space of the disk this time) select New Simple Volume
  • In the wizard you can just Click Next all the way through it then Finish on the last screen. You are welcome to make changes if you like, but I will keep the defaults on all except the volume label which I will change to Data

image

image

 

 

You will now have access to this new drive in the virtual machine

 

If you want to see the same process using System Center Virtual Machine (SCVMM) Manager see my Video of the process at Hot Add Storage to Windows Server 2008 R2 Hyper-V Guest Using SCVMM

This entry was posted in Uncategorized and tagged , , , , , , , , by Dan Stolts ITProGuru. Bookmark the permalink.

About Dan Stolts ITProGuru

Dan Stolts (The "ITProGuru") is a technology expert who is a master of systems management and security. He is proficient in many Microsoft products especially in the server area (Windows Server, System Center, Exchange, SharePoint, Virtualization, Etc) and holds many certifications including MCT, MCITP, MCSE, TS, etc. Dan is currently specializing in System Management and Security and is also very passionate about virtualization technologies. Dan is and has been a very active member of the community. He is president of Boston User Groups, Founder of Virtualization Group Boston, Founder of North East Leaders and serves on many IT Community group boards. He is in the process of writing his first book on building technology communities. He is a believer in social networking and can be reached on twitter @ITProGuru. He has participated in many non-technology community groups such as: Rotary Club, Lions Club, local Chambers of Commerce and is a mentor for the local high schools. Dan is an enthusiastic advocate of technology and is passionate about helping others. Dan's lifelong passion has been and continues to be to help and teach others!

Leave a Reply