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.

Parity errors - how to proceed

Featured Replies

Hi,

 

I have been using my Unraid server for a couple of years now. Last night during a monthly parity check some errors occurred while reading from one of the data drives (main page shows 917 errors for that drive). The system log shows those read errors as well:

 

Oct 1 04:50:26 Spire kernel: md: disk6 read error, sector=3689965144
Oct 1 04:50:26 Spire kernel: md: disk6 read error, sector=3689965152
Oct 1 04:50:26 Spire kernel: md: disk6 read error, sector=3689965160
Oct 1 04:50:26 Spire kernel: md: disk6 read error, sector=3689965168
Oct 1 04:50:26 Spire kernel: md: disk6 read error, sector=3689965176

 

The parity check that is run monthly by the scheduler is a correcting parity check. When finished it stated that 2 parity errors were corrected. I assume that parity on this 2 positions is now wrong since the data from the data drive could not be read, I am not sure though.

 

Is there any way to determine which files are actually affected by this read operation?

 

What is the best way to proceed now? I normally would have assumed that I replace the defective drive with a new one and let it rebuild parity, but since parity was corrected (possibly with wrong values) I am not so sure anymore. Should I stop the mover schedule for now to prevent further writing to the faulty drive? Any other recommendations?

  • Community Expert

First thing, get a Diagnostics file  (   Tools   >>>   Diagnostics   ) and upload it to a NEW post.   This gives the Guru's some real meat to work on.  Second thing, I, personally, would not be writing any new data to the array until I could get this resolved.    (Your data is 'safe' on the cache drive at this point.)

 

Question:  Did the parity check actually complete or was it aborted? 

  • Author

The parity check completed (stating that it corrected 2 parity errors), hence my thought that it might have read faulty from the failing drive and written wrong parity in those 2 places.

 

It is a correcting parity check that runs on the first of every month.

 

Since I won't be home the next days I am thinking about shutting down the server until I have a plan on how to proceed.

  • Author

Any advice on how to proceed fixing this would be really appreciated. I would like to replace the failing drive as soon as possible just wanting to make sure I am doing it correctly.

  • Community Expert
On 10/1/2019 at 6:26 PM, taalas said:

 

The parity check that is run monthly by the scheduler is a correcting parity check.

Change that, it should be non correct.

 

On 10/1/2019 at 6:26 PM, taalas said:

Is there any way to determine which files are actually affected by this read operation?

Not easily without pre existing checksums or if using btrfs, you can just rebuild the disk and then use ddrescue on the old one, it will identify the affected files and then you can replace them form a backup if available.

  • Author

Thanks!

 

So if I replace the drive and let it rebuild from parity, what is the supposed damage if the last (correcting) parity check detected 2 parity errors (and possibly made 2 faulty corrections on the parity disk). 2 files, 2 sectors? The log showed a lot more read errors (917) but the parity check ended with 2 errors.

  • Community Expert

2 sectors, most likely on the same file, with some luck it might no even be on a file.

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.