TechKnowSurge
CompTIA Tech+ 1.2 CompTIA Tech+ 1.1 CompTIA Tech+ 2.5 CompTIA A+ Core 1 3.3 CompTIA A+ Core 1 5.3 CompTIA Server+ 1.2
VideoComputeFree

Magnetic Storage

Magnetic media stores digital data by encoding binary values as directional magnetic fields on a physical medium such as a hard disk, tape, or floppy disk. A read/write head applies and detects these magnetic orientations to write and retrieve data.

Complete this video to capture a CTF flag worth 1 point.

About this video

Magnetic media is a category of data storage that relies on controlled magnetic fields to represent binary data. Common examples include hard disk drives, magnetic tape used in backup systems, and floppy disks, all of which use a ferromagnetic material as the recording surface. Because magnets have a north and south pole, and because those poles can be oriented in a controlled direction, they provide a reliable physical mechanism for encoding the two states — 0 and 1 — that form the basis of all digital information. The recording surface of any magnetic medium is divided into a series of extremely small, evenly spaced regions. Each region is magnetized in one of two directions: north-to-south or south-to-north, with each orientation corresponding to either a binary 0 or a binary 1. This directional magnetization is applied and detected by a read/write head, which contains a magnetic coil capable of both generating a magnetic field to write data and sensing an existing field to read it. As the head moves across a spinning disk or advancing tape, it either sets the polarity of each region or reads the sequence of polarities already stored there, converting that pattern of orientations into usable data such as documents, images, or any other digital file.

What you'll learn

What's covered

Magnetic Media

Aligned to

CompTIA Tech+
1.2 Compare and contrast fundamental data types and their characteristics.
1.1 Compare and contrast notational systems.
2.5 Compare and contrast storage types.
CompTIA A+ Core 1
3.3 Given a scenario, select and install storage devices.
5.3 Given a scenario, troubleshoot and diagnose problems with storage drives and RAID arrays.
CompTIA Server+
1.2 Given a scenario, deploy and manage storage.

Key terms

Magnetic Storage
A data storage technology that encodes information as magnetic patterns on a coated medium such as hard drive platters or tape, using read/write heads to sense and alter those patterns to store and retrieve data.
Magnetic Polarity
The directional orientation of a magnetic field (north or south) used to represent binary values of 0 and 1 on magnetic storage media.
Binary Data
Information represented as a series of 0s and 1s, the fundamental language of digital computing.
Read/Write Head
A component in magnetic storage devices that uses a magnetic coil to both write data by setting magnetic polarity and read data by sensing the direction of existing magnetic fields.
Hard Disk Drive
HDD
A traditional storage device that uses rotating magnetic platters and read/write heads to store and retrieve data persistently. HDDs offer high-capacity storage at lower cost per gigabyte than SSDs, but with slower speeds and moving mechanical parts.
Magnetic Tape
A sequential magnetic storage medium consisting of a thin strip of magnetizable material used to store data as a series of polarized bits.

Topics

Magnetic Storage Hard Disk Drives Binary Data Encoding Read Write Head Storage Media Data Storage

Transcript

Another technology that I find pretty amazing and kind of wild to study is magnetic media.

Here are some examples of magnetic media. Here I have a hard disk drive. Here's tape from a tape backup system. Here's a floppy drive, and that's the material, that's the magnetic material that we copy the data onto, right in there. And then here is a tape drive, a cassette tape that a lot of times we just store music on, but there are times I have stored data on these as well.

North and south

The first thing to understand about magnets is there's a north side and a south side to a magnet. The north side we're going to represent as red, and the south side we're going to represent as blue. So here we have a magnet, and this magnet has a north side, the red side, and a south side, which is the blue side.

But one of the interesting things about magnets is that opposites attract. So if I were to take the blue and try to align it with the blue, watch what happens. I'm going to get it close, and the blue gets repelled and the red gets attracted to it. So it's one of those cases where opposites attract: the north is attracted to the south side, and vice versa.

I've got this device right here that's going to help us measure this magnetic field. You can see it has a red and blue side as well, so it's a magnet with a red side and a blue side, and it swivels. So what I can do is bring this close, and notice now the red is following the end of this blue. It's attracted to that blue, so it's following it around to be close to that blue. But what happens if I move this to the other side is that the red gets repelled and the blue takes over, and now the blue wants to face this red side. So we can flip this back and forth just like that.

Now, really what this is demonstrating is that we can measure a magnetic north and a magnetic south with this, and that's pretty key to how magnetic media works. So what I can do is create a tool that reads what the direction of a magnetic field is. Is it going from south to north? We can represent that maybe by a zero. Or is it going north to south? We can represent that by a one.

Changing a magnetic field

The next thing that I want to cover is that we have some control over this magnetic field. What we have here is a screwdriver, and then over here is a screw, and the screwdriver is not magnetically attracted to this screw at all. You can see that it doesn't do anything. What I have here is a device that I can roll over the top of this screwdriver right here, so I'm just going to go back and forth, and now what happens is I can pick up this screw with this screwdriver. We've created a magnetic field on this screwdriver.

Now I also can come back and put it through one of these other holes and go back and forth with this, and now it's no longer magnetic again. So I can change the magnetic field of this screwdriver. Since I can change the magnetic fields of the screwdriver, I could change it in one direction to represent a zero and another direction to represent it as a one.

Storing bits on the media

Now imagine taking some material from the screwdriver and applying it into something that is a really thin strip like this. Now what we have is, we can divide this up into little sections, and then we can do a north/south on each one of those little sections, and that would represent a bit.

Now imagine that this line here represents that tape. What we're going to do is divide that tape into little tiny sections here, and each one of those is going to be a bit. They're not even on there, but in actual media it's going to be evenly spaced. And then we create a magnetic pole on this tape in one direction or another, and one of those is going to represent a one and the other one is going to represent a zero. And now we have a way to store that data.

Here's a little better example of that, where we've got this all split up into these sections here and we've got these directions that are happening here. So in this case, maybe this is a 1 1 0 0.

The read/write head

Of course, we both have to read this and also write it. So what we have here is a read/write head. The read/write head has some sort of magnetic coil on here that creates a magnetic field that would then make that direction on here happen. It also can go back and then sense, be able to read, what direction that is. So here's the read/write head that can both write and read the data from this, if it's a disc or tape or whatever the case may be.

So in the end here we have all of these directions on here that we have, and this read/write head can sense that, and now we have these ones and zeros that are going to translate into our pictures or our documents or whatever.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →