Login
You're viewing the ruby.social public feed.
  • Nov 28, 2026, 12:41 PM

    is it just me, or is the unrecoverable read error rate of "1 sector in 10^15 bits read" an insanely high value for a 10TB drive?

    1TB is roughly 10^12 bytes, or 10^13 bits.
    10TB is 10^14 bits.

    So once every 10 full disk reads, you will get an URE.

    Let's say your RAID does a scrub every month. That's an URE in less than a year...

    💬 5🔄 2⭐ 2

Replies

  • Nov 28, 2026, 12:45 PM

    3TB HDDs made in 2015 declare that error rate in their datasheet, sure.

    But 30TB HDDs made in 2026 still declare the same error rate.

    Like come on, has the tech not made any progress in the last 10 years?

    💬 2🔄 0⭐ 2
  • Nov 28, 2026, 1:17 PM

    @wolf480pl One would think that they would tighten the ECC a bit, but apparently you're just supposed to not use hard drives outside of a raid now.

    💬 2🔄 0⭐ 0
  • Nov 28, 2026, 1:19 PM

    @anymouse_404
    To me this seems like "RAID6 is now mandatory" situation with these large drives, as URE during rebuild becomes quite likely...

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 1:31 PM

    @wolf480pl Yeah, it's basically "you need (n+1) redundancy to have n+1 redundancy. It really does feel like a pretty bad trade-off compared to few % hit if they just went for a more bulletproof ECC.

    💬 0🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 28, 2026, 1:53 PM

    @wolf480pl @anymouse_404 Might be misinterpreting the URE bit but I take as as in the HDD by itself cannot recover (or even detect) the error for a reason unrelated to the spinning disk.

    Which doesn't means the OS could never, specially as storage APIs aren't synchronous by default due to how slow disks are, even flash ones. (So data can be in cache, or read can be retried later if say first one was for cache-warming)

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 1:59 PM

    @lanodan @wolf480pl The data that's already in the cache don't get read from the HDD, so it's safe to assume that if the HDD tells you that the read unrecoverably failed, you can't grab that data from anywhere else.

    💬 0🔄 0⭐ 0
  • Nov 28, 2026, 2:03 PM

    @anymouse_404 @lanodan
    In other words, most of the time URE means the drive tried to read the data from the magnetic flux of the platter, failed, did multiple failed retries, and timed out.

    I think most of the time it's because the bits decoded form the platter were not a valid codeword in the drive's internal ECC - it detected an error but couldn't correct it.

    But I guess it could be other things, like not being able to find the track or sth.

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 2:07 PM

    @anymouse_404 @lanodan
    If you use RAID, you likely set the drive's timeout (SCTERC) very low, so that you get to try the other drive instead of waiting multiple seconds while the first drive keeps trying.

    So it's possible that with the default timeout, the drive would succeed.

    But I'm not sure if host-level retries are independent events, each with 10^-15 * sector_size_in_bits probability

    💬 0🔄 0⭐ 0
  • Nov 28, 2026, 1:56 PM

    @lanodan @wolf480pl Sure, you could do ECC in SW, but that way you'd throw away significant overhead compared to if you just turn up the robustness of the already existing ECC on the physical data inside the HDD.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 28, 2026, 1:51 PM

    @wolf480pl devil's advocate:
    URE *per mm^2 of platter* has made enormous progress. From the vendor's perspective, I can imagine them thinking: "The current error rate is clearly acceptable, because people are buying it. How can we maximize density without *increasing* errors?"

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 1:54 PM

    @implr has it, or are they just adding more platters? :P

    But yeah, if people aren't getting angry at the URE and keep buying larger and larger drives then I guess what the vendors are doing makes sense.

    I'm guessing if their (large) customers were like "screw 32TB drives, I'll stick to 4TB" that'd give the vendors a pause.

    But also, how will people get angry if we don't all post about it on fedi? :P

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 28, 2026, 1:10 PM

    @ignaloidas
    I guess the per sector rate goes up when you reformat the drive to 4160 or 4224 byte sectors instead of the default 4096

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 28, 2026, 1:41 PM

    @can
    I don't know ZFS very well but AFAIU it means you need RAID-Z2 because RAID-Z1 has a high chance of URE during rebuild.

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 1:53 PM

    @wolf480pl fair enough. Won't be catastrophic for the entire RAID, but yeah, would suck to have a broken file or two. I haven't seen that be an issue in real life, though, so I'm guessing those numbers are a bit overcautious.

    💬 0🔄 0⭐ 0
  • Nov 28, 2026, 2:31 PM

    @wolf480pl to be fair: the actual error rate is way lower than that on any HDD I had in the past 10 years. All of them are running checksumming FS and some of them with RAID.
    I think over the past 5 years and ~20 HDDs I've had two UREs (all of them running at least monthly scrubs).

    Ironically I've had to debug something with a friend that turned out to be an unnoticed bitflip that mdraid5 didn't catch (as it - like most hw raid ctrls depends on the drive telling it that the read had issues)

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 2:36 PM

    @jakob

    regarding the bitflip - I've seen a hypothesis that these silent corruptions most often happen on the cables between the HDD and the host CPU, or in host RAM.

    There's a thing called T10 Protection Information (T10-PI a.k.a. DIF) where the SAS controller calculates a checksum of each LBA, sends it along with the write, the HDD checks it, writes it (to a 520- or 4160-byte sector), and then returns it on read, so that the controller can check it again.

    1/

    💬 2🔄 0⭐ 0
  • Nov 28, 2026, 2:40 PM

    @jakob so if your HDDs and SAS controller support that, and you have ECC RAM, that should leave only once place for bitflips to appear: the PCI-E link between the CPU and the SAS controller (and possibly controller's RAM).

    There's a version of T10-PI called DIX, where the checksums are calculated by, and exposed to the host, but not all SAS controllers support it.
    Linux's dm-integrity can work with that.

    Anyway, I wonder if in practice SAS drives with DIF get these bitflips much less often.

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 2:46 PM

    @wolf480pl the bitflip was persistent over multiple reads and reboots so most likely on disk. Most disks I have - even in SAS capable chassis - are SATA disks. I didn't have any bitflips on my hardware so far (everything ZFS/BTRFS complained about was also noticed by the disk)

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 2:50 PM

    @jakob it still could've flipped on the cable during write...

    Also yeah so far I too have only SATA drives, and I've seen some UREs early on after buying two of the disks, but these could be fixed by overwriting them (forcing the disk to reallocate the sector).

    Also, on my NAS everything is either in git annex (so sha256'd), or otherwise write once, lvchange to read-only, hash afterwards, compare with source material.

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 2:58 PM

    @wolf480pl Ah yes it could've happened write time. I also have a bunch of 4TB SAS disks, they are not noticeably better (or worse?) but all standard 512B sector size not 520.

    Often on overwrite it doesn't even meed to reallocate after an URE. The two I had just needed an overwrite of the sector and the same sector was useable again and didn't have issues since (and still zero reallocated sectors)

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0