Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a...

41
Hard Drives Hard Drives Non-Volatile Storage Non-Volatile Storage

Transcript of Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a...

Page 1: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Non-Volatile StorageNon-Volatile Storage

Page 2: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Hard Drives (HD)Hard Drives (HD)

The primary storage device in a The primary storage device in a computer systemcomputer system

Page 3: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Invented in 1950’sInvented in 1950’s

Also called:Also called:

Fixed DisksFixed Disks

Hard DisksHard Disks

Primary StoragePrimary Storage

Page 4: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Common Capacities:Common Capacities:

20 GB 30 GB 40 GB20 GB 30 GB 40 GB

60 GB 80 GB 100 GB60 GB 80 GB 100 GB

120 GB 160 GB 200 GB 300 GB120 GB 160 GB 200 GB 300 GB

400 GB 500 GB400 GB 500 GB

Page 5: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Data is stored as FilesData is stored as Files

Files are collections of BytesFiles are collections of Bytes

Page 6: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Files are simply strings of bytes Files are simply strings of bytes stored on the hard drivestored on the hard drive

Page 7: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Files are fetched into Memory by Files are fetched into Memory by the CPU one byte at a time, and the CPU one byte at a time, and

stored on the HD one byte at a timestored on the HD one byte at a time

Page 8: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

The time to retrieve data is The time to retrieve data is measured in two ways:measured in two ways:

Data RateData Rate

Seek TimeSeek Time

Page 9: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Data Rate:Data Rate:

The data rate is the number of The data rate is the number of bytes per second that the drive can bytes per second that the drive can deliver to the CPU. Rates between deliver to the CPU. Rates between 5 and 160 megabytes per second 5 and 160 megabytes per second

are common. are common.

Page 10: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Seek Time:Seek Time:

The seek time is the amount of time The seek time is the amount of time between when the CPU requests a between when the CPU requests a file and when the first byte of the file file and when the first byte of the file is sent to the CPU. Times between is sent to the CPU. Times between 8 and 20 milliseconds are common.8 and 20 milliseconds are common.

Page 11: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

View of aView of a

TypicalTypical

Internal Internal Hard DriveHard Drive

Page 12: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Inside aInside a

Hard DriveHard Drive

Page 13: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Platters:Platters:

Typically spin at 3,600 to 10,000 Typically spin at 3,600 to 10,000 RPM when the drive is operating. RPM when the drive is operating. These platters are manufactured These platters are manufactured

to amazing tolerances and are to amazing tolerances and are mirror-smooth.mirror-smooth.

Page 14: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Read/Write Read/Write HeadsHeads

PlattersPlatters

Page 15: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Data is stored on the surface of a Data is stored on the surface of a platter in platter in sectorssectors and and trackstracks. .

Page 16: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Tracks Tracks are are concentric circlesconcentric circles

(Yellow)(Yellow)

SectorsSectors are pie- are pie-shaped wedges on shaped wedges on

a tracka track(Blue)(Blue)

Page 17: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Low-Level formatting a drive Low-Level formatting a drive establishes the tracks and sectors establishes the tracks and sectors

on the platter.on the platter.

Page 18: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Partitioning a Hard DrivePartitioning a Hard Drive

Separates the Hard Drive into Separates the Hard Drive into Logical PiecesLogical Pieces

Page 19: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Partitioning a Hard DrivePartitioning a Hard Drive

Drive C: Drive C:

is always the first Logical drive is always the first Logical drive partition of the first Hard Drive partition of the first Hard Drive

registered in the systemregistered in the system

Page 20: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard DrivesPartitioning Example:Partitioning Example:

80 GB

One Primary Partition

Drive C:

Page 21: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard DrivesPartitioning Example:Partitioning Example:

20 GB 20 GB 20 GB 20 GB

Primary

C:

Logical

D:

Logical

E:

Logical

F:

Page 22: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

High-level formatting writes the file-High-level formatting writes the file-storage structures, like the file-storage structures, like the file-

allocation table, into the sectors. allocation table, into the sectors. This process prepares the drive to This process prepares the drive to

hold files. hold files.

Page 23: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Head CrashHead Crash

Causes Physical Damage to the Causes Physical Damage to the Hard Drive PlattersHard Drive Platters

CatastrophicCatastrophic

Data Not Usually RecoverableData Not Usually Recoverable

Page 24: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

End of SectionEnd of Section

Page 25: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Fragmentation of Hard DriveFragmentation of Hard Drive

Defragmentation of Hard DriveDefragmentation of Hard Drive

Page 26: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Fragmentation of Hard DriveFragmentation of Hard Drive

Occurs as files are written to the Occurs as files are written to the hard drive during normal operationhard drive during normal operation

Files are written out of consecutive Files are written out of consecutive orderorder

Page 27: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Defragmentation of Hard DriveDefragmentation of Hard Drive

Resetting the files back in Resetting the files back in consecutive order on the Hard Driveconsecutive order on the Hard Drive

Via a Defrag ProgramVia a Defrag Program

Page 28: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Hard Drive ManufacturersHard Drive Manufacturers

MaxtorMaxtor

SeagateSeagate

Western DigitalWestern Digital

FujitisuFujitisu

SamsungSamsung

Page 29: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Hard Drive TypesHard Drive Types

IDEIDE

SCSISCSI

USBUSB

FIREWIREFIREWIRE

Page 30: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

IDEIDE

Integrated Drive Electronics Integrated Drive Electronics

5400 – 7200 RPM5400 – 7200 RPM

ATA-100/133 MB/SecATA-100/133 MB/Sec

UDMA-5UDMA-5

Page 31: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Cable Types:Cable Types:

IDEIDE

40/50 Pin & 40/50 Pin &

80 Pin80 Pin

Page 32: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

SCSISCSI

Small Computer System Interface Small Computer System Interface 5400 – 10,000 RPM5400 – 10,000 RPM

SCSI, SCSI-2, SCSI-3SCSI, SCSI-2, SCSI-3

Ultra-SCSI, Ultra-Wide SCSI,Ultra-SCSI, Ultra-Wide SCSI,

Ultra-160 SCSI, Ultra-320 SCSIUltra-160 SCSI, Ultra-320 SCSI

Page 33: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

Cable Types:Cable Types:

SCSISCSI

(Over 20 Connection Types)(Over 20 Connection Types)

Page 34: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

RAIDRAID

RRedundant edundant AArray of rray of IIndependent ndependent DDisksisks

Page 35: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

RAID LevelsRAID Levels

Level 0:Level 0:

Provides Provides Data StripingData Striping

Page 36: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

RAID LevelsRAID Levels

Level 1:Level 1:

Provides Disk Mirroring Provides Disk Mirroring

Page 37: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

RAID LevelsRAID Levels

Level 0 + 1Level 0 + 1

Combines both Data Stripping and Combines both Data Stripping and Data MirroringData Mirroring

Page 38: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

RAID LevelsRAID Levels

Level 5:Level 5:

Provides data striping at the byte Provides data striping at the byte level and also stripe error correction level and also stripe error correction information. This results in excellent information. This results in excellent

performance and good fault performance and good fault tolerance. tolerance.

Page 39: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

STRIPPINGSTRIPPING

Requires at least 2 HDs to workRequires at least 2 HDs to work

Should be same type, speed, sizeShould be same type, speed, size

Page 40: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

MirroringMirroring

Requires at least 2 HDs to workRequires at least 2 HDs to work

Should be same type, speed, sizeShould be same type, speed, size

Page 41: Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.

Hard DrivesHard Drives

QuestionsQuestions