it's cool when you see an article saying "Western Digital releases new 18TB & 20TB EAMR drives!" and yet everywhere you can go to buy such things only has the 18TB drives. WHY DID YOU LIE TO ME
I'm gonna buy a 20TB drive and put it in my IBM 5150.
it's only got 16kb of RAM and doesn't support hard drives, but don't worry, I'll make it work.
I'm gonna use a USB to SATA adapter and plug it into a Gotek floppy emulator.
so I'll just have 61,035,156 floppy images
disk #289,230 is good. it's a romhack (diskimagehack?) of paratrooper where they changed the soldier sprites to the weed flag
takes a long time to get to, though.
you just gotta push the NEXT button a large number of times.
gonna hide my CGA porn on disk 17,629,234.
Mom will never find it!
So these are EAMR drives.
Energy-Assisted Magnetic Recording!
This is another form of the HAMR/MAMR series of drive technologies.
These are all technologies that do the same sort of trick to improve drive densities: they heat up the disk while writing to it. The way magnetic material works, you have to have high coercivity to have high density (coercivity being the ability to resist magnetic fields)
but higher coercivity means it's harder to actually write to the disk. so you have a inherent density/writability tradeoff.
Technologies like HAMR take advantage of coercivity changes that happen when you heat the magnetic material
so the idea is that you can use higher-coercivity materials, then when the drive head needs to write, it heats up the part of the disk it wants to write to, the coercivity goes down, then it can successfully write it.
so Seagate has been working on this for a long while with commercial releases of HAMR drives originally planned last year and delayed until (hopefully) later this year.
Their version of HAMR uses a laser inside the drive (attached to the write head!) to heat up the surface
Western Digital (aka The Other Big Hard Drive Maker, as we basically only have three of them now: Toshiba is the 3rd) has instead been working on MAMR, which is arguably technically a form of HAMR but they gave it a different name for branding reasons.
WD's tech is Microwave-Assisted Magnetic Recording.
They're using a spin-torque oscillator in the drive head to emit microwaves in the 15-20 gigahertz range to wobble the magnetic grains of the disk, warming them up enough to be easier to write.
WD isn't expecting to ship any MAMR drives until next year at earliest, so right now HAMR and MAMR are both technologies that fit in the "clearly being heavily worked on and are supposedly very close but aren't on the shelves yet" camp.
So the above drive is EAMR, though, and I can hit BUY IT NOW on amazon and supposedly get it by friday... or at least I could if they weren't out of stock. huh.
So EAMR isn't a heating-the-disk technology, it's instead changing how they power the write head, so that they generate an additional magnetic field that creates a more consistent write signal, apparently.
I think the idea is that this decreases the jitter of writes, so they can put bits closer together as there's more accuracy, as they're not going to risk overlapping as much.
They're also using a TRIPLE STAGE ACTUATOR, which sounds like something that would have to be activated when you're powering up your giant robot.
The actuator is the device that moves the drive head across the surface of the disk:
They've built a system where the main actuator does the gross positioning, then there's a milliactuator which does precise positioning, then they've got a microactuator on the head to do EVEN MORE PRECISE positioning.
The other tech the drive is using are more mundane:
It's a helium-filled drive, as helium is less dense and creates less turbulence.
Apparently the main way this affects density is that it lets them put more platters into the drive case:
and it's also using the (much-maligned) SMR: Shingled Magnetic Recording. The idea is that you overlap your tracks (like roof shingles) so that you can put them closer together.
this works to put more data on the disk because you can read much more accurately than you can write, so by shingling the tracks you can get a smaller effective track width, at the expense of not being able to rewrite a track individually.
since if you're trying to rewrite a single track parts part of a shingled zone, you have to rewrite the other tracks in the zone at the same time. You basically have to treat the drive a bunch of bundled tracks which have to be redone all at once, instead of individual sectors
So SMR drives have to be treated differently than non-shingled drives (technically called PMR: Perpendicular Magnetic Recording) but there's different ways to approach this:
The drive can handle all the SMR stuff and leave the host unaware, or the host can manage it
most of these drives are device-managed, where the drive handles all the SMR stuff for the host:
Part of the drive is PMR, and is used as a huge write cache, and then data is later moved to the SMR zones.
under most workloads, this'll seem to just magically give you higher density with only minor slowdown and some extra drive activity. which is great!

unfortunately, "most" is not "all"
which is why SMR is "much-maligned": SMR drives can have really really bad performance when part of a RAID array that's rebuilding. This often involves rewriting the entire disk at once, and that's where this on-disk cache scheme fails down spectacularly
what happens in practice is that the disk gets the entire PMR cache filled up, so it has to then empty it by writing it out.
So the host controller sees a drive that's writing out just fine and then suddenly appears to just hang up on the next write, taking far longer to write
and by "far longer" that can sometimes mean MINUTES.
so sometimes the host controller will go "whelp, that drive just failed! SOUND ALL THE ALARMS!"
And there have been accusations that some drive companies might have (does this sentence sound like it was written by a lawyer? it should) been selling SMR drives without labeling them as such, causing confusion and difficulty for some users.
But most of these problems are really just caused by the device trying to manage the SMR entirely on its own.
There's two other ways to manage SMR, and they should cause fewer problems:
Host Managed
and
Host Aware
Host Aware is simpler to explain so I'll do it first: It's basically just Device Managed but the host knows it's shingled (it can just ask) and it can query the cache fill levels.
The idea is that the host can then modify how it's writing to maximize performance
although for a full raid rebuild it's still going to take the same length, it's just that the host will definitely understand WHY it's taking so long and when the pauses will happen, so it'll at least not freak out that the drive just went to lunch.
Host managed, on the other hand, requires the host to manage the SMR, which means that it has to write to zones sequentially and in the right track order.
The drive will just go "NOPE, CAN'T WRITE THERE!" if the host tries to violate the ordering.
So in theory a fully host-managed drive could be paired with a controller/software that understands how the drive is SMR and do the rebuild in the right order so that you'd basically get full (PMR-style) performance by just rebuilding it correctly
Whoops, I thing I just myself got confused by this:
"This" drive isn't SMR, but it depends what you mean by "This" drive
So the WD Gold I showed on amazon is not an SMR drive.
It's confusingly listed as "Enterprise-class" but it's a WD Gold and WD says all the WD Golds are not SMR.
So the 16tb and 18tb WD Golds are non-SMR.
If they were SMR, they'd be device-managed (or possibly device-aware) SMR.
But the 20tb drive (the one I was complaining about not being able to find) is a 20tb Ultrastar, and that one IS an SMR drive, and it's host managed.
the idea is that a 20tb Ultrastar is definitely an enterprise drive and it's only going to be used in Big Servers which are going to definitely have the right controllers and software to handle the host-manage SMR and therefore get maximum performance out of it.
if you were able to get one and stuck it in your home PC (or, like I joked, my IBM 5150), it would probably just not work.
Anyway I finally figured out why I can't find the 20tb drive:
It's currently undergoing "production sampling to select customers" and won't be open to the general public until next quarter.
that presumably means that if you're Google or Amazon or Insert Other Large Cloud Storage Vendor Here, you've already ordered a couple thousand, but everyone else has to wait.
Anyway, my completely personal opinion is that SMR is a perfectly fine storage technology that's a good idea and will be perfectly fine eventually: it just got mismanaged in the early stages and that caused problems.
in the long run we'll have host-aware or host-managed SMR drives and those will work fine for Normal Uses and just fine for the rare RAID rebuilds.
It's only device-managed which can cause terrible performance problems in RAID rebuild situations, made far worse if you don't KNOW your drive is SMR.

which naturally is exactly what happened.
but device-managed makes the most sense for SMR at first: no SMR drives existed so nothing supported them, so they made SMR drives act like PMR drives so that they'd work (on, you know, anything)
and it seems like that was fine for most workloads (since it's exceptionally rare to rewrite your entire drive at once!) but the issues with labeling which drives were SMR meant that they ended up getting used in RAID arrays where they'd fall over
which is naturally going to leave a bad taste in the mouths of consumers and unfortunately exactly the users who'd run into this problem were all the technical ones building their big storage arrays at home
So it's one of those fun technologies that is mainly known about because it showed up and then pissed off a bunch of technical users, which isn't the best foot to start on.
anyway, hard drives, won't you? I'm gonna go get some coffee.
BTW, the joke about a weed-paratrooper? that's based on a real game:
GANJA FARMER, a DOS paratrooper clone by EvilX Systems.
It was published by Xtreme Games, the publishing company of André LaMothe, who wrote a bunch of game development books and designed some homebrew consoles.
Ganja Farmer is supposedly playable on the internet archive but it's taking forever to load for me. It might be too late-MSDOS to run in their emulation:
https://archive.org/details/msdos_Ganja_Farmer_1998
and if you read that whole thread and liked it, feel free to give me a dollar or two so I can buy more hard drives and make threads about them: https://ko-fi.com/fooneturing 
You can follow @Foone.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: