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.

Bad sector, next steps to restore impacted file, or is this automatic with parity?

Featured Replies

I've attached my diagnostic files. I noticed a SMART error that appears to be a bad sector on Disk 1. I have a dual parity setup, BLAKE3 hash of all files, and a remote backup with backblaze, so I think I am well equipped to handle a bad sector. However, I'm not certain on next steps. Bad sector to me means potential lost files, so I'd want to restore. However, does unraid auto restore/emulate impacted files from parity when this happens? If not, is looking at the hash the only way to determine which files to restore?

Second, I'm reading that a single bad sector may not mean an imminently failing drive, so my plan is to just watch that drive for now and see if more start to occur. Please correct me if I'm wrong in that assumption.

server-diagnostics-20260426-0857.zip

  • Author

Tried filesystem check and got the following output. I'm not sure whether I should attempt repair of the filesystem, disable the drive and emulate for now, or something else. The logs are redacted to some extent to make them smaller, but its representative of the types of logs.

log.txt

Edited by BKS

  • Community Expert

Where are you seeing a bad sector? There are no pending sectors on disk1, nor read errors logged by Unraid since boot. If you mean the reported uncorrect attribute, that should have been corrected automatically by the disk, but you can run an extended SMART test or a parity check to confirm.

  • Author
1 hour ago, JorgeB said:

Where are you seeing a bad sector? There are no pending sectors on disk1, nor read errors logged by Unraid since boot. If you mean the reported uncorrect attribute, that should have been corrected automatically by the disk, but you can run an extended SMART test or a parity check to confirm.

Sorry, I should have posted it in the original post along with logs. See SMART Logs below:

ATA Error Count: 1
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 1 occurred at disk power-on lifetime: 22776 hours (949 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 53 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 20 ff ff ff 4f 00  27d+15:23:24.705  READ FPDMA QUEUED
  60 00 20 ff ff ff 4f 00  27d+15:23:24.704  READ FPDMA QUEUED
  60 00 40 ff ff ff 4f 00  27d+15:23:24.704  READ FPDMA QUEUED
  60 00 40 ff ff ff 4f 00  27d+15:23:24.704  READ FPDMA QUEUED
  60 00 40 ff ff ff 4f 00  27d+15:23:24.704  READ FPDMA QUEUED
  • Community Expert
10 minutes ago, BKS said:

See SMART Logs below:

That is likely the

1 hour ago, JorgeB said:

reported uncorrect attribute, that should have been corrected automatically by the disk, but you can run an extended SMART test or a parity check to confirm.

  • Author
28 minutes ago, JorgeB said:

That is likely the

The parity check shows 10k+ errors. SMART test running now.

30 minutes ago, JorgeB said:

That is likely the

  • Community Expert
1 hour ago, BKS said:

The parity check shows 10k+ errors.

That's too many for a bad sector, but typically you should correct parity.

  • Community Expert
2 hours ago, BKS said:

parity check shows 10k+ errors

Is that the final count, or is it still running and increasing? Seems more like parity was invalid to begin with.

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...

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.