Jump to content

Parity Check Errors


Recommended Posts

I just started a parity check and there are already 261 errors found.  I do not have the parity check set to automatically fix errors.  Attached are my diagnostic files.  I ready that the Dynamix File Integrity plugin might help find the issue, but I thought the logs might provide information while the parity check is still running.

 

Edited by clowncracker
Removed Attachment
Link to comment
1 hour ago, itimpi said:

This is unlikely to find the issue.

 

Have you changed any drives recently?

I swapped out both parity drives at the beginning of the month, but I ran parity checks then and didn't run into any issues.  I did have a power outage last night, but the shutdown should have been clean (server is attached to a UPS).

Link to comment
16 minutes ago, clowncracker said:

I swapped out both parity drives at the beginning of the month, but I ran parity checks then and didn't run into any issues.  I did have a power outage early this morning, but the shutdown should have been clean (server is attached to a UPS).

I'm looking at the logs and I don't see any mention of a shutdown.  Is there a reason why the server wouldn't have shutdown cleanly?  Here is the relevant log snippet:
 

Jul 25 06:12:45 clowncracker-NAS apcupsd[25426]: Power failure.
Jul 25 06:12:48 clowncracker-NAS apcupsd[25426]: Power is back. UPS running on mains.
Jul 25 06:12:49 clowncracker-NAS apcupsd[25426]: Power failure.
Jul 25 06:12:55 clowncracker-NAS apcupsd[25426]: Running on UPS batteries.


The next log files are at 7:42:37, so I don't think it shut down cleanly.  Here are my UPS settings, any reason why it didn't shut down cleanly?
image.thumb.png.b1da2eade4ae435115513f449db61f39.png

 

Edited by clowncracker
Link to comment
18 hours ago, itimpi said:

This is unlikely to find the issue.

 

Have you changed any drives recently?

Parity check finished with 261 parity errors and UDMA CRC error count on the parity drive went from 0 to 3.  Should I just write corrections or is there something I can do to check the integrity of the files?

Link to comment

If you have checksums then you can see if they match.   You can also compare against backups if you have them.   Other than that not much to do except correct errors.

 

CRC errors as such are only a consideration if they continue to increase.   They are typically connection issues relating to SATA/Power cabling and trigger retries so only really matter if they subsequently result in a read or write error.

Link to comment
23 minutes ago, itimpi said:

If you have checksums then you can see if they match.   You can also compare against backups if you have them.   Other than that not much to do except correct errors.

 

CRC errors as such are only a consideration if they continue to increase.   They are typically connection issues relating to SATA/Power cabling and trigger retries so only really matter if they subsequently result in a read or write error.

How would I go about checksums?  Even if I don't have them now, how can I implement them moving forward?  I wish I knew if the errors were coming from the parity drives or the data drives.

Link to comment
6 minutes ago, clowncracker said:

How would I go about checksums?  Even if I don't have them now, how can I implement them moving forward?

 

If you use BTRFS (or ZFS) for the format of array drives then this is built into that file system type.    If using XFS then the Dynamix File Integrity can be used (although occasionally that seems prone to give false positives).

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...