Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Siguiente ejercicio
Cambie a LON-SVR1 .
Haga clic con el bot�n derecho en Inicio y luego haga clic en Windows PowerShell
(Administrador) .
Para enumerar todos los discos disponibles que a�n no se han inicializado, en el
s�mbolo del sistema de Windows PowerShell, escriba el siguiente comando y luego
presione Entrar :
Get-Disk | Where-Object PartitionStyle -Eq "RAW"
Haga clic con el bot�n derecho en Inicio y luego haga clic en Administraci�n de
discos .
En la mitad inferior de la pantalla, despl�cese hacia abajo y haga clic con el
bot�n derecho en Disco 3 y luego haga clic en En l�nea .
En el Disco 3, haga clic con el bot�n derecho en No asignado y luego haga clic en
Nuevo volumen reflejado .
En LON-SVR1, haga clic con el bot�n derecho en Inicio y luego haga clic en Windows
PowerShell (Administrador) .
Para verificar las propiedades del disco duro virtual, en el s�mbolo del sistema de
Windows PowerShell, escriba el siguiente comando y luego presione Entrar :
Get-vhd C:\Sales.vhd
Para cambiar el tama�o del sector, en el s�mbolo del sistema de Windows PowerShell,
escriba el siguiente comando y luego presione Entrar :
Set-VHD -Path c:\Sales.vhdx -PhysicalSectorSizeBytes 4096
Para verificar las propiedades del archivo .vhdx, en el s�mbolo del sistema de
Windows PowerShell, escriba el siguiente comando y luego presione Entrar :
Get-vhd C:\Sales.vhdx
Pregunta : �Cu�l es el tama�o del sector f�sico?
Ejercicio anterior
Your manager has asked you to add disk space to a file server that is running on a
virtual machine. This virtual machine will potentially grow significantly in size
in the upcoming months and you might need flexibility in your storage options. Your
manager has asked you to optimize the cluster and sector size for virtual machines
usage to accommodate large file sizes for storage on virtual machines. You need to
assess the best options for storage and ease of expansion for potential future use.
Next Exercise
2. Exercise 1: Creating and managing volumes
Task 1: Create a hard disk volume and format for ReFS
Switch to LON-SVR1.
To list all the available disks that have yet to be initialized, at the Windows
PowerShell command prompt, type the following command, and then press Enter:
Get-Disk | Where-Object PartitionStyle -Eq "RAW"
To initialize disk 2, at the Windows PowerShell command prompt, type the following
command, and then press Enter:
Initialize-disk 2
To review the partition table type, at the Windows PowerShell command prompt, type
the following command, and then press Enter:
Get-disk
To create a Resilient File System (ReFS) volume by using all available space on
disk 1, at the Windows PowerShell command prompt, type the following command, and
then press Enter:
New-Partition -DiskNumber 2 -UseMaximumSize -AssignDriveLetter | Format-Volume
-NewFileSystemLabel "Simple" -FileSystem ReFS
If you receive the prompt, Do you want to format it?, click Cancel.
In the lower half of the display, scroll down and right-click Disk 3, and then
click Online.
On the Select Disks page, in the available list, click Disk 4, and then click Add
>.
In the Select the amount of space in MB box, accept the default value, and then
click Next.
On the Assign Drive Letter or Path page, in the Assign the following drive letter
box, click M, and then click Next.
On the Format Volume page, in the Volume label text box, type MIRROR.
Select the Perform a quick format check box, and then click Next.
In the Disk Management dialog box, click Yes to convert both disks to dynamic
disks.
Previous ExerciseNext Exercise
At the Windows PowerShell command prompt, type the following command, and then
press Enter:
Initialize-disk 5
At the Windows PowerShell command prompt, type the following command, and then
press Enter:
Diskpart
At the command prompt, type the following command, and then press Enter:
List disk
At the command prompt, type the following command, and then press Enter:
Select disk 5
At the command prompt, type the following command, and then press Enter:
Convert dynamic
At the command prompt, type the following command, and then press Enter:
Create volume simple size=10000 disk=5
At the command prompt, type the following command, and then press Enter:
Assign letter=z
At the command prompt, type the following command, and then press Enter:
Format
Switch to Disk Management. Verify the presence of an NTFS volume on Disk 5 of size
approximately 10 gigabytes (GB).
At the Windows PowerShell command prompt, type the following command, and then
press Enter:
Extend size 10000
At the Windows PowerShell command prompt, type the following command, and then
press Enter:
Shrink desired=15000
In the Virtual Machines list, right-click 20740C-LON-DC1, and then click Revert.
On the Select server roles page, select the Hyper-V check box, click Add Features,
and then click Next.
On the Confirm installation selections page, select Restart the destination server
automatically if required, click Yes, and then click Install.
Note: Your computer might restart several times following installation of the
Hyper-V components.
At the Windows PowerShell command prompt, type the following command, and then
press Enter:
New-VHD -Path c:\sales.vhd -Dynamic -SizeBytes 10Gb | Mount-VHD -Passthru |
Initialize-Disk -Passthru |New-Partition -AssignDriveLetter -UseMaximumSize |
Format-Volume -FileSystem NTFS -Confirm:$false -Force
Note: If you receive a Microsoft Windows pop-up dialog box prompting you to format
the disk, close it and continue.
To dismount the virtual hard disk, at the Windows PowerShell command prompt, type
the following command, and then press Enter:
Dismount-vhd C:\Sales.vhd
To check the properties of the virtual hard disk, at the Windows PowerShell command
prompt, type the following command, and then press Enter:
Get-vhd C:\Sales.vhd
To convert to a .vhdx file, at the Windows PowerShell command prompt, type the
following command, and then press Enter:
Convert-VHD -Path C:\Sales.vhd -DestinationPath c:\Sales.vhdx
To change the sector size, at the Windows PowerShell command prompt, type the
following command, and then press Enter:
Set-VHD -Path c:\Sales.vhdx -PhysicalSectorSizeBytes 4096
To check the properties of the .vhdx file, at the Windows PowerShell command
prompt, type the following command, and then press Enter:
Get-vhd C:\Sales.vhdx
Question : What is the physical sector size?
To optimize the .vhdx file, at the Windows PowerShell command prompt, type the
following command, and then press Enter:
Optimize-VHD -Path c:\Sales.vhdx -Mode Full
Previous ExerciseNext Exercise
Restart your computer, and when prompted, choose Windows Server 2016.
Previous Exercise