Chapter5 - Data Storage Full
Chapter5 - Data Storage Full
COURSE
Network Technology
3/63
/50 4/63
/50
Storage Devices Partitions, Filesystems, and Volumes
Communications interface ❖Storage device is divided into sections
called partitions.
❖IDE (Integrated Drive Electronics) 100 - 133 MB/s ❖Before you can store files in a partition,
you must format it with a filesystem.
❖Small Computer Systems Interface (SCSI) 320 MB/s
2: 300 MB/s ➢Filesystems provide a structure that specifies how data should reside
❖Serial Advanced Technology Attachment (SATA) 3: 600 MB/s on the storage device itself.
➢Filesystems also define storage-related features that operating
2: 6 GB/s
5: 45 GB/s (being systems can use, including permissions, compression, encryption,
❖Serial Attached SCSI (SAS) 3: 12 GB/s
developed) and journaling.
4: 22.5 GB/s (2017)
o A journaling filesystem uses a journal to keep track of the
❖Non-Volatile Memory Express (NVMe) 3.5 GB/s information written to the storage device.
5/63
/50 6/63
/50
Copy
RAM
7/63
/50 8/63
/50
Partitions, Filesystems, and Volumes Partitions, Filesystems, and Volumes
❖With a journaling filesystem, each step required to copy the file to the ❖A filesystem may reside on one partition on your storage device or span
new location is first written to a journal. multiple partitions on different storage devices using RAID.
➢This allows the system to automatically retrace the steps taken prior
to a power outage and complete the file copy, after the power is
restored.
+ +
❖NTFS, ReFS are journaling filesystems, while FAT32 and exFAT are not. o X: is called a simple volume. C: is called a RAID volume.
9/63
/50 10/63
/50
❖On systems that use a UEFI, the installation program also creates a
UEFI system partition (also called an EFI system partition) formatted
with FAT32.
➢Store the boot loader program used to load the operating system
after the system is powered on.
❖On Microsoft systems
❑ ➢Partition that contains the boot loader is called system partition.
✓
➢Partition that contains operating system is called boot partition.
13 14/63
/50
17/63
/50 18/63
/50
19/63
/50 20/63
/50
RAID Types and Strategies RAID Types and Strategies
❖To protect data against storage device failure, you can spread ❖RAID level 0 (striping) divides an individual file
filesystems across several storage devices using a fault tolerant RAID into sections and saves it concurrently on two or
volume. more storage devices, one section per storage
❖In addition, to speed up access to storage devices and to combine device.
multiple storage devices into a single volume.
❖Striping is useful when you need to speed up
storage device access (e.g., with hard disks), but
it is not fault tolerant.
❖Fault-tolerant RAID volumes are not a replacement for performing
➢If one storage device fails in a striping
regular data backups.
configuration, all data is lost.
➢If files become corrupted, or are inadvertently deleted from a fault-
tolerant RAID volume, you will need to restore those files from a
backup.
21/63
/50 22/63
/50
❖The same data is written to two separate storage ❖Requires a minimum of three storage
devices at the same time. If one fails, the copy devices.
automatically replaces the failed storage device.
❖One of the storage devices used to store
❖Drawback to RAID level 1 is the cost. the parity information.
❖Can replace the storage device and regenerate the data using the
❖RAID level 2 is no longer used and was a variant of RAID 0 that parity information.
allowed for error and integrity checking on storage devices. Modern ➢If the parity storage device fails, the system must be restored from
storage devices do this intrinsically. a backup device.
23/63
/50 24/63
/50
RAID Types and Strategies RAID Types and Strategies
❖RAID level 4 is only a slight variant on RAID level 3. ❖RAID level 5 replaces RAID levels 3 and 4.
❖Requires a minimum of three storage devices.
➢Offers greater access speed than RAID level 3 because it can store ❖The parity information is intermixed with data on the storage devices
data in blocks and, thus, does not need to access all storage devices that make up the set.
at once to read data. ➢This offers better performance and fault tolerance;
❖If two storage devices fail at the same time, the data must be restored
from a backup copy.
25/63
/50 26/63
/50
❖22 + 12 = 34
❖68 – 65 = 3
❖13 -9 = 4
27/63
/50 28/63
/50
RAID Types and Strategies RAID Types and Strategies
❖RAID levels are often combined ❖RAID configurations can be handled by:
➢Software running on an operating system (called software RAID)
➢RAID level 10 refers to a striping ➢Hardware contained on a storage controller (called hardware
configuration (RAID level 0) that is mirrored RAID)
(RAID level 1) to another striping configuration. ➢System BIOS (called firmware RAID).
❖To ensure that the processor performance of the system is not impacted
➢RAID level 15 refers to a striping with following a RAID level 5 storage device failure, storage controllers that
parity configuration (RAID level 5) that provide hardware RAID level 5 contain a small processor that is used to
is mirrored (RAID level 1) to another perform the calculations needed to provide data to users.
striping with parity configuration.
❖Most firmware RAID devices only support RAID levels 0 and 1.
29/63
/50 30/63
/50
SAN Storage
❖Some modern rackmount servers contain only enough storage to host
the operating system and associated server programs.
31 32/63
/50
SAN Storage SAN Storage
❖SAN devices use hardware RAID internally to provide fault tolerance. ❖SAN devices are not the same as Network-Attached Storage (NAS)
devices.
❖SAN devices only provide storage to other systems via SAN protocol.
❖NAS devices often contain several storage devices configured using
hardware RAID.
❖Do not format or manage filesystems on this storage.
➢Instead, the operating system that connects to the SAN device
provides this functionality. ❖NAS devices run an operating
➢As a result, it is functionally similar to an external USB drive system and function as a file
server on the network that
clients connect to using SMB,
NFS, or File Transfer Protocol
(FTP).
33/63
/50 34/63
/50
❖Some rackmount servers include an iSCSI initiator in the system BIOS. ❖Fibre Channel (FC) is a technology that can be used to transport
SCSI data to a remote FC SAN device, across an Ethernet or fiber optic
cable at speeds of up to 128 Gb/s.
❖In this case, you can configure the iSCSI initiator in the system BIOS to
connect to the iSCSI target before installing Windows Server. ❖A rackmount server uses a hardware-based FC controller called an FC
Host Bus Adapter (HBA) that connects to an FC SAN device.
➢This allows you to create the
system and boot partitions on
the iSCSI target during the
Window Server installation,
eliminating the need for local
storage devices in the
rackmount server.
39/63
/50 40/63
/50
Fibre Channel SAN Device Connecting Windows Server to a Fibre Channel SAN Device
❖Each FC SAN device contains FC-capable storage devices connected via ❖An FC HBA can also be an
an FC switch. FC-capable 10 Gb Ethernet
network interface if the FC
SAN device uses FC over
Ethernet (FCoE).
❖FC-capable storage devices are normally SAS hard disks or SSDs that
contain additional FC circuitry, or NVMe SSDs that have an FC capable
memory controller.
41/63
/50 42
Using MPIO to Connect to Multiple SAN Devices Using MPIO to Connect to Multiple SAN Devices
❖Data center server environments ❖Larger data centers often have multiple
often have several iSCSI or FC SAN SANs that host the same information.
devices.
❖In this case, servers can have multiple
❖Each server in a data center can connections to different SANs to provide
have multiple connections to a fault tolerance in case a single SAN
single SAN for fault tolerance in becomes unavailable, or to load balance
case a single connection becomes requests across multiple SANs for greater
unavailable, or to load balance speed.
requests across multiple
connections for greater speed.
❖These configurations are called Multipath
Input output (MPIO).
43/63
/50 44/63
/50
Enabling Data Deduplication
❖Data Deduplication
➢Users may store multiple copies of the same document in different
folders on the same volume. → Wasting unnecessary space.
45 46/63
/50
47/63
/50 48/63
/50
Optimizing Volumes Optimizing Volumes
❖When saving a file to a filesystem on a hard disk, ❖When accessing a fragmented file
➢OS saves the file to the first area of available space without caring ➢Slowing access time and creating additional hard disk wear.
the size of that area.
o Might be saved to several different areas of the hard disk.
❖Defragmentation: defragmenting
locates fragmented files and moves
them to a location on the hard disk
where they can be stored and read
(Fragmented File) as a single unit.
49/63
/50 50/63
/50
❖Incremental backup:
➢At first time, full backup.
❖Windows Server Backup can use to back up files on NTFS and ReFS
➢From the next time, only back up data
volumes to a dedicated storage device, local volume, or shared folder on
that has been modified since the previous backup.
the network.
o Less time to complete.
➢To restore data, you must restore the first full backup, followed by
❖Many organizations purchase third-party backup software. all subsequent incremental backups, in order.
57/63
/50 58/63
/50
61/63
/50 62/63
/50