Virtualization Is an important part of modern IT infrastructure and confronts system administrators with many everyday administrative tasks. hard disk Space if required. In my work I do this at least once a month to expand log files, scale growing processes and new tasks on existing servers.
To do this, on a Microsoft Server Hyper-V hypervisor running Windows Server 2016 with Hyper-V Manager or Failover Cluster Manager:
Hyper-V is a Type 1 hypervisor that installs directly on the underlying hardware and acts as a lightweight operating system on which virtual machines are created. By installing it directly on the hardware, the VM performance is better than with type 2 hypervisors, in which the operating system intervenes between the VM itself and the hardware.
The two main Hyper-V management tools that can be used to increase virtual disk capacity are Hyper-V Manager and Failover Cluster Manager. Failover Cluster Manager is only used when multiple VM hosts are running and the hosts are clustered. This enables disaster recovery if a physical machine fails. It also avoids downtime when performing updates on the host machine. (Clustering is a useful tactic, but it doesn’t replace all regular backups.)
Hyper-V Manager is used to increase the capacity of your hard drive when you have only one physical host or multiple hosts that are not clustered.
The following steps show how to use both Hyper-V Manager and Failover Cluster Manager to increase disk space. You start with Hyper-V Manager.
First, shut down the VM that you plan to add to your hard drive’s capacity. To make sure it shuts down,[ç¶æ ]Make sure that the column entry is “off”. Next in the menu on the right side of the screen[è¨å®]Click to open.
If you are using Failover Cluster Manager, select the role you are working on (VM alias) and use the menu on the right side of the screen.[è¨å®]Click to open.
This next part is the same whether you are using Hyper-V Manager or Failover Cluster Manager.
In the menu on the left, select the hard drive that you want to expand. This is likely to be a simulated Integrated Drive Electronics (IDE) controller, but it could also be an Internet Small Computer Systems Interface (iSCSI) controller, depending on what you chose when you set up the drive. I got. From the dialog box[ã¡ãã£ã¢]In the section under the path of the virtual hard disk[ç·¨é]Click.
Make sure the hard drive location is correct.[æ¬¡ã¸]Click.
[ã¢ã¯ã·ã§ã³ã®é¸æ]On the screen from the options[å±é]Choose.[æ¬¡ã¸]Click.
[ãã£ã¹ã¯ã®æ§æ]On the screen you have to enter the size in GB in order to be able to use the hard disk after the expansion.[æ¬¡ã¸]Click.
Finally, check the summary to make sure everything is correct and that it is correct[å®äº]Click.
Go back to either Hyper-V Manager or Failover Cluster Manager, select the VM you are using and choose[éå§]Click to turn it back on. With both management tools[ã¹ã¿ã¼ã]The button is[è¨å®]It’s in the menu on the right where the button was. This is what it looks like in the Hyper-V Manager:
And that’s in the Failover Cluster Manager.
On Windows Server 2016, open Server Manager and in the top right corner[ãã¼ã«]Go to the drop down menu[ã³ã³ãã¥ã¼ã¿ã¼ã®ç®¡ç]Click.
In the menu on the left[ã³ã³ãã¥ã¼ã¿ã®ç®¡ç]so,[ãã£ã¹ã¯ã®ç®¡çã«ç§»å]Click.
In the lower half of the dialog is a section that shows the unallocated number of disk partitions. (In the screenshot below, this unallocated space is partially blocked by the drop-down menu.) Right-click the hard drive partition and[ããªã¥ã¼ã ã®æ¡å¼µ]Choose.
[ããªã¥ã¼ã ã®æ¡å¼µã¦ã£ã¶ã¼ã]A dialog box will appear.[æ¬¡ã¸]Click.
On the next screen, all of the unallocated space will be automatically added to the selected side of the space selection area. Make sure you are adding the correct space.[æ¬¡ã¸]Click.
Click Finish to complete the deployment.
Then you will see the expanded hard drive with the new space.
Adding space to a virtual hard disk is an easy task and another benefit of using a virtual machine.
Copyright Â© 2021 IDG Communications, Inc.