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.

Unraid coruption

Featured Replies

Im shure this question has probably already been ask butil ask again.

 

So is there a way to check and prevent corruption.

 

Im shure this question has probably already been ask butil ask again.

 

So is there a way to check and prevent corruption.

 

You're going to have to be more specific about a few things.

 

1. Do you mean file corruption? i.e. bit rot?

2. If you mean FS corruption what are you using RFS or XFS?

3. Do you run with a FULL Backup of your Files or rely solely on 1 Server with Parity?

 

The short answer is unRAID does NOT offer native protection against corruption of any of the above though.

 

For 1. There is a GREAT plugin developed by bonienl called File Integrity (Note this can ONLY be used on XFS formatted disks):

 

https://lime-technology.com/forum/index.php?topic=44989.0

 

Real-time hashing and verification of files stored on the data disks of the array. This plugin reports on failed file content integrity and detects silent file corruption (aka bit-rot).

 

This is a GUI front-end to the script bunker which is used to calculate checksums based on SHA2, MD5 or BLAKE2 and runs in the background. It allows the user to set up quickly a protection scheme without the need to use CLI or CRON jobs herself/himself.

 

To help you install the above plugin I recommend that you should install the Community Applications Plugin first:

 

https://lime-technology.com/forum/index.php?topic=40262.0

 

This plugin will allow you to easily search for and add ANY of the unRaid docker or plugin applications very easily.

 

For 2. There are tools you can use to manually regularly to check for corruption for various FS's included in unRAID:

 

https://lime-technology.com/wiki/index.php/Check_Disk_Filesystems

 

For 3. Well this is more advice than anything else. Keep a FULL Backup of ALL your important data wherever you can so that if you get corruption on ANY level your data is always SAFE.

 

:)

  • Author

Im using unraid 6 with a parity and 1 disk both are 2tb each with xfs enable. So should i care about corruption.

Im using unraid 6 with a parity and 1 disk both are 2tb each with xfs enable. So should i care about corruption.

 

Everything I wrote in my initial post is valid for you then.

 

As to whether you should worry, well that is open for debate. Bit-rot happens, Filesystem corruption happens, H/W failure and data loss happens. Does it happen often, well IMHO often enough that there seems to be an active thread about it at any given time.

 

Basic advice is use the tools and techniques that are there. Invest a bit of time and money up front on your strategies etc. BUT most of all backup your data. After years of people saying it to me I now feel like a Parrot as I say it to others:

 

There is no BETTER way to protect your data than having a safe, regularly checked backup of it somewhere. You might think that you are protected with various scenarios BUT then the unexpected happens e.g.:

 

No Parity and No Backup => Any disk failure = data loss

1 Parity Disk and No Backup => 2 disk failure = data loss

2 Parity Disk and No Backup => 3 disk failure = data loss

 

Some of these are mitigated somewhat by unRAID's design itself in that even when you have drive failures and they can't be rebuilt you don't loose the ENTIRE Array. You can still read each functioning disk as they each have an independent File System unlike traditional RAID.

 

You can go on and on. You can (and depending where you live probably should) also think about environmental factors that could impact you too. I for instance live in an area that is prone to Bush Fires in Australia. I keep an on-site backup (that is somewhat portable should I be home and be able to grab it quickly if I ever have to run for my life) but that is NOT going to protect me from the place burning down. So I also keep a copy of my files off-site in a water / fire proof safe. Some city-wide disaster is not going to protect me though. LOL!

 

I have digressed somewhat so I shall stop now. To end, the risks are real, they are realised, apply as many mitigations as you can and have contingency plans for the unexpected. At the end of the day IF your data is important to you then it is worth it.

  • Author

If i wanna use Dynamix File Integrity plugin do i need to format all my drive or no.

And thank you for all this information.

If i wanna use Dynamix File Integrity plugin do i need to format all my drive or no.

And thank you for all this information.

 

No, if all your drives are formatted to xfs you are fine. The only thing that you cant use that plugin with are drives that are formatted with ReiserFS as according to the author it can lead to system instability.

  • Community Expert

Im using unraid 6 with a parity and 1 disk both are 2tb each with xfs enable. So should i care about corruption.

Just thought I would clear up a misconception. If I understand your meaning, you think your parity disk is XFS. This is not correct. Parity has no filesystem. In general at least that is true. In the case of one data disk and one parity disk, parity actually winds up being a mirror just from the math so I guess you could say it is XFS but unRAID does not consider it as having a filesystem or any files.

Im using unraid 6 with a parity and 1 disk both are 2tb each with xfs enable. So should i care about corruption.

Just thought I would clear up a misconception. If I understand your meaning, you think your parity disk is XFS. This is not correct. Parity has no filesystem. In general at least that is true. In the case of one data disk and one parity disk, parity actually winds up being a mirror just from the math so I guess you could say it is XFS but unRAID does not consider it as having a filesystem or any files.

 

Excellent clarification. It never dawned on me that a user would not pick up on that.

  • Author

Im a little noob lol.using unraid only for plex...

Im a little noob lol.using unraid only for plex...

 

It doesn't matter to me (nor do I imagine it does to anyone else) why you're using it. Your question was a valid one too. Plus, you bought the software (or are about no) so that makes you part of the club! We all have our own reasons for using unRAID!  :)

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.