Professional Documents
Culture Documents
Fingerprint
Media
Aluminum
Encoding Methods
• Old methods:
– FM. Frequency Modulation. Bit/Timing/Bit
– MFM. Modified FM. Timing after two 0’s
• Current methods:
– RLL. Run Length Limited. Use short patterns
to represent longer ones. 1991
– PRML. Partial Response Maximum Likelihood
Even more capacity
Lots of tracks: use concentric circles (same center point, different diameter)
Platter !
Sectors per track
• Slice each disk like a pie – each part of a
track is called a sector
• Multiple sectors are called a cluster or
allocation unit
• A sector holds 512 Bytes (or less) of data
The other two
• Write Precompensation Cylinder. Where
the data encoding distance changed
• Landing Zone. Where the heads went
when parked.
Talk to the drive
• IDE. Integrated Device Electronics. Move
the controller circuitry to the drive. 1990
Replaced two separate pieces that were
joined by two ribbon cables.
Talk to the drive, cont.
• SCSI – Small Computer System Interface,
that discussion is coming shortly…
IDE/ATA
• Started showing up around 1990
• Originally just parallel interface, now called
PATA – Parallel AT Attachment Interface
• SATA – Serial AT Attachment Interface.
Started showing up around 2003
Logical Block Diagram
PATA or IDE drives
• Western Digital and Compaq in 1989
• Gave it to ANSI for formal specification
• Used the AT BIOS routines and two drives
up to 504MB (when a 10 MB was huge!)
• Enhanced IDE (EIDE) in 1991
• Ultra- DMA in about 1994
Physical Connection
• Here is the back of a PATA disk drive:
Jumper
Block
Power
ESATA connector
AHCI
• Advanced Host Controller Interface
• Windows Vista and later; enabled in
CMOS
• Works with SATA HBA (host bus adapter)
• Makes the drive show up in Computer
• Enables native command queuing, a disk
optimization feature
• Have to activate BEFORE installing OS
SCSI
• Small Computer System Interface
• 1970’s by Shugart
• Uses a “chain” approach – device to device
to Host Adapter/Controller
• SCSI II and III can be internal (68-pin) or
external (50-pin); newest use 68-pin
external
• Apple (older) used 25-pin connector (SCSI-
1); looked like parallel port
Daisy Chain
SCSI ID
• Use a number to identify devices on a link
• Can be any number (0-7 for SCSI-1); 0-15
for SCSI-2 or -3
• Host adapter usually set to 7; boot device
set to 0
Termination
• Easy – both ends of the SCSI chain
• Most devices have termination built in; can
cause fits getting termination correct
• Do it wrong and device(s) won’t show up
Configuring CMOS
• At first, we had to know, then type in, the
CHS values for a drive – lots of hassle
• Today, CMOS will get its information from
the drive automatically – even SATA
drives
Drive Types
• Rather than Cylinders, Heads and Sectors
numbers, use Types
• We worked our way up to 46 different
types, Type 47 was “User Defined” and we
were back to CHS values
Type 47 (User) Screen
RAID 0
• RAID 0 – Striping
– Two or more drives
– Writes alternate between drives for speed
– Both drives get same drive letter from system
– Fast but not safe; one failure and all fails
10
RAID 1
• RAID 1 (Mirror)
– Two drives, one controller
– same drive letter
– writes are to both drives
– Safe, one drive can fail, but slow
• RAID 1 (Duplexing)
• Two drives, two controllers
• Writes are to both drives
• Same drive letter
• Faster and safer
RAID 5
• RAID 5 – Striping with Parity
– Three or more drives
– Writes alternate Data, Data, Parity; Data,
Parity, Data; Parity, Data, Data
– Any one drive can fail and system can “heal”
itself
8
JBOD
• Just A Bunch Of Disks
• Not RAID, but a way to use available
drives to create a large “logical” drive
(30+30+30 = 90 GB to OS)
• Another name for spanning
• One failure = total failure
Hard or Soft RAID
• Use software, or motherboard for RAID 0,
1, 10 and 0+1
• Use hardware RAID for speed and 5
• Gamers love RAID 0 (now), when drive
crashes – not fun
6
Physical Installation
• Power down the system
• Determine the max size disk system will
tolerate – may be in motherboard book
• Look at existing drive(s) for capacity
• Pick controller, make sure jumper is set,
plug in cable, add power connector
• Power on the system
Physical Connection
• Here is the back of a disk drive:
Jumper
Block