Shielding your files with Reed-Solomon codes (2008)
users.softlab.ntua.gr
users.softlab.ntua.gr
My experience is that drives have been getting substantially better in this regard. If a drive is failing, it will usually collapse into read only mode and let you know that it is failing, giving you ample time to recover data.
That said, I do think backups are a good idea, and that Reed-Solomon codes are a good way to protect your data. I also think that managing bitrot is really the responsibility of the drive itself and maybe of the filesystem. Zfs and btrfs both offer bitrot protection.
And even solving bitrot, risks like fires, earthquakes, or war (for less fortunate countries) mean that data should be backed up in multiple physical locations anyway.
These are problems I've been attempting to address at https://sia.tech for the past two years. It's still in beta, but a full platform should be ready by March.
Do you have any real world references of this kind of fail behavior occurring? I only have experience with mechanical HDD failure (RAID drives gone bad -> degraded until rebuild; non-RAID drives getting massive bad sectors; non-RAID drives click -> dead). I've read about drives supposedly being able to enter a "nice" readonly mode, but that was a couple years or more ago, about SSDs. More recently, I've only read about drives either entering readonly mode until power cycle, then completely inaccessible; or simply lockup and completely inaccessible.
I gave up after that.
Par1 used Reed-Solomon error correction to create new recovery files.
It looks to me that freeze/melt produces a larger file that contains the recovery blocks, while par2 stores the recovery blocks in a second file (or files).
If the recovery bits are stored at the end of the freeze/melt file then you can still use your frozen file as long as your program doesn't barf on extra data at the end, while the par2 approach doesn't have that limitation.
[1] http://parchive.sourceforge.net/docs/specifications/parity-v...
http://web.archive.org/web/20150607135928/http://chuchusoft....
(Apologies for not directly answering the question.)
It's been my experience that the entire disk typically stops working at once. "Bad sectors" are a 90's problem.
Better to have several backups. :-)