Module 2
Module 2
Contents:
Module
Objectives
After you will be able to:
1 of 45 3/12/2019, 12:37 PM
about:blank
This questions.
Lesson
After you will be able to:
• Describe system.
• Implement
2 of 45 3/12/2019, 12:37 PM
about:blank
MBR
The MBR partition table format is the standard partitioning scheme that has been
used on hard disks since the inception of personal computers in the 1980s. The MBR
partition following characteristics:
• If you initialize a disk larger than 2 TB using MBR, the disks stores volumes only
3 of 45 3/12/2019, 12:37 PM
about:blank
up to 2 TB, and the rest of the storage is not used. You must convert the disk to
GPT if you want to use all of its space.
Note: You can use the MBR partition table format for disk drives that never
surpass 2 TB in size. This provides you with a bit more space, because GPT
than MBR.
GPT
The GPT format was introduced with Windows Server 2003 and the Windows XP 64-
bit edition to overcome the limitations of MBR, and to address the requirement of
larger disks. GPT has the following characteristics:
• A exabytes.
• To boot from a GPT partition table, your BIOS must support GPT.
Note: If your hard disk is larger than 2 TB, you must use the GPT partition
table format.
more information,
Partitioning Table //aka.ms
4 of 45 3/12/2019, 12:37 PM
about:blank
When selecting a type of disk for use in Windows Server 2016, you can choose
between disks.
Basic
There is no performance gain when you convert basic disks to dynamic disks, and
some programs cannot address data that is stored on dynamic disks. For these
reasons, most administrators do not convert basic disks to dynamic disks, unless
5 of 45 3/12/2019, 12:37 PM
about:blank
they need to use some of the additional volume-configuration options that dynamic
disks provide.
Dynamic disk
Dynamic storage enables you to perform disk and volume management without
having are running Windows dynamic
disk for dynamic storage, dynamic
volumes. used for configuring
Required
• System volumes The system volume contains the hardware-specific files that the
Windows operating system needs to load, such as Bootmgr and BOOTSECT.bak.
The system volume can be the same as the boot volume, although this is not
required.
Note: When you install the Windows 10 operating system or the Windows
Server 2016 operating system in a clean installation, a separate system
volume is created to that you can subsequently choose to use to enable
6 of 45 3/12/2019, 12:37 PM
about:blank
Additional Reading: For more information, refer to How Basic Disks and
Volumes Work: http://aka.ms/afknbd
Selecting system
When you configure your disks in Windows Server 2016, you can choose between
file allocation table (FAT), the NTFS file system, and ReFS file systems.
FAT
7 of 45 3/12/2019, 12:37 PM
about:blank
A disk formatted with the FAT file system is allocated in clusters, and the size of the
volume determines the size of the clusters. When you create a file, an entry is
created in the directory, and the first cluster number containing data is established.
This entry in the table either indicates that this is the last cluster of the file, or points
to the organization to the and files
are given on the drive.
FAT does not provide any security for files on the partition. You should never use FAT
or FAT32 as the file system for disks attached to Windows Server 2016 servers.
However, using FAT or FAT32 such as
USB
NTFS
8 of 45 3/12/2019, 12:37 PM
about:blank
NTFS is an improvement over FAT in several ways, including better support for
metadata, and the use of advanced data structures to improve performance,
reliability, and disk space utilization. NTFS also has additional extensions such as
security access control lists (ACLs), which you can use for auditing, file-system
journaling, and encryption.
ReFS
Windows Server 2012 first introduced ReFS to enhance the capabilities of NTFS.
ReFS improves upon NTFS by offering larger maximum sizes for individual files,
directories, other items. Additionally,
resiliency, verification, error
Additional Reading:
• For more information, refer to How FAT Works: http://aka.ms/j4j5nm
Sector
When you format a disk using a particular file system, you must specify the
appropriate sector size. In the Format Partition dialog box, the sector size is
described as the Allocation unit size. You can select from 512 bytes through to 64
9 of 45 3/12/2019, 12:37 PM
about:blank
KB. To improve performance, try to match the allocation unit size as closely as
possible to the typical file or record size that will be written to the disk. For example, if
you have a database that writes 8,192-byte records, the optimum allocation unit size
would be 8 KB. This setting would allow the operating system to write a complete
record in a single allocation unit on the disk. By using a 4 KB allocation unit size, the
operating system would have to split the record across two allocation units and then
update table with the fact that linked.
By using least as big as the record, workload
on the
Discovery
What currently use on your file continue to use
it?
Show solution
Implementing ReFS
10 of 45 3/12/2019, 12:37 PM
about:blank
ReFS is a file system that is based on the NTFS file system. It provides the following
advantages
• Metadata checksums
• Maximizes reliability, especially during a loss of power (while NTFS has been
known to experience corruption in similar circumstances)
• Redundancy tolerance
11 of 45 3/12/2019, 12:37 PM
about:blank
• Shared storage pools across machines for additional failure tolerance and load
balancing
• BitLocker
• ACLs
• Change notifications
• Volume snapshots
• File
12 of 45 3/12/2019, 12:37 PM
about:blank
Compared to NTFS, ReFS offers larger maximum sizes for individual files,
directories, disk volumes, and other items, which the following table lists.
Attribute Limit
Maximum 4 petabytes (
When
• Archive data. The resiliency that ReFS provides means it is a good choice for data
that you want to retain for longer periods.
13 of 45 3/12/2019, 12:37 PM
about:blank
Additional Reading: For more information about ReFS, refer to Building the
next generation file system for Windows: ReFS: http://aka.ms/orvy9u
• Retrieve the volume and sector information for the ReFS volume by using the
fsutil command.
Demonstration
Retrieve NTFS volume
3. Run the fsutil fsinfo volumeinfo f: command to view information about the
NTFS volume.
Reformat
14 of 45 3/12/2019, 12:37 PM
about:blank
1. Run the fsutil fsinfo volumeinfo f: to view information about the ReFS
You can manage virtual hard disks within Windows Server 2016 in much the same
way that you can manage physical disks. For example, you can create and attach a
15 of 45 3/12/2019, 12:37 PM
about:blank
virtual hard disk and use it for storing data. The virtual hard disk appears as another
drive letter in the disk or folder management tools.
Virtual hard disks are files that represent a traditional hard disk drive. Typically, in
Hyper-V, you use virtual hard disks as the operating system disk and storage disks
for virtual machines. In Windows Server 2016, you can access the same virtual hard
disks system. The virtual following
characteristics:
• In Windows 8, Windows 8.1, Windows 10, or Windows Server 2012 or later, you
also can create and manage .vhdx files, which enable much larger disk sizes and
provide other benefits.
• You can create and attach virtual hard disks by using disk management tools such
as Diskpart.exe. After virtual
hard volumes on the drive
Additionally, newer versions, or newer
versions, virtual hard disks in File
• You can attach virtual hard disks that you create by using Hyper-V, or that you
create For example, if you disk in
Hyper-V, virtual hard disk to then use the
native feature to start the disk that
you
• You can use virtual hard disks as a deployment technology. For example, you can
use Hyper-V to create a standard image for desktop or server computers, and
16 of 45 3/12/2019, 12:37 PM
about:blank
You can use Windows PowerShell to create and manage virtual hard disks in
Windows Server 2016. You must first have the Windows PowerShell Hyper-module
installed. Then, you can use the following commands and cmdlets to create and
manage
• Get-vhd. Use this command to retrieve information about a named .vhd file.
• Set-vhd. Use this cmdlet to configure the .vhd file properties. For example, the
following cmdlet changes the physical sector size of the Sales.vhdx file.
17 of 45 3/12/2019, 12:37 PM
about:blank
One of the benefits of using Windows PowerShell is the ability to script cmdlets, or to
link them by using the pipe (|) operator. This can enable you to perform several tasks
in one step. The following command will create a new virtual hard disk of type .vhd,
and assign it a dynamic size of 10 GB. The .vhd is then mounted, and partitions and
volumes created and formatted.
18 of 45 3/12/2019, 12:37 PM
about:blank
19 of 45 3/12/2019, 12:37 PM
about:blank
speeds of 640 MBps. SCSI disks provide higher performance than SATA disks,
but are also more expensive.
Check
Discovery
What commonly using in your you have a
management provisioning strategy for storage scenarios?
20 of 45 3/12/2019, 12:37 PM
about:blank
Check answer
A volume is a usable area of space on one or more physical disks, formatted with a
file system. In Windows Server 2016, you can choose to use several different types
of volumes to create high-performance storage, fault-tolerant storage, or a
combination of both. This lesson explores how create and manage volumes in
Windows Server 2016.
Lesson
After you will be able to:
• Manage volumes.
• Configure volumes.
• Resize
• Explain levels.
21 of 45 3/12/2019, 12:37 PM
about:blank
In Windows Server 2016, if you are using dynamic disks, you can create a number of
different
• Spanned volumes. A spanned volume is a volume that is created from the free
disk space from multiple disks that are linked together. You can extend a spanned
volume 32 disks. You cannot volume, and
they Therefore, if you lose the entire
spanned
22 of 45 3/12/2019, 12:37 PM
about:blank
extended, and is not fault tolerant. This means that the loss of one disk causes the
immediate loss of all the data. Striping also is known as RAID-0.
• Mirrored volumes. A mirrored volume is a fault-tolerant volume that has all data
duplicated onto two physical disks. All of the data on one volume is copied to
another disk to provide data redundancy. If one of the disks fails, you can access
the disk. However, you volume.
Mirroring RAID-1.
Options volumes
To create and manage volumes, you can use one of the following tools:
23 of 45 3/12/2019, 12:37 PM
about:blank
• Server Manager
• Disk Management
• Diskpart.exe
• Windows PowerShell
Using
1. In the navigation pane, click File and Storage Services, and then under
Volumes, click Disks.
3. New Volume.
5. When all disks with available space display, select the appropriate disk from the
Disk list, and then click Next.
6. When you are prompted to initialize the disk by using GPT, click OK.
9. On the Select file system settings page, choose the appropriate file system,
enter a volume label, and then click Next.
24 of 45 3/12/2019, 12:37 PM
about:blank
To manage volumes by using Server Manager, in the Files and Storage Services
node, in the details pane, the
volume Right-click the desired choose from
the following
• Format.
• Extend Volume.
• Delete Volume.
• Properties
Using
You also can use Disk Management to initialize and configure your newly installed
disks. To access Disk Management, open Computer Management, and then click
Disk Management. Use the following procedure to create and configure your
volumes:
25 of 45 3/12/2019, 12:37 PM
about:blank
The
o procedure variesVolume
New Spanned slightly depending on your previous choice. However, to
create a mirrored volume, use the following procedure:
o New Striped Volume
3. In the New Mirrored Volume Wizard, click Next.
o New Mirrored Volume
4. page, select two disks.
Volume
5. allocate across these click Next.
7. On the Format Volume page, choose a file system and a volume label, and
then click Next.
Using
1. command prompt.
2. press Enter.
4. Type Convert dynamic, and then press Enter. This command converts the disk
26 of 45 3/12/2019, 12:37 PM
about:blank
5. Type Create volume simple size=<y> disk=<x> (where x is the disk that you
want to manage, and y is the size of the volume that you want to create), and
then press Enter. You also can create spanned, mirrored, and RAID drives by
changing the word simple.
Using
You also can use Windows PowerShell cmdlets to manage disk partitions and
volumes. The following list explains some of the more common disk management
cmdlets:
27 of 45 3/12/2019, 12:37 PM
about:blank
Demonstration steps
Create a new volume with Diskpart
1. Use the following command-line tools to view the available disks, and then
create and format an NTFS simple volume:
Assign letter = g
• In Disk Management, create a new mirrored volume with the following properties:
o Mirror
28 of 45 3/12/2019, 12:37 PM
about:blank
• You can only extend ReFS volumes; you cannot shrink them.
• You can extend a volume by using free space both on the same disk and on other
disks. When extend volume with other disks, create dynamic disk with
a Remember though, in a spanned fails, all
data addition, a spanned boot or
system you cannot extend using
another
• When you want to shrink a volume, immovable files such as page files are not
relocated. This means that you cannot reclaim space beyond the location where
29 of 45 3/12/2019, 12:37 PM
about:blank
these files are on the volume. If you have the requirement to shrink a partition
further, you need to delete or move the immovable files. For example, you can
remove the page file, shrink the volume, and then add the page file back again.
To modify a volume, you can use Disk Management, Diskpart.exe, or the Resize-
Partition cmdlet in Windows PowerShell.
Additional Reading:
• For more information, refer to Extend a Basic Volume: http://aka.ms
/sefpk3
What is RAID?
30 of 45 3/12/2019, 12:37 PM
about:blank
RAID is a technology that you can use to configure locally attached storage or a
storage reliability and potentially, RAID
implements combining multiple logical unit
called on the configuration, withstand the
failure physical hard disks contained in
addition performance than is available single disk.
RAID provides redundancy, which is an important component that you can use when
planning and deploying Windows Server 2016 servers. In most organizations, it is
important that the servers are available at all times. Most servers provide highly
redundant redundant power network
adapters. redundancy is to ensure available
even the server fails. By can
provide redundancy for the storage
How works
RAID enables fault tolerance by using additional disks to ensure that the disk
31 of 45 3/12/2019, 12:37 PM
about:blank
subsystem can continue to function even if one or more disks in the subsystem fail.
RAID uses two options for enabling fault tolerance:
• Disk mirroring. With disk mirroring, all of the information that is written to one disk
is also written to another disk. If one of the disks fails, the other disk is still
available.
Note: Although RAID can provide a greater level of tolerance for disk failure,
you should not use RAID to replace traditional backups. If a server has a
power surge or catastrophic failure and all of the disks fail, then you would
need to rely on standard backups.
Hardware RAID
32 of 45 3/12/2019, 12:37 PM
about:blank
configuration that you need to perform in the operating system is to create volumes
on the disks.
You can implement software RAID by using all of the disks that are available on the
server. You then configure RAID from within the operating system. Windows Server
2016 supports the use of software RAID, and you can use Disk Management to
configure RAID levels.
• To configure hardware RAID, you need to access the disk controller management
program. Normally, you can access this during the server boot process or by using
a webpage that runs management software.
• In older servers, you might obtain better performance with software RAID when
using server processor can quickly than
the is not an issue with you could
have performance because you calculations to
the
RAID levels
33 of 45 3/12/2019, 12:37 PM
about:blank
When implementing RAID, you need to decide what level of RAID to implement. The
following for each different
RAID 0 Striped set High read and All space on A single disk Use only in
without parity or write performance the disk is failure results in situations
mirroring available the loss of all where you
Data is written data require high
sequentially to performance
can
tolerate data
34 of 45 3/12/2019, 12:37 PM
about:blank
RAID 2 Data is written in Extremely high Uses one or Can tolerate a Requires that
bits to each performance more disks for single disk failure all disks be
disk, with parity parity synchronized
written to
RAID 4 Data is written in Good read Uses one disk Can tolerate a Rarely used
blocks to each performance, poor for parity single disk failure
disk, with parity write performance
RAID 6 Striped set with Good read Uses the Can tolerate two Commonly
performance, poor equivalent used for data
performance two disks storage where
parity performance is
critical but
maximizing
disk usage and
across all disks availability are
important
35 of 45 3/12/2019, 12:37 PM
about:blank
RAID 0+1 Striped sets in a Very good read Only half the Can tolerate the Not commonly
mirrored set and write disk space is failure of two or used
A set of drives is performance available due more disks
striped, and to mirroring provided that all
36 of 45 3/12/2019, 12:37 PM
about:blank
FIGURE
37 of 45 3/12/2019, 12:37 PM
about:blank
Check
Discovery
Should disks with the same amount tolerance?
38 of 45 3/12/2019, 12:37 PM
about:blank
Scenario
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 might need flexibility in Your
manager optimize the cluster and machines
usage file sizes for storage need to
assess storage and ease of expansion future use.
Objectives
After completing this lab, you should be able to:
• Resize
Lab
Password:
39 of 45 3/12/2019, 12:37 PM
about:blank
3. In the Actions pane, click Connect. Wait until the virtual machine starts.
4. following credentials:
Administrator
Adatum
Scenario
2.
Detailed Steps
Detailed Steps
40 of 45 3/12/2019, 12:37 PM
about:blank
Result: After completing this exercise, you should have successfully created
several volumes.
Scenario
2. Shrink a volume
3. exercise
Detailed Steps
Detailed Steps ▼
Detailed Steps ▼
Result: After completing this exercise, you should have successfully resized a
volume.
Scenario
You are required to create and configure virtual hard disks for use in a Windows
41 of 45 3/12/2019, 12:37 PM
about:blank
Server 2016 server computer. The virtual hard disk is for the Sales department. You
decide to use Windows PowerShell to achieve these objectives. First, you must
install the Windows PowerShell Hyper-V module.
1. module
2.
3. hard disk
Detailed Steps ▼
Detailed Steps
Detailed Steps
Detailed Steps
Result: After completing this exercise, you should have successfully created and
managed virtual hard disks by using Windows PowerShell.
Review Question(s)
Check
Discovery
In the Diskpart.exe command-line resize volumes.
What PowerShell cmdlets could you
42 of 45 3/12/2019, 12:37 PM
about:blank
Discovery
Your current volume runs out of disk space. You have another disk available in the same
server. What actions in the Windows operating system can you perform to help you add
disk
Show solution
Module takeaways
• Use the GPT partition table format for disks larger than 2 TB.
Review Question(s)
Discovery
What Disk Management?
Show solution
Check Knowledge
Discovery
43 of 45 3/12/2019, 12:37 PM
about:blank
Tools
The following table lists the tools that this module references.
Tool Use to
Mklink.
Create a symbolic
file or folder
Defrag.
Disk defragmentation
for NTFS-formatted
volumes.
44 of 45 3/12/2019, 12:37 PM
about:blank
or virtual disks
45 of 45 3/12/2019, 12:37 PM