Documente Academic
Documente Profesional
Documente Cultură
Chapter 2
Chapter Objectives
Upon completion of this chapter, you will be able to: List components of storage system environment
Host, connectivity and storage
List physical and logical components of hosts Describe key connectivity options Describe the physical disk structure Discuss factors affecting disk drive performance
Upon completion of this lesson, you will be able to: Describe the three components of storage system environment
Host, Connectivity and Storage
Host
Applications runs on hosts Hosts can range from simple laptops to complex server clusters Physical components of host
CPU Storage
Disk device and internal memory
LAN Laptop
Server
I/O device
Host to host communications
Network Interface Card (NIC)
Group of Servers
Mainframe
2009 EMC Corporation. All rights reserved. Storage System Environment - 4
L2 cache
L1 cache
Speed
Magnetic disk
RAM
Tape
Optical disk
Slow
Low High
Cost
2009 EMC Corporation. All rights reserved. Components of a Host - 5
I/O Devices
Human interface
Keyboard Mouse Monitor
Computer-computer interface
Network Interface Card (NIC)
Computer-peripheral interface
USB (Universal Serial Bus) port Host Bus Adapter (HBA)
Components of a Host - 6
Volume Management
Multi-pathing Software
Device Drivers
HBA
HBA
HBA
Components of a Host - 7
Operating system
Resides between the applications and the hardware Controls the environment
Usually offered as part of the operating system or as third party host software LVM Components:
Physical Volumes Volume Groups Logical Volumes
LVM
Physical Storage
Volume Groups
One or more Physical Volumes form a Volume Group LVM manages Volume Groups as a single entity Physical Volumes can be added and removed from a Volume Group as necessary Physical Volumes are typically divided into contiguous equalsized disk blocks A host will always have at least one disk group for the Operating System
Application and Operating System data maintained in separate volume groups
2009 EMC Corporation. All rights reserved.
Logical Volume
Logical Disk Block
Logical Volume
Physical Volume 1
Physical Volume 2
Volume Group
Logical Volume
Physical Volume
Partitioning
Concatenation
File System
File is a collection of related records or data stored as a unit File system is hierarchical structure of files
Examples: FAT 32, NTFS, UNIX FS and EXT2/3
Components of a Host - 13
Components of a Host - 14
1
Configures/ Manages
2
Reside in
3
Mapped by a file system to
Disk Sectors
6
Managed by disk storage subsystem Consisting of
5
Mapped by LVM to
4
Residing in
Module Summary
Key points covered in this module: Hosts typically have:
Hardware: CPU, memory, buses, disks, ports, and interfaces Software: applications, operating systems, file systems, device drivers, volume managers
Journaling enables:
very fast file system checks in the event of system crash provides better integrity for file system structure
Components of a Host - 16
Connectivity
Interconnection between hosts or between a host and any storage devices Physical Components of Connectivity are:
Bus, port and cable
CPU
BUS
HBA
Cable
Disk Port
Bus Technology
Serial
Serial Bi-directional
Parallel
Connectivity - 18
Bus Technology
System Bus connects CPU to Memory Local (I/O) Bus carries data to/from peripheral devices
Connectivity - 19
Connectivity Protocol
Protocol = a defined format for communication between sending and receiving devices
Tightly connected entities such as central processor to RAM, or storage buffers to controllers (example PCI)
Directly attached entities connected at moderate distances such as host to storage (example IDE/ATA) Network connected entities such as networked hosts, NAS or SAN (example SCSI or FC)
2009 EMC Corporation. All rights reserved. Storage System Environment - 20
Communication Protocols
Host
Connectivity - 21
Serial SCSI
Supports data transfer rate of 3 Gb/s (SAS 300)
Connectivity - 25
SCSI Model
Target Initiator
Connectivity - 26
SCSI Model
Target ID
LUNs
Initiator ID
Connectivity - 27
SCSI Addressing
Initiator ID Target ID LUN
Initiator ID - a number from 0 to 15 with the most common value being 7. Target ID - a number from 0 to 15 LUN - a number that specifies a device addressable through a target.
Connectivity - 28
c0 t0 d0
LUN
t0
Peripheral Controller
LUNs
d0
d1
d2
Target
c0 Controller/ Initiator/HBA
2009 EMC Corporation. All rights reserved. Connectivity - 29
Cons:
Configuration and setup specific to one computer
Reliable, durable components Can connect many devices with a single bus, more than just HDs
SCSI host cards can be put in almost any system Full backwards compatibility
Unlike IDE, few BIOS support the standard Overwhelming number of variations in the standard, hardware, and connectors
No common software interfaces and protocol
Connectivity - 30
IDE/ATA
Internal Storage
SCSI
Internal and External Storage
320 Yes
Very good but very expensive to set up High cost/Fast transfer speed
Cost/Performance
Good
Connectivity - 31
CPU
Host
HBA
Cable Port
Disk
Connectivity - 32
Fibre Channel
DBMS
Host
Apps
Mgmt Utils File System LVM
Multipathing Software
Device Drivers HBA HBA HBA
Fibre Channel
Storage Arrays
2009 EMC Corporation. All rights reserved. Connectivity - 33
Fibre Channel
Greater distance High device count in SANs Multiple initiators Dual-ported drives
Connectivity - 34
Connectivity - 35
Switches
Storage
Connectivity - 36
Optical Disks
Popularly used as distribution medium in small, single-user computing environments Write once and read many (WORM): CD-ROM, DVD-ROM Limited in capacity and speed
Disk Drive
Most popular storage medium with large storage capacity Random read/write access
Ideal for performance intensive online application
2009 EMC Corporation. All rights reserved. Storage System Environment - 37
Lesson Summary
Key points covered in this lesson: Host components
Physical and Logical
Connectivity options
PCI, IDE/ATA, SCSI
Storage options
Tape, optical and disk drive
Discuss disk drive geometry Describe CHS and LBA addressing scheme Disk drive performance
Seek time, rotational latency and transfer rate
Controller
HDA
Interface
Power Connector
2009 EMC Corporation. All rights reserved.
01010100111010101010
00110100111010101010
00110100111010101010
10110101011010101010
Physical Disks - 41
Spindle
Platters
Physical Disks - 42
Physical Disks - 43
Spindle
Actuator
Physical Disks - 44
R/W Head
Physical Disks - 45
Power Connector
Bottom View of Disk Drive
Physical Disks - 46
Track
Platter
Physical Disks - 47
Track
Platter Without Zones Platter With Zones
Physical Disks - 48
Cylinder
Block 16
Block 32
Block 48
A B C
Partitioning Multiple Logical Volumes
2009 EMC Corporation. All rights reserved.
Lesson Summary
Key points covered in this lesson: Physical drives are made up of:
HDA
Platters connected via a spindle Read/write heads which are positioned by an actuator
Controller
Controls power, communication, positioning, and optimization
Physical Disks - 53
Track-to-track
Physical Disks - 54
Physical Disks - 55
Request 4
2 1
Physical Disks - 56
HBA
Interface
Buffer
Disk Drive
Physical Disks - 57
Physical Disks - 58
0%
Utilization
70%
100%
Consider a disk I/O system in which an I/O request arrives at a rate of 100 I/Os per second. The service time, RS, is 4 ms.
Utilization of I/O controller (U=a Rs) Total response time (R=Rs /1-U)
Better reliability
No moving parts Faster RAID rebuilds
2009 EMC Corporation. All rights reserved. Storage System Environment - 63
Response Time
Lesson Summary
Key points covered in this lesson: Disk drive components and geometry
Chapter Summary
Key points covered in this chapter: Storage system environment components:
Host, connectivity and storage
Physical disk structure and addressing Factors affecting disk performance Flash drives benefits