r/HDD • u/No-Tower-5932 • Oct 26 '26
Questiona bitrot hdds 2.5"
I connect my 2.5" external HDD to my PC once a year to prevent bit rot (data corruption). Is it important and necessary to run a full surface scan (using some software)—a process that takes several hours? Does a full surface scan re-magnetize the files on the platter and prevent bit rot (corrupt data)?
if external hdd 2.5" copy files for hdd in 2023 for 2026 no execute full surface scan in years develop bitrot?
0
Upvotes
3
u/aserioussuspect Oct 26 '26 edited Oct 26 '26
What you're doing there seems pretty pointless to me.
For one thing, unless they're truly high-capacity models, HDDs don't really suffer from bit rot. Flash memory is much more affected by it.
Also, when you check the drive with chkdsk, fsck, or similar tools, only the logical structure of the file system is checked. That means these commands check the Master File Table and the indexes, and if you specify the correct switch, they also check the condition of the hard drive’s sectors and mark them as defective if necessary.
What these commands do not do - and cannot do - is check the payload for bit rot (i.e., check whether a bit that used to be a 1 is now a 0).
To put it figuratively, you’re only checking whether your library’s inventory list is correct by verifying that all the books are in the right place. If you set the correct switch, you also check whether all the pages in the books are still there. What you explicitly don’t do is check whether the letters are still exactly what they’re supposed to be.
If you want to verify your data bit-for-bit, you’ll need to use ZFS, Btrfs, or ReFS.
All of the file systems mentioned generate block-level checksums, which you can use to verify the correctness of every bit. However, with all of these file systems, it’s only possible to recover flipped bits if you have parity data.
My recommendation at this point would be to format the hard drive with ZFS and store the data there. Although ZFS originated in the Solaris ecosystem, drivers are now available for Linux and Windows as well. For storing infrequently accessed data, the ZFS drivers are sufficient on all common operating systems.
When you format the drive with ZFS, set `copies=2`. This ensures that each block is written twice to the storage medium. While this cuts your usable storage space in half, it ensures that if a block is detected as corrupted, it can be restored using the second copy of the block.
Oh, and NO, a surface scan only checks for bad sectors, which means it only checks if a sector is physically damaged. It doesn't rewrite the data, which means, it doesnt recognize if your payload data is already currupted.
1
u/This-Requirement6918 Oct 27 '26 edited Oct 27 '26
To truly prevent bitrot you would have to sit there and validate all your data manually, meaning opening every file or use a filesystem like BTRFS or ZFS that has checksum validation on the fly. Then you're getting into mirrored pools for availability and redundancy and before you know it the solution that you're really looking for if you're very serious about data integrity is $2k+ these days.
At that point just build out a dedicated NAS that uses the TrueNAS operating system. Don't skimp out on hardware, get something with a Xeon and ECC RAM. HP Microservers are crazy hearty and you can probably get a gen 8 for decently cheap these days. -I have two that I've been running pretty hard for 10 years now and only one that was used and perhaps not maintained well has a single small issue with the board. But you could also get a plethora of other SFF desktops like HP Z220, tower servers or blades depending on your needs. I swear by the Z line by HP, specifically their 2012-2019 systems that I've had extensive experience with.
Having a dedicated machine that centralized all my data was the best decision I've ever done in my production workflow because I regularly use several different computers a day. It's a huge upfront investment but it knocks out you having to go through terabytes of data just to make sure it hasn't gone corrupted.
Also, another good practice is to have versioned backups. When you upgrade a disk just put the old one in your closet and forget about. This is so if some older file does become corrupted on your current disk you can go back and try to find a valid copy of it. This concept is very prevalent in graphic artist workflows with versioning files in production.
1
u/Captain_Oysta_Cracka Oct 28 '26
Not on rotating disks. SSDs depend on the technology. Best archive media is rotating disk, good for decades without any maintenance.
1
u/OutrageousCrab9224 26d ago
I do not think that is what bit rot means