Module 5 Storage Options
Module 5 Storage Options
Server-based storage
Using Windows Server 2016 as a file server gives you central access to your files.
Although the file server contains local storage, larger organizations will often acquire separate
storage systems optimized for performance and security.
You connect these separate storage systems to the server
Windows Server 2012 R2 adds functionality, such as Work Folders, offline files, and failover
clustering, that makes it suitable as a file server for both small, medium, and large enterprises.
NAS
NAS is storage that is connected to a dedicated storage device.
You can access it over the network.
Unlike DAS, NAS is not directly attached to a computer or server, and users access it over the
network.
NAS has two distinct solutions:
o a low-end appliance (NAS only), and
o an enterprise-class NAS that integrates with SAN.
Each NAS device has a dedicated operating system that controls access to the data on the device,
which reduces the overhead associated with sharing the storage device with other server services.
An example of NAS software is Windows Storage Server, a special edition of Windows Server 2012
R2.
NAS devices typically provide file-level access to the storage, which means that you can access the
data on the storage only as files.
You must use protocols such as
o Common Internet File System (CIFS),
o Server Message Block (SMB), or
o network file system (NFS)
to access the files.
To enable NAS storage, you need a storage device.
Frequently, these devices do not have any server interfaces such as keyboards, mice, and monitors.
To configure the device, you need to provide a network configuration, and then access the device
across the network.
You can then create network shares on the device by using the name of the NAS and the share
created. The network’s users can then access these shares.
Cloud Based
Storage Cloud storage simplifies access to your files as long as you have Internet access.
When you sign in with your Microsoft account, you can access all the files on your Microsoft
OneDrive.
Microsoft also offers enterprise cloud storage with Microsoft Azure Storage.
Cloud storage provides several benefits:
o Easy access anywhere to data such as photos, music, and documents.
o Automatic backup of important files.
o Synchronizing favorites and other settings across devices.
OneDrive
OneDrive offers the benefits of making files accessible by any device, while offering a seamless end user
experience in the desktop client.
Azure Storage
Microsoft Azure Storage is a cloud storage solution that developers and IT professionals use to build
applications.
Azure Storage saves data in the cloud.
You can access Azure Storage by using any type of device and by using any type of application, from
the smallest app to applications with terabytes of data.
Azure Storage can handle four types of storage:
o Blob storage stores any type of text or binary data. This includes documents and media files.
o Table storage stores structured datasets. Table storage is a NoSQL key-attribute data store.
o Queue storage provides messaging for workflows. Communication between different
components of cloud services is also one of the uses of queue storage.
o File storage uses the standard SMB protocol. Azure virtual machines and cloud services can
share file data with file storage. On-premises applications can also access file data in a share
via file storage.
GPT disks
GPT disks contain an array of partition entries that describe the start and end LBA of each partition
on a disk.
Each GPT partition has a unique GUID and partition-content type.
Each LBA that the partition table describes is 64 bits in length.
The UEFI specifies the GPT format, but it is not exclusive to UEFI systems.
Both 32-bit and 64-bit Windows operating systems support GPT for data disks on BIOS systems.
However, they cannot boot from them. 64-bit Windows operating systems support GPT for boot
disks on UEFI systems.
GPTarchitecture
A GPT-partitioned disk defines the following sectors:
o Sector 0 contains a legacy protective MBR, which contains one primary partition that covers the
entire disk:
o The protective MBR protects GPT disks from previously released MBR disk tools, such as the MS-
DOS fdisk or Windows NT Disk Administrator. These tools view a GPT disk as a single
encompassing (possibly unrecognized) partition by interpreting the protected MBR, rather than
mistaking the disk for one that does not have any partitions.
o This means that the tools will not view a GPT-initialized disk as having no partitions, making it
less vulnerable to incidental data loss.
o Legacy software that is not aware of GPT interprets only the protected MBR when it accesses a
GPT disk.
o Sector 1 contains a partition table header.
o The partition table header contains the unique disk GUID, the number of partition entries
(usually 128), and pointers to the partition table.
o Sector 2 The partition table starts at sector 2.
o Each partition entry contains:
o a unique partition GUID,
o the partition offset, l
o length,
o type (also a GUID),
o attributes, and
o a 36-character name.
o The following table describes the partitions that Windows 10 creates when you install it
on a GPT disk.
Dynamic Disks
- Dynamic disks provide features that basic disks do not.
- You can create volumes that span multiple disks and fault-tolerant volumes.
- Dynamic disks can also use the MBR or GPT partition styles.
- Dynamic disks use a database to track information about volumes on dynamic disks in the
computer.
- Each dynamic disk in a computer stores a replica of the dynamic disk database, which is
useful if you experience a corrupted dynamic disk database.
- Windows can repair the corrupted dynamic disk by using the database on another dynamic
disk.
- The partition style of the disk determines the location of the database.
- On MBR partitions, Windows 10 stores the database in the last 1 MB of the disk.
- On GPT partitions, the database is located in a 1-MB reserved and hidden partition.
You can perform the following operations only on dynamic disks:
- Create and delete spanned, striped, and mirrored volumes.
- Extend a simple volume to a noncontiguous space or spanned volume.
- Remove a mirror from a mirrored volume.
- Repair mirrored volumes.
- Reactivate a missing or offline disk.
- You cannot convert a basic disk to a dynamic disk unless there is at least 1 MB of unused
space on the disk because of the Logical Disk Manager database.
- You cannot convert a dynamic disk to a basic disk without losing data. You need to delete all
dynamic volumes on the disk. Disk Management automatically converts the disk to basic
when you delete the last volume.
- You cannot use Windows PowerShell to manage dynamic disks. The storage cmdlets will not
recognize dynamic disks.
Disk Management
o By using the Disk Management snap-in to the Microsoft Management Console (MMC),
administrators can manage volumes quickly and confirm the health of each volume. Disk
Management in Windows 10 provides the same features as previous versions, including:
DiskPart
o By using DiskPart, you can manage fixed disks and volumes by using scripts or direct input from the
command line.
o At the command prompt, type DiskPart, and then enter commands at the DiskPart command
prompt.
o The following are common DiskPart actions:
o To view a list of DiskPart commands, at the DiskPart command prompt, type commands.
o To create a DiskPart script in a text file and then run the script, type a script similar to
diskpart /s testscript.txt.
o To create a log file of the DiskPart session, type DiskPart /s testscript.txt > logfile.txt.
o The following table shows several DiskPart commands that you will use frequently.
Command Description
list disk Displays a list of disks and related information, including: Disk size The
amount of available free space on the disks Whether the disks are basic or
dynamic Whether the disks use the MBR or GPT partition style The disks
marked with an asterisk (*) are the ones against which the commands will
execute.
select disk Selects the specified disk, where disknumber is the disk number, and gives
disknumber it focus.
convert gpt Converts a disk with the MBR partition style to a basic disk with the GPT
partition style
Windows PowerShell
- Prior to Windows PowerShell 3.0, if you wanted to script disk management tasks, you had to make
calls to Windows Management Instrumentation (WMI) objects or include DiskPart in your scripts.
- Windows PowerShell 3.0 and newer versions include commands for natively managing disks. The
following table details some Windows PowerShell commands.
Scenario Description
Business desktop Most business users require a basic disk and one basic volume for storage, but
computer with one do not require a computer with volumes that span multiple disks or that
disk provide fault tolerance. This is the best choice for those who require simplicity
and ease of use.
Business desktop If small business users want to upgrade their operating systems and reduce
computer with one the impact on their business data, they must store the operating system in a
disk and more than separate location from business data. This scenario requires a basic disk with
one volume two or more simple volumes. Users can install an operating system on the first
volume, creating a boot volume or system volume, and use the second volume
to store data. When a new version of an operating system releases, users can
reformat the boot or system volume, and then install the new operating
system. The business data, located on the second volume, remains untouched.
- There are two main disadvantages of using mirrored volumes. Write operations are slightly slower
as every write needs to occur on both disks. Mirrored volumes are the least efficient use of space
compared with other disk configurations. Characteristics of spanned volumes A spanned
volume gives users the option to gather noncontiguous free space from two or more disks into the
same volume. A spanned volume does not provide any fault tolerance. Additionally, because the
areas that you combine are not necessarily equally distributed across the participating disks, there is
no performance benefit to implementing spanned volumes. I/O performance is comparable to
simple volumes. You can create a spanned volume by extending a simple volume to an area of
unallocated space on a second disk, or you can designate multiple disks during the volume-creation
process. The benefits of using spanned volumes include uncomplicated capacity planning and
straightforward performance analysis. If you create a new spanned volume, you must define the
same properties as when you create a simple volume in terms of size, file system, and drive letter. In
- addition, you must define how much space to allocate to the spanned volume from each physical
disk. You can create spanned volumes on dynamic disks only. If you attempt to create a spanned
volume on basic disks, the Windows operating system prompts you to convert the disk to dynamic
after you have defined the volume’s properties and confirmed the choices. It is possible to shrink a
spanned volume. However, it is not possible to remove an area from a specific disk. For example, if a
spanned volume consists of three 100-MB partitions on each of three disks, you cannot delete the
third element. If you install additional hard disks, it is possible to extend the spanned volume to
include areas of unallocated space on the new disks, as long as the total number of disks does not
exceed the 32-disk limit for spanned volumes.