Hacker News new | ask | show | jobs
by f1shy 25 days ago
I have worked with 5 different LTO tapes versions, 5 different other cassette formats (DAT, DDS, etc), and open spools… never, ever, ever in the 15 years had ANY problem (I’ve probably used 1000 of them). We did cycle them very often, we did have proper maintenance of the drives, through. Now that, compared with RAID Disk arrays, where we had monthly failures, was much better. Also I would not trust the „semi-permanent“ NVMEs, where after 1 year without power they get basically reset
5 comments

When I hear wildly differing stories like this I often wonder how much environmental conditions play a factor in the different experiences that people have.

Perhaps one of you is living in a much more humid and/or hot environment that causes issues with the writing process.

Tapes were constantly kept in the data center, so constant temperature and humidity 25C/50%. As I said, Tapes were changed after N uses, drives properly serviced. So if you leave them at home, in the sun in summer and in winter expose them to 10C with humidity from 10% to 90%, old drives, never clean heads… IdK That all being said, when I started working there, in my ignorance, I said “TAPES?!?! They are not reliable” due to my experience with audio tapes. But I was laughed at, and they told me about people putting 10 9 track spools in a car [0] (by the way, the same we used for billing backups!) and they went literally thousands of miles driving on partially dirt roads, in summer w/o AC, doing updates to systems, and also never ever had an issue. They were so sure they would work, that they did not take a second set, even when driving 1000 miles, and a read error would mean going back!!!

[0] https://en.wikipedia.org/wiki/9-track_tape

Usually it wasn't the tapes that were unreliable, but the tape devices (firmware) and/or the drivers. Years back I used to work on a backup product - one of the tape devices would write a random amount of zeroes after each round of N megabytes written to the tape. So if you were "lucky" and all the backups were below N megabytes in size, everything worked perfectly. We weren't even aware there was an issue until some of our customers started complaining.

Debugging this was really fun, especially due to the randomness factor. :)

This. Environmental is everything with tape. If you don't know your temps (operational, transport, storage), RH and particulate counts then you probably shouldn't be using tape at all.

Understanding why this is as important as it is requires some visualization of the bit densities of modern tape drives, the capacity is enormous, the tape is ridiculously thin and the bits are small enough that it doesn't take much to make a part of a tape unreadable beyond what the error recovery logic can deal with. And that's before we get into longer term effects such as layer-to-layer copy and demagnetization.

Don't they ever turn into "tape salad", which was a very common issue with audio tapes (at least in car radios - in my top of the line Walkman I never had any tape salad)?
I've only had that happen once with a data tape and it wrecked the drive beyond recovery.
1000 tapes over 15 years sounds doesn't sound like a lot tbh.

I suspect that the number of problems you encounter from tapes scales superlinearly because they physically move. This leads to a lot of unpredictable failure modes. HDD racks also fail a lot, but in more predictable ways because all the data is managed in software.

I suppose there could potentially be magnetic factors at play as well.
And supply factors. Given that one of these two people spoke of multiple types of type and multiple types of drives, it’s possible that the other one just only ever worked with very high quality media.
Act1a wea Aug
> Also I would not trust the „semi-permanent“ NVMEs, where after 1 year without power they get basically reset

Retention decreases exponentially with temperature, but the flip side is that it also increases exponentially when refrigeration is added. A conservative estimate is 30 years at -20 Celsius. Another added benefit of flash is that it's now much denser than tape (~10x) and doesn't need to be moved - it can be powered down on the storage rack (and powered up for refresh every 6 months or so). Unfortunately, it's still ludicrously expensive (and even more at the higher densities).

Yes, the only real disadvantage is the too high price per TB in comparison with both tapes and HDDs, because otherwise, as you say, keeping it in a freezer would solve the retention problem.
And the freezer could even be part of the normal system cooling. At some point we’ll need to infect water or other fluid at temperatures substantially below ambient.
1000 is a lot but it sounds like GP was a few orders of magnitude higher.
Yeah, we'd do 1000 in a year easy, but that number is easy to grow when every write takes 3 tapes. We had 3 robot towers each with 10 drives in them in our facility, and there were others at other facilities. There was an entire department for interacting with them. If the tape with your data was in a robot, you could have the restore started within an hour. If the tape was in the onsite library, it would be within a few hours as they decided what tape to unload from a robot.
I worked with a few more orders of magnitude and saw lots of errors.
yeah but comparably with hard drives it's tiny
What order of magnitude were the errors compared to the number of tapes? 1%? 0.1%? 0.01%?
I don’t remember and I don’t have access to the numbers any more. Our system was massive. Because it was massive, we designed it to minimize cost and minimize human effort required to run it. Errors were mostly invisible unless they required human intervention—

—which happened often enough. Tape stuck in a drive, operator has to go into the tape library to fish it out. You have to turn the robots off first. Individual tape errors were invisible because we used erasure codes. We would have to see, like, four correlated failures in order to lose data.

I did the math and we were comfortable with that level of redundancy, based on our data for how often tapes fail. When I say I did the math, I mean I personally did the math, but I don’t have the figures handy.

If the error is 1 in 1,000 it's likely never to be found. How often is data retrieved from tape?
If you follow the advice to have it read immediately after written, then 100% of tapes have data retrieved.
Then you should have worked at $dayjob... our DDS drives would fail pretty much once a year after being run for 12 hours a day/365. We'd clean them once a week, regardless of whether it said it wanted it, and they still failed all over the place. $vendor finally moved the backups to nfs storage.
Cleaning also wears down the head over time. I’m not saying they should fail that fast, but cleaning too often also isn’t recommended.
When management doesn't buy replacement tapes and you're forced to recycle other tapes that are probably 10 years old, you kindof do what you can... I think it was probably better to run the cleaning tape, than let ancient tapes spread particles all over the head. /shrug