|
MAGNETIC STORAGE
MAKING MEMORY FROM MAGNETS The medium contains the message - the low down basics First a medium is coated with magnetic particles made from iron oxide with traces of cobalt, chromium and nickel.
WRITING - An electromagnet, called a read/write head, is then passed over the medium. This magnet’s job is to energize and align the particles into an orderly fashion.
Once encoded on the disk, these magnetic patterns work together to form a very weak magnetic force. The variations of polarities of these particles are called flux reversals.
READING - When the power to the read/write head is turned off (called read mode) the head is able to read (using the principles of induction) the slight changes in magnetic alignment and interprets these as binary ones and zeros. So how do you make ones and zeros from these neatly aligned magnetic particles? It’s all about ENCODING METHODS. Encoding method - the RULES!
MFM encoding packs extra bits onto the disk – almost doubling the capacity.
Tracks and sectors In order for the computer system to find anything on the disk, it must have some kind of roadmap. Digital roads and signposts must be erected to enable the system to know where it is from the edge of the disk, or radially on the disk as the disk spins. These guideposts are called tracks and sectors. A track is an invisible concentric ring on disk. Each ring is then divided up into portions called sectors. The number of tracks and the number of sectors per disk depend on the type of disk and the capacity of that disk. Tracks
Sector
Who builds these? These digital signposts are erected when a disk is formatted. Formatting - Very A+ There are really two types of formatting that you need to do on a disk’s media before it is ready to receive data:
When you use a disk-formatting program on your floppy disk, you are performing both a high-level and a low-level format of that drive’s media – the program does them simultaneously. When you use that same formatting program on your hard drive, you are performing ONLY the high-level format.
Oh no, geometry! It sounds like math – but it’s not. A drive’s geometry refers to internal electronic organization. This kind of geometry helps us describe the capacities and characteristics of a disk. The terms that describe this vary between hard and floppy disks.
This geometry can help the drive find stuff on the disk.
FLOPPY DISK A floppy drive is called a floppy drive because the media the computer writes to is floppy. This thin Mylar disk sits inside either a hard plastic container (like in a 3.5 inch disk) or a flexible composite container (like a 5.25 inch disk). 3 1/2 High Density 1.44MB - two cut-outs
Note that a double density disk contains 720K of storage space To find the true meaning of life (or the number of bytes on the floppy), divide the total by 1K (or 1024) Getting your floppy connected - Very A+
Installation
Hard Disk A hard disk is called a hard disk because the media it writes to is hard. The actual disk inside the hard drive mechanism is called a platter. A hard disk may have several platters. Platters for modern PCs may range from postage stamp size up to 5.25 inches. IDE (Integrated Drive Electronic) drives contain both the controller and the drive in a single unit.
Physical Geometry – CMOS Setup Stuff
CHS – Cylinders, Heads and Sectors – the GEOMETRY - Very A+
Funny math – You sat tomato, I say tomahto… Most drives today are Gigabytes in capacity Billions of bytes vs. Gigabytes. 1 Billion bytes = 1,000,000,000 1GB = 1,073,741,824 Size in GB = (Cylinders * Heads * Sectors * 512) / 1,000,000,000 They say gigabytes. You get the billions of bytes. It’s called marketing.
Alphabet Soup Hard Drive Technology - Very A+ MFM & RLL – Old, no longer used.
IDE (Integrated Drive Electronics) / ATA (AT Attachment - set of rules and protocols)
EIDE – Enhanced IDE (also known as ATA standards 2-6)
*New ATA standard calls for a 48-bit number to hold CHS quantities. Up to 144 petabytes
Enhancements PIO* - Programmed I/O. Much of the data transfer is performed by the CPU - the processor is responsible for executing the instructions that transfer the data to and from the drive.
DMA - a transfer protocol where a peripheral device transfers information directly to or from memory, without the system processor being required to perform the transaction.
Bus mastering has to be supported by the device, the chipset, and the operating system in order to work.
SERIAL ATA - Very A+ Serial ATA is an evolutionary replacement for the Parallel ATA physical storage interface. Serial ATA is scalable and will allow future enhancements to the computing platform.
Getting your hard drive connected
Standard IDE ribbon cable – 40 pins
Standard and special high-speed cable 40-pins 80-wires
IDE - Master (0) / Slave (1) - Very A+
"Uh... Houston, We have a BIG problem" (… your HD 1994) Some Background
Drives that exceed 528 million bytes (504MiB) are called large capacity drives and must use translation methods to allow the PC to use the drive to its full capacity. Very A+ The 504MB limitation in older BIOS’s has to do with the combined limitations of the ATA (IDE) specification and the INT13 calls in the original IBM BIOS specification, as shown below. How did this ever happen?
A drive’s Translation Method is a means of mapping between the physical geometry of the disk and the (CHS) restrictions within the BIOS. Within CMOS setup you will have 3 options.
The requirements for LBA/INT13h Extended disk access are as follows:
Note that there are at least 4 major BIOS capacity barriers: 528 MB, 8.4 GB, 33 GB and 137 GB If you use a different translation method than the drive was formatted with (i.e. change translation methods on a drive), you will not be able to access any data from that drive - until you change back to the drive’s native translation method. Need large capacity support? - Very A+
Tape Drives - Very A+ As consumers we seldom think of backing up to tape (or even backing up for that matter). Industry lives and dies by their tape backup devices. As a backup medium tape has several advantages
Historically, mediums vary drastically
Disk Organization – left up to the OS Sector – Smallest PHYSICAL unit a drive can access. Made up of 512 bytes. Cluster – Smallest LOGICAL unit an operating system can access. Made up of one or more sectors. Generally, larger capacity disks have a larger cluster size. File allocation units. Partition – A single physical hard disk (not ZIP) can contain multiple logical disks. FDISK is a program used to create partitions. There must be a primary partition on each bootable physical disk. An extended partition may be used to contain additional logical drives. Volume – a physical or logical storage medium – i.e. hard disk or a partition on a hard disk FAT – The area of a volume where a table is maintained that manages the disk’s organization. It tells the system where on the volume each piece of each file is PHYSICALY located.
FDISK - Very A+ FDISK is a menu driven utility used to configure and/or display information about the partitions on a hard disk. CAUTION: Using FDISK to modify or delete partitions on a hard drive renders all the data associated with that partition unavailable - ie. deleted! Syntax - To run the FDISK utility: FDISK
Why FDISK?
MBR (Master Boot Record)
If the MBR is damaged or infected with a virus, it may possibly be repaired with the command FDISK /MBR. - Very A+ Installing a hard drive 6 Step Process
How DOS assigns drive letters Primary partition on master drive gets C: Let's examine a system after adding a new hard drive: Very A+
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Edited (2003) By Vlad Magero