Day 3 Storage
Day 3 Storage
Day 3 Storage
• Block Storage
Data is split into fixed-sized blocks and managed by the OS or applications.
High performance and low latency.
• Examples: Amazon Elastic Block Store (EBS), SANs.
• Use Cases: Databases, virtual machines, transactional systems.
• Advantages: High performance, flexibility.
• File Storage
Organized in a hierarchical structure (files and folders).
Accessed via protocols like NFS or SMB.
• Examples: NAS devices, Amazon EFS.
• Use Cases: Shared drives, collaboration, content management.
• Advantages: User-friendly, network sharing.
Type of Storage
• Based on Media Type
• Magnetic Storage
Uses magnetic properties to store data.
Examples: HDDs, magnetic tapes.
Use Cases: Long-term storage, cost-effective solutions.
Advantages: Cost-efficient, large capacity.
• Flash Storage
Non-volatile storage using NAND flash memory.
Examples: SSDs, NVMe drives.
Use Cases: High-performance computing, consumer devices.
Advantages: Low latency, high speed.
Type of Storage
Feature HDD SSD NVMe
use spinning magnetic SSDs use NAND flash NVMe is a protocol designed
disks (platters) and a memory to store data specifically for SSDs,
mechanical arm (actuator) electronically, with no leveraging the PCIe interface
to read and write data. moving parts. for faster data transfer.
Speed 50–150 MB/s 200-3500 MB/s Up to 7,000 MB/s (PCIe 4.0)
Capacity 500GB–20TB 128 GB – 8 TB 256GB–8TB
Interface SATA, SAS SATA, PCIe PCIe (x2, x4, x8 lanes)
Use Case Archiving, bulk storage General computing, gaming Professional, high-
performance
RAID
Redundant Array
of Independent Disks
What is RAID?
1 TB 1 TB 1 TB 1 TB
Raw Capacity: 4 TB
Usable Capacity: N-1 = 4 -1 = 3 TB
RAID 10
• Mirroring and Striping
• RAID 10, also known as RAID 1+0, combines the features of RAID1 ( mirroring) and RAID 0
(striping).
• Key Feature:
• Data is mirrored across pairs of drives( RAID 1), ensuring redundancy.
• Mirrored pairs are striped ( RAID 0) for improved performance.
• Offers fast read and write speeds due to striping.
• Can tolerate multiple drive failures as long as no mirrored pair is lost entrirely.
• Require at least four drives.
RAID 10
• RAID 10 Configuration
• Mirrored Pairs:
Disk 1 is mirrored with Disk 2.
Disk 3 is mirrored with Disk 4.
• Striping:
Data is striped across the two mirrored pairs for better read/write performance.
• Available Storage Capacity
Each mirrored pair provides the storage of one drive (2 TB).
Two mirrored pairs combined provide 2 TB + 2 TB = 4 TB, but only half of the total raw capacity is
usable due to mirroring.
• Total Usable Storage in RAID 10 with 4 Drives: 4 TB.
Data Integrity
Data Integrity
What's happening in present day?
RAID 6:
• a. It is seen as the best way to
guarantee data integrity as it uses
double parity.
• b. Require at least 4 drive.
• c. It has a drawback though of longer
write time.
Data Integrity
Quiz
You have 8 drives, each with 1 TB capacity, in a RAID 10 configuration. What is the total usable capacity?
4 TB
In a RAID 6 array with 8 drives, how many drives can fail without data loss?
2
"A police department maintains a criminal records database that requires moderate performance, redundancy,
and cost-efficiency. Which RAID level do you recommend?"
RAID 5
"A government IT department is setting up a disaster recovery site for its public-facing websites. The storage must
ensure redundancy and quick recovery times. Which RAID level do you recommend?"
RAID 10
"A research lab runs machine learning models requiring fast access to massive datasets. Redundancy is not
critical, as the data can be regenerated if lost. Which RAID level do you recommend?"
RAID 0
RAID Implementation
• iSCSI:
Internet-based protocol using TCP/IP for SAN connectivity.
Cost-effective and uses existing Ethernet infrastructure.
Data Storage Technology
SAN Architecture:
Current SAN Technologies and Trends:
• Modern SAN Features:
• High-Speed Protocols
• NVMe-oF (NVMe over Fabrics):
• Uses NVMe protocol for ultra-low latency and high-speed storage access.
• Supported over Fiber Channel, RDMA, and TCP/IP networks.
• Ideal for AI/ML, real-time analytics, and other performance-critical applications.
• Fiber Channel (FC)
• Advanced Fiber Channel (16Gb, 32Gb, and 64Gb) provides high-speed, low-latency
connectivity.
• Ensures reliable communication in enterprise SAN environments.
• iSCSI (Internet Small Computer Systems Interface):
• Cost-effective block-level SAN protocol over Ethernet.
• Supports 10GbE, 25GbE, or 100GbE connections for faster data transfer
IOPS
Definition:
IOPS measures the number of input/output operations a storage device can perform in a second. It
is a critical performance metric for assessing storage device speed, especially for random workloads.
SATA SSDs
IOPS Range:
• Read: 20,000–100,000 IOPS
• Write: 10,000–90,000 IOPS
NVMe SSDs
IOPS Range:
• Consumer-grade: 200,000–500,000 IOPS
• Enterprise-grade: 500,000–1,000,000+ IOPS
IOPS based on Raid types
RAID 0 (Striping)
IOPS Impact:
• Read IOPS = Sum of all drives’ IOPS.
• Write IOPS = Sum of all drives’ IOPS.
RAID 1 (Mirroring)
IOPS Impact:
• Read IOPS = Sum of all drives’ IOPS (reads can be done in parallel).
• Write IOPS = Same as a single drive’s IOPS (writes must be mirrored).
#List WWPN On FC
• Switch2fcswitch1> switchshow
Index Port Address Media Speed State Proto
==================================================
0 0 010000 id N16 Online FC F-Port 10:00:00:10:9a:c3:2e:e8
1 1 010100 id N16 Online FC F-Port 10:00:00:10:9a:c3:2e:f4
2 2 010a00 id N16 Online FC F-Port 21:70:00:c0:ff:f1:c4:20
3 3 010b00 id 16G Online FC F-Port 25:70:00:c0:ff:f1:c4:20
Zoning Configuration in Traditional SAN Architecture
Create Alias
•#On FC Switch 1
alicreate "Server1-1","10:00:00:10:9a:c3:2e:e7"
alicreate "Server2-1","10:00:00:10:9a:c3:2e:f3"
alicreate "STRG-Ctrl-A1","20:70:00:c0:ff:f1:c4:20"
alicreate "STRG-Ctrl-B1","24:70:00:c0:ff:f1:c4:20"
•#On FC Switch 2
alicreate "Server1-2","10:00:00:10:9a:c3:2e:e8"
alicreate "Server2-2","10:00:00:10:9a:c3:2e:f4"
alicreate "STRG-Ctrl-A2","21:70:00:c0:ff:f1:c4:20"
alicreate "STRG-Ctrl-B2","25:70:00:c0:ff:f1:c4:20"
Zoning Configuration in Traditional SAN Architecture
Create Zoning
#On FC Switch 1
zonecreate "ZONE1","Server1-1;STRG-Ctrl-A1;STRG-Ctrl-B1"
zonecreate "ZONE2","Server2-1;STRG-Ctrl-A1;STRG-Ctrl-B1"
#On FC Switch 2
zonecreate "ZONE1","Server1-2;STRG-Ctrl-A2;STRG-Ctrl-B2"
zonecreate "ZONE2","Server2-2;STRG-Ctrl-A2;STRG-Ctrl-B2"
Zoning Configuration in Traditional SAN Architecture
Create CFG
#On FC Switch 1
cfgcreate "cfg-fcswitch1","ZONE1;ZONE2"
#On FC Switch 2
cfgcreate "cfg-fcswitch2","ZONE1;ZONE2"
Enable CFG
#On FC Switch 1
cfgenable "cfg-fcswitch1"
#On FC Switch 2
cfgenable "cfg-fcswitch2"
Thank You!
Dipen Khadka Santosh Parajuli
9864475529 9861585018
dipen@cyphertechnepal.com santosh@cyphertechnepal.com