Hyper-V2: adding virtual hard drives, hyper-v2vm to VMS

Source: Internet
Author: User

Hyper-V2: adding virtual hard drives, hyper-v2vm to VMS

Use Hyper-V to create a VM. After the VM is successfully installed with the OS, it is found that the VM has only one logical disk C, which is used to store the operating system of the VM. In the product environment, you need to add virtual hard disks to the VM to store data separately in different logical drive letters. In Hyper-V, Virtual Hard Disk is added to the VM in two steps ):

  • In Hyper-V Manager, VMS are classified into virtual hard disks.
  • Log on to the VM operating system and add a logical drive letter to the OS.

1. In Hyper-V Manager, assign a virtual hard disk drive to the VM and assign a virtual hard disk file from the physical machine.

1. Click the Settings menu of the VM, configure the VM's HardWare, and add the SCSI Controller to the VM. There are two types of SCSI Controller: Hard Drive and DVD Drive. Select Hard Drive.

2. Click New to open New Virtual Hard Disk Wizard.

3. Select the hard disk type. We recommend that you use Dynamically Expanding)

 

4. Specify the vhd name and location.

5. Configure vhd, create a new VHD, and specify the maximum storage space.

6. Click "Apply" and "OK". After creation, multiple Hard Drive instances can be added at a time. In this article, only one Hard Drive is added for demonstration.

2. log on to the guest operating system of the VM and add the logical drive letter to the OS.

1. In the VM operating system, Open Server Manager. From the Tools menu, open the Computer Management window.

2. In the Computer Management window, click Storage-> Disk Management to open the Disk Manager.

3. view the Disk status of the system.

Disk0 is Online, system disk, drive letter is C, Disk1 is Offline, is a new Virtual Disk

4. Select Disk1 and click the Online menu to bring Disk1 Online,The status of Disk1 is changed from Offline to Not Initialized;

5. Right-click and click "Initialize Disk" to Initialize the Disk.

When initializing a hard disk, You need to select the partition type. There are two partition types: MBR and GPT. In this article, select the GPT partition type.

After Disk initialization, Disk1 is Online, but the Disk Space is still Unallocated

6. Create a volume

In the slash shadow area of Disk, right-click the shortcut menu and click "New Simple Volume" to open the "New Simple Volume Wizard" form.

7. In the new Simple Volume wizard form, specify the Volume size. The default value is all Disk space.

8. assign a logical drive letter to the new Volume. The default value is in English character order.

9. format the partition. Use the NTFS file system to format the partition. The Volume Lable is New Volume.

10. Disk1 is Online. The logical drive letter is D and the name is New Volume.

3. Check the device and drive of the system and add a logical hard disk to the operating system.

Reference:

Add a new disk to Windows Server 2012 in VMware

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.