A spinning hard drive has two main components that it uses to store and retrieve data. It has a set of spinning metal platters that house the data, and an arm that moves a read/write head across the platters.
The magnet(s) are used in the arm part. I actually had a disk open on my desk so I took a picture of it. [The hard drive](https://imgur.com/rNINr68). In the picture at the bottom left you can see the arm and the magnet under it. This drive had two magnets, one above and one below, but I removed the top one so you could see the arm. The arm has a coil of wire on it that has electricity run through it to create a magnetic field, this magnetic field interacts with the field from the magnet to move the arm, much like how an electric motor works, but laid out flat. The magnet is very powerful (like crush your fingers powerful) so that the arm can be moved very precisely and very quickly to the correct spot on the disk.
This works a bit like a vinyl record player, except that instead of the arm moving from the outside of the disk to the center slowly, reading the whole disk, the arm will jump back and forth across the disk very quickly moving to where the data is.
Latest Answers