Microsoft Offical Course 20410C_09

35
Microsoft ® Official Course Module 9 Implementing Local Storage

Transcript of Microsoft Offical Course 20410C_09

Page 1: Microsoft Offical Course 20410C_09

Microsoft® Official Course

Module 9

Implementing Local Storage

Page 2: Microsoft Offical Course 20410C_09

Module Overview

Overview of Storage

Managing Disks and Volumes• Implementing Storage Spaces

Page 3: Microsoft Offical Course 20410C_09

Lesson 1: Overview of Storage

Disk Types and Performance

What Is Direct Attached Storage?

What Is Network Attached Storage?

What Is a SAN?

What Is RAID?

RAID Levels•Windows Server 2012 and Windows Server 2012 R2 Storage Features

Page 4: Microsoft Offical Course 20410C_09

Disk Types and Performance

EIDE

SCSI

SATA

SAS

Cost

Performance

Slow

S

low

~150 IO

PS

~

210 IOPS

F

ast: 1.5mio

IPOS

SSD

As performance increases, so does cost

Page 5: Microsoft Offical Course 20410C_09

What Is Direct Attached Storage?

Advantages: Disadvantages:

Easy to configure Inexpensive

solution

Slower Isolated because the

disks are attached to a single server

DAS is physically attached to the server

Server with attached disks

Page 6: Microsoft Offical Course 20410C_09

What Is Network Attached Storage?

Advantages:• Relatively

inexpensive, NAS offers centralized storage at an affordable price

• Easy to configureDisadvantages:• Slower access times• Not an enterprise

solution

NAS is storage that is attached to a dedicated storage device and accessed through network shares

File Server

Local Area Network (Ethernet)

NAS Device

File-level access (CIFS, NFS)

Network

Page 7: Microsoft Offical Course 20410C_09

What Is a SAN?

Advantages:

• Fastest access times • Easily expandable• Centralized storage• High level of redundancy

Disadvantages:

• More expensive• Requires specialized skills

SANs offers higher availability with the most flexibility

SANs can be implemented using Fibre Channel or iSCSI

Servers

Switches

Storage Devices

Page 8: Microsoft Offical Course 20410C_09

What Is RAID?

RAID:• Combines multiple disks into a single logical unit to provide fault tolerance and performance• Provides fault tolerance by using:

• Disk mirroring• Parity information

• Can provide performance benefits by spreading disk I/O across multiple disks• Can be configured using several different levels• Should not replace server backups

Page 9: Microsoft Offical Course 20410C_09

RAID Levels

Striped set without parity or mirroring

RAID 0

A2A1

A4

A6

A8

A3

A5

A7

Disk 0 Disk 1

Page 10: Microsoft Offical Course 20410C_09

RAID Levels

Mirrored drives

RAID 1

A1A1

A2

A3

A4

A2

A3

A4

Disk 0 Disk 1

Page 11: Microsoft Offical Course 20410C_09

RAID Levels

Block level striped set with parity distributed across all disks

RAID 5

A1

B1

C1D1

A2

B2

C2Dp

A3

B3

CpD2

A4

Bp

C3D3

Ap

B4

C4D4

Disk 0 Disk 1 Disk 2 Disk 3 Disk 4

Page 12: Microsoft Offical Course 20410C_09

RAID Levels

Block level striped set with parity distributed across all disks

RAID 6

A1

B1

C1D1

Disk 0

A2

B2

C2Dp

Disk 1

A3

B3

CpDp

Disk 2

A4

Bp

CpD2

Disk 3

Ap

Bp

C3D3

Disk 4

Ap

B4

C4D4

Disk 5

Page 13: Microsoft Offical Course 20410C_09

RAID Levels

Each pair of disks is mirrored, then the mirrored disks are striped

RAID 1 + 0

A1A2A3A4

A5A6A7A8

A9A10A11A12

A13A14A15A16

Mir

rore

d

A1A2A3A4

Disk 0

A5A6A7A8

Disk 1

A9A10A11A12

Disk 2

A13A14A15A16

Disk 3

Disk 4 Disk 5 Disk 6 Disk 7

Striped

Page 14: Microsoft Offical Course 20410C_09

Windows Server 2012 and Windows Server 2012 R2 Storage Features

Windows Server 2012 and Windows Server 2012 R2 provide several file and storage services enhancements including:• Storage Spaces• Data deduplication• iSCSI Target Server• Management enhancements• Work Folders• DFS enhancements

Page 15: Microsoft Offical Course 20410C_09

Lesson 2: Managing Disks and Volumes

Selecting a Partition Table Format

Selecting a Disk Type

Selecting a File System

What Is ReFS?

What Are Mount Points and Links?

Demonstration: Creating Mount Points and Links

Extending and Shrinking Volumes

Managing Virtual Hard Disks•Demonstration: Managing Virtual Hard Disks

Page 16: Microsoft Offical Course 20410C_09

Selecting a Partition Table Format

Use MBR for disks smaller than 2 TB

Use GPT for disks larger than 2 TB

MBR• Standard Partition table format since early 1980s• Supports a maximum of 4 primary partitions per drive• Can partition a disk up to 2 TB

GPT • GPT is the successor of MBR partition table format • Supports a maximum of 128 partitions per drive• Can partition a disk up to 18 EB

Page 17: Microsoft Offical Course 20410C_09

Selecting a Disk Type

Basic disks are:• Disks initialized for basic storage• The default storage for Windows operating system

Dynamic disks can:• Be modified without restarting Windows• Provide several options for configuring volumes

Disk volume requirements include:• A system volume for hardware-specific files that are required to start the server• A boot volume for the Windows operating system files

Page 18: Microsoft Offical Course 20410C_09

Selecting a File System

FAT provides:• Basic file system• Partition size limitations• FAT32 to enable larger disks• exFAT developed for flash drives

NTFS provides:• Metadata• Auditing and journaling• Security (ACLs and encryption)

ReFS provides:• Backward compatibility support for NTFS• Enhanced data verification and error correction• Support for larger files, directories, volumes, and so on

When selecting a file system, consider the differences between FAT, NTFS, and ReFS

Page 19: Microsoft Offical Course 20410C_09

What Is ReFS?

ReFS is a new file system that is built in to Windows Server 2012. Advantages include:

• Metadata integrity with checksums• Integrity streams with user data integrity• Allocation on write transactional model• Large volume, file, and directory sizes (2^78 bytes

with 16-KB cluster size)

• Storage pooling and virtualization• Data striping for performance and redundancy• Disk scrubbing for protection against latent disk

errors• Resiliency to corruptions with recovery• Shared storage pools across machines

Page 20: Microsoft Offical Course 20410C_09

What Are Mount Points and Links?

A mount point is a reference to a location on a disk that enables Windows operating system access to disk resources

Use volume mount points:

• To mount volumes or disks as folders instead of using drive letters

• When you do not have drive letters available for creating new volumes

• To add disk space without changing the folder structure

A link file contains a reference to another file or directory

Link options:• Symbolic file link (or, soft link)

• Symbolic directory link (or, directory junctions)

Page 21: Microsoft Offical Course 20410C_09

Demonstration: Creating Mount Points and Links

In this demonstration, you will see how to:• Create a mount point• Create a directory junction for a folder• Create a hard link for a file

Page 22: Microsoft Offical Course 20410C_09

Extending and Shrinking Volumes

When you want to resize a disk, consider the following:

• You can extend or shrink NTFS volumes• ReFS volumes can only be extended• FAT/FAT32/exFAT cannot be resized• You can shrink a volume only up to immovable files• Bad clusters on a disk prevent you from shrinking a

volume

You can resize NTFS volumes from the Windows operating system, beginning with Windows Vista and Windows Server 2008

Page 23: Microsoft Offical Course 20410C_09

Managing Virtual Hard Disks

Virtual hard disks are files that can be managed just like physical hard disks

You can:• Create and manage virtual hard disks using Disk Management and Diskpart• Configure .vhd or .vhdx files • Configure computers to start from the virtual hard disk• Transfer virtual hard disks from Hyper-V servers and start computers from the virtual hard disk• Use virtual hard disks as a deployment technology

Page 24: Microsoft Offical Course 20410C_09

Demonstration: Managing Virtual Hard Disks

In this demonstration, you will see how to:• Create a virtual hard disk• Manage a virtual hard disk

Page 25: Microsoft Offical Course 20410C_09

Lesson 3: Implementing Storage Spaces

What Is the Storage Spaces Feature?

Virtual Disk Configuration Options

Advanced Management Options for Storage Spaces

Demonstration: Configuring Storage Spaces•Discussion: Comparing Storage Spaces with Other Storage Solutions

Page 26: Microsoft Offical Course 20410C_09

What Is the Storage Spaces Feature?

Physical Disks

Storage Pool

Virtual Disk

Disk Drive

• Use storage spaces to add physical disks of any type and size to a storage pool, and then create highly-available virtual disks from the storage pool• To create a virtual disk, you need the following:• One or more physical disks• Storage pool that includes the disks• Virtual disk that are created with disks from the storage pool

• Disk drives that are based on virtual drives

• Virtual disks are not virtual hard disks; they should be considered a drive in Disk Manager• Windows Server 2012 R2 enables Storage Space tiering and write-back caching

Page 27: Microsoft Offical Course 20410C_09

Virtual Disk Configuration Options

Feature Options

Storage Layout • Simple• Two-way or three-way

mirror• Parity

Disk sector size • 512 or 512e

Drive allocation • Automatic• Manual• Hot Spare

Provisioning schemes

• Thin vs. fixed provisioning

Page 28: Microsoft Offical Course 20410C_09

Advanced Management Options for Storage Spaces

•Basic Management for Storage Spaces is available in Server Manager• For disk failure:• Do not use chkdsk or scan disk • Remove the drive and add a new one

•Advanced management requires Windows PowerShell

Page 29: Microsoft Offical Course 20410C_09

Advanced Management Options for Storage Spaces

Windows PowerShell cmdlet Description

Get-StoragePool List storage pools

Repair-VirtualDisk Repair a virtual disk

Get-PhysicalDisk |Where{$_.HealthStatus -ne “Healthy”}

List unhealthy physical disks

Reset-PhysicalDiskRemove a physical disk from a storage pool

Get-VirtualDisk |Get-PhysicalDisk

List physical disks used for a virtual disk

Page 30: Microsoft Offical Course 20410C_09

Demonstration: Configuring Storage Spaces

In this demonstration, you will see how to:• Create a storage pool• Create a virtual disk and a volume

Page 31: Microsoft Offical Course 20410C_09

Discussion: Comparing Storage Spaces with Other Storage Solutions

1. Does your organization currently use SANs or NAS?

2. What  are the advantages of using Storage Spaces compared to using SANs or NAS?

3. What are the disadvantages of using Storage Spaces compared to using SANs or NAS?

4. In what scenarios would you recommend each option?

10 minutes

Page 32: Microsoft Offical Course 20410C_09

Lab: Implementing Local Storage

Exercise 1: Installing and Configuring a New Disk

Exercise 2: Resizing Volumes•Exercise 3: Configuring a Redundant Storage Space

Logon Information

Virtual machines20410C-LON-DC120410C-LON-SVR1

User name Adatum\AdministratorPassword Pa$$w0rd

Estimated Time: 30 minutes

Page 33: Microsoft Offical Course 20410C_09

Lab Scenario

Your manager has asked to add disk space to a file server.

After creating volumes, your manager has also asked you to resize those volumes based on updated information he has been given.

Finally, you need to make data storage redundant by creating a three-way mirrored virtual disk.

Page 34: Microsoft Offical Course 20410C_09

Lab Review

At a minimum, how many disks must you add to a storage pool to create a three-way mirrored virtual disk?•You have a USB-attached disk, four SAS disks, and one SATA disk that are attached to a Windows Server 2012 server. You want to provide a single volume to your users that they can use for file storage. What would you use?

Page 35: Microsoft Offical Course 20410C_09

Module Review and Takeaways

Review Questions

Best Practices•Tools