Combining VMware Virtual Disks with Windows Disks – Graphic Method

Hello VMware vSphere administrator!

Today we will learn how to identify disks in the Windows operating system relating to the vmdk attached in the VM. When working with a multi-disk server, you may need to expand a particular partition on a disk that is the same size as another disk attached to the same VM.

There are some ways to identify disks. Today I will show using the graphical interface.

Scenario:

  • ESXi-> 6.5 UP2
  • vCenter VCSA-> 6.7 UP2
  • Power CLI-> 6.5 UP1
  • VM Windows Server 2012 or higher

Procedure

STEP 1 – Checking the VMDK disks in the VM. Which one to choose? We’ll find out, keep reading 🙂

2019-07-06_23-17-49

STEP 1.1 – Identify disks by command line using power CLI:

Get-VM WINDOWS_2012_R2_01 | Get-HardDisk | Select @{N='VM';E={$_.Parent.Name}},Name,@{N='SCSIid';E={$_.ExtensionData.UnitNumber}}

Command Output:

If you do not have the power CLI, just write down the name of the hard disk and its SCSIid.

2019-07-06_23-14-19

STEP 2 – Checking the disks displayed on the Windows server. We have 4 records. Being one of 20, one of 6 and two of 5gb.

2019-07-06_23-15-58

STEP 3 – Our goal is to expand the F: \ drive.

2019-07-06_23-20-32
Looking at step 2, partition F is disk 2.

2019-07-06_23-23-18

STEP 4 –  Run the msinfo32 command on the Windows server to identify the SCSI Target ID as well as the disk number.

2019-07-06_23-24-42
Looking at the image below step 1.1, the VM disk to reach our goal is Hard Disk 4 – SCSI id 2.

2019-07-06_23-14-19

STEP 5 –  Let’s expand the hard disk 4 disk into the VM for another 2GB totaling 7GB at the end of the operation.

2019-07-06_23-28-48

STEP 6 –  After you expand the disk in the VM, check the F: \ disk in the Windows operating system. We already have how to increase, and it seems that we hit the disk 🙂

2019-07-06_23-30-18

STEP 7 – Expand the F: \ Disk in VM. To learn how to expand a disk in Windows, see Extend a basic volume.

2019-07-06_23-31-41
Again we should check the information in the msinfo32 report.

2019-07-06_23-33-47

You should now see the disk F: \ as in the image below.

2019-07-06_23-43-46

Until the next staff!

 

“Believe in yourself. Engage your mind in your good star and recognize that your inner light will always lead you up and forward.”

Unknown author

Deixe um comentário

Faça o login usando um destes métodos para comentar:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair /  Alterar )

Foto do Google

Você está comentando utilizando sua conta Google. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )

Conectando a %s

Este site utiliza o Akismet para reduzir spam. Saiba como seus dados em comentários são processados.