Top Banner
Secondary Storage A BRIEF REVIEW OF HARD DISK DRIVES AND STORAGE TECHNOLOGIES
25

Secondary Storage - General Knowledge

Jan 24, 2015

Download

Technology

Univ of Tehran

It is a brief review of secondary storage technologies to find that how we can use it better in our systems.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Secondary Storage - General Knowledge

Secondary Storage A BRIEF REVIEW OF HARD DISK DRIVES AND STORAGE TECHNOLOGIES

Page 2: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 2

Internal Structure

Page 3: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 3

Internal Structure (Cont.)

• Head flies above platters

• Platter are divided into circular tracks and tracks which are subdivided into sectors. The set of tracks at one arm position make cylinder.

• Logical blocks, the smallest

unit of transfer (512 bytes)

that maps to the sectors.

Page 4: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 4

Internal Structure (Speed)

• Disk speed has two parts:• Transfer Rate, the rate at each data flow between the drive and computer.

• Efficient Transfer Rate• Position Time (Random-Access Time),

• Seek time, the time necessary to move disk arm to the desired cylinder.• Rotational Latency, time necessary for the desired sector to rotate to disk head.

Page 5: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 5

Internal Structure (Head Crash - Connection)

• Head Crash, head may contact the surface

• I/O bus connects Disk Drive to the computer.• EIDE• ATA, PATA, SATA• USB• FC• SCSI• FireWire! (Developed by Apple, IEEE 1934 standard) (400 Mbps)

• A disk controller is built into each disk drive that has a cache ...

SATA

SCSI

Page 6: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 6

Page 7: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 7

Magnetic Tapes

• Early secondary storages with very slow access time (1000 times slower than HDD)

• Can be used for back up or non-frequently used data.

Page 8: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 8

Disk Attachment

• Host-Attachment Storage (via I/O) common for small systems.

• Network-Attach Storage, remote host in a distributed file system• Remote-procedure call interface (NFS for UNIX, CIFS for windows)• NAS is implemented as a RAID (redundant array of independent disks) array

with software that implements RPC interface.

Page 9: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 9

NAS

Page 10: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 10

Server

Page 11: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 11

Storage Area Network

• Drawback in NAS: Storage I/O operations consume Bandwith

Page 12: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 12

SAN

• Oracle

• Google

• Hp

• …

Page 13: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 13

RAID

• Disks get smaller and cheaper

• Redundant Arrays of Independent (not completely) Disks

• Inexpensive -> Independent

• Increasing read and write rate (Parallel) - increase the throughput (load balancing) / reduce response time of large accesses

• Increasing Reliability (Redundant) – Mirroring

• RAID levels (Redundancy to Striping)

Page 14: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 14

RAID Levels – 0

• Nothing

Page 15: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 15

RAID Levels – 1

• Mirroring

Page 16: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 16

RAID Levels – 2

• Parity bits - ECC

Page 17: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 17

RAID Levels – 3

• Parity bits

• Less disks

• Much Speed

• fewer I/O

• Dedicated Parity Hardware

Page 18: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 18

RAID Levels – 4

• Like 3 but blocks in each disk

• Higher level of I/O rate

Page 19: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 19

RAID Levels – 5

• Spreading the parity blocks

• Safer - Most Common

Page 20: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 20

RAID Levels – 6

• Like 5, Parity + Reed Solomon ECC Code

Page 21: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 21

RAID Levels – 0+1 , 1+0

Page 22: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 22

Choosing a RAID Level

• Continues supply of data is needed• Rebuilding is easiest in RAID level 1

• Level 0 for high performance where data loss is not so important

• Level 1+0 and 0+1 for both Performance and reliability (ex. Small Databases)

• Level 5 can be used instead of 1

• Level 6 is not supported commonly, but it should be more reliable that level 5

Page 23: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 23

WHAT SHOULD WE THINK ABOUT?

• How many disks should be in a given RAID set? • More disks, More Data-Transfer Rate,

More Expensive

• How many bits should be protected by each parity bit?• Less bits each parity, More Chance to

Modify the Failure, More Overhead

Page 24: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 24

SSD VS. HDDSolid State Drive

Hard Disk Drive

Page 25: Secondary Storage - General Knowledge

Medical Infromation Management - Autumn 2013 25

THE END