Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bit Rot questions

Featured Replies

I understand what bit rot is and why it's a problem, but I'm not quite sure of the overall strategy? I've seen a few discussions regarding detecting data corruption using MD5 checksums and I'm willing to accept that this works (magic :D). What do you do to repair the corruption if it's detected? I haven't seen any discussion of this part of the game plan. Also, is there some very simple plugin that I can install to be able to run checksums on a cron schedule or something similar and compare them to the previous checksums with some sort of notification feature?

What do you do to repair the corruption if it's detected? I haven't seen any discussion of this part of the game plan.
Either restore the file from your backup, or if you added a par2 recovery set for those files it can check for and repair corruption up to the amount of error recovery that you saved in the par2 set.

Bitrot can be catastrophic or it can be no problem at all.

 

It all depends on the nature of your data.

 

If your data is typically media (typically the main use of unRAID), then it's largely unimportant, your movies will still play, likewise your audio files and your photos.  You want a filesystem that is unaware of bitrot.  Some filesystems will prevent access to your data with CRC checksum errors and then you are really screwed.

 

A similar analogy is old celluloid movies, the odd frame might detiorate  but you can still watch them.  ReiserFS is friendly to bitrot, I don't know about the newer filesystems, but it's definitely a consideration.

  • Author

What do you do to repair the corruption if it's detected? I haven't seen any discussion of this part of the game plan.
Either restore the file from your backup, or if you added a par2 recovery set for those files it can check for and repair corruption up to the amount of error recovery that you saved in the par2 set.

My unRaid is at 13TB and growing. I haven't really found a practical backup option. Not sure what par2 is so I doubt I have it installed.


Bitrot can be catastrophic or it can be no problem at all.

 

It all depends on the nature of your data.

 

If your data is typically media (typically the main use of unRAID), then it's largely unimportant, your movies will still play, likewise your audio files and your photos.  You want a filesystem that is unaware of bitrot.  Some filesystems will prevent access to your data with CRC checksum errors and then you are really screwed.

 

A similar analogy is old celluloid movies, the odd frame might detiorate  but you can still watch them.  ReiserFS is friendly to bitrot, I don't know about the newer filesystems, but it's definitely a consideration.

So, if I'm understanding correctly, I don't need to worry about bitrot with my movies and audio tracks?

Unless the data loss is in the header, you won't even notice bitrot.

 

  • Author

Thanks for the replies.

Eventually I'll have a tool to sweep a disk and create a folder.par2 per folder.

This can be used to detect bitrot and possibly repair up to 10% corruption.

It will add a lil over 10% more to the size of each particular directory, but it can possible help get past a bad sector.

 

I have a few other tools I'm working on to catalog files in a SQLite table and also store the hash sums.

There's couple others I have one of which is to store the hash in the filesystem extended attributes.

 

Each has it's pros and cons in speed warehousing and functionality.

I started a conversation here if you want to review options or suggest methodology.

 

RFC: MD5 checksum/Hash Software

http://lime-technology.com/forum/index.php?topic=34988.msg325400#msg325400

  • Author

Thanks WeeboTech. I've actually been following that thread. Waiting to see if your tool was something I could use. Most of the discussion has been well above my level of expertise though.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.