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.

Replacing a disk with "Reallocated sector count" and "Reported uncorrect" SMART errors

Featured Replies

I have a data disk that is showing smart errors. The disk is about 12 months old, and annoyingly a 3-cycle preclear didn't show any errors, but that's life. The drive was ripped from a USB backup box so it has no warranty. Bye bye cash.

 

My server is running low on storage, so I've bought two 20TB drives (usb backup drives, currently connected via usb and preclearing 3x cycles).

 

All data disks and the parity disk are currently 8TB.

 

To insert the 20T disks, I'll also need to replace the cache drive as it must be >= the largest data disk.

Would I be OK swapping out the parity drive with a 20T, rebuilding the array then swapping the failing drive with the old parity drive? 

 

Or should I do a the parity swap procedure instead ? (https://wiki.unraid.net/The_parity_swap_procedure)

 

image.thumb.png.57ca0e5e7470c4c7a2c6f505147f3f63.png

 

Attach the diagnostics zip to your next post in this thread if you want more accurate advice, but given what you have posted, you need the parity swap procedure.

 

The size of the cache drive is irrelevant, but the parity drive(s) must be as large or larger than any single data drive in the array.

 

You are planning on attaching the new drives directly to SATA, not USB, right?

  • Author

The mention of the cache drive was a mistake, I was supposed to be referring only to the parity and data drives.

 

Yes-  Once they've done a few weeks of preclearing on the binhex-preclear docker, i'll pop them out of the usb cases and attach then via sata.

  • 2 weeks later...
  • Author

I followed the procedure 'exactly' to perform the parity swap. The old parity drive was 8T, the new parity drive is 20T. I have the following drives (image below) :

image.thumb.png.7ddc287a3fc789d1a334644caaea91db.png

 

The parity swap process completed successfully.

 

The last part of the instructions states that running a parity check is optional. So I chose to run it.

 

There are literally millions of sync errors being corrected by the parity check!  - What's going on ?!

The parity check position is past 8T (my largest data drive). Is this simply the parity drive being reset to a known state and nothing to worry about? The new parity drive was precleared before use. Should I be worried??

 

image.thumb.png.0a43ec49d64ccfe5aa986667cebe35a4.png

tower1-diagnostics-20221208-1820.zip

Edited by jj_uk
Attached diagnostics

1 hour ago, jj_uk said:

There are literally millions of sync errors being corrected by the parity check!  - What's going on ?!

If the errors started after the 8TB mark it's an old bug, though it's a pesky one because it only happens sometimes, nothing to worry about, just let it correct.

  • Author

OK, I'll stop worrying now. Seems to be reading and writing only the new parity drive.

Was this fixed in a newer Unraid version (I'm using 6.10.2) ?  I'm planning on replacing a data drive with a 20T once this parity check finishes.

 

image.thumb.png.baff79535bc7e1224c40ff4d6c4d19f7.png

Still not fixed because it's difficult to consistently reproduce. 

  • Author

The process of changing the parity drive to a 20T drive, and replacing a faulty disk has now completed.

 

I've now replaced another small data disk with a 20T disk.  As I now have loads of free space on the server, I'd like to remove a disk. The process to remove a drive is to reset the config, choosing to preserve assignments, changing the disk to be removed to 'unassigned' then starting the array (in maintenance mode, for speed).

 

As a disk has been removed, what happens here? Does Unraid try recreate the removed disk's data onto the remaining disks?  In my case, there will definitely be enough space for this to happen, but what happens if there's not enough space? What happens to the share settings if they're set to use, or exclude that disk?

 

This isn't covered in the FAQ. https://wiki.unraid.net/Manual/Storage_Management#Removing_data_disk.28s.29

 

2 minutes ago, jj_uk said:

As a disk has been removed, what happens here? Does Unraid try recreate the removed disk's data onto the remaining disks? 

Unraid will not move data.   It is up to you to manually put the data onto the other drives or perhaps use the unBalsnce plugin.

On 11/22/2022 at 4:33 PM, jj_uk said:

The drive was ripped from a USB backup box so it has no warranty. Bye bye cash.

 

I would suggest that you go to the manufacturer's website and check the drive's serial number for the drive's warranty status.  (I seem to recall hearing that many of those drives do have a warranty and that an RMA will be issued.)

  • Author
On 12/12/2022 at 10:25 PM, itimpi said:

Unraid will not move data.   It is up to you to manually put the data onto the other drives or perhaps use the unBalsnce plugin.

 

So the data is just lost?  ok, i'm moving the data off the drive i'd like to remove using the Dynamix File Manager plugin. I'll take a look at unBalance.

 

IF that disk (that is to be removed) is still in the parity-protected array, make sure that you are copying disk-to-disk!  A copy operation between a disk (in the array) and a User Share can result in data loss.  Stated again, disk-to-Share (or Share-to-disk) can easily result in a data loss...

  • Author
40 minutes ago, Frank1940 said:

IF that disk (that is to be removed) is still in the parity-protected array, make sure that you are copying disk-to-disk!  A copy operation between a disk (in the array) and a User Share can result in data loss.  Stated again, disk-to-Share (or Share-to-disk) can easily result in a data loss...

 

It's copying from

/mnt/disk2/MediaServer

to 

/mnt/disk1/MediaServer

 

So that's disk to disk, right?

 

 

/mnt/user/MediaServer   <-- is that a user share?

 

 

11 minutes ago, jj_uk said:

It's copying from

/mnt/disk2/MediaServer

to 

/mnt/disk1/MediaServer

Yes-- You are fine!

 

11 minutes ago, jj_uk said:

/mnt/user/MediaServer   <-- is that a user share?

Yes

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.