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.

preclear sees wrong disk size

Featured Replies

I'm running v5-beta12a, plus license with 5 data drives & 1 parity.

All dives are 1TB  except 2 that are 500 GB so I want to swap one out for a 1TB drive.

I stop the array pulled  the 500 GB inserted the 1 TB drive and proceeded to Preclear it.

Preclear tells me it's a 500GB drive and seams to be preclearing it based on that but the serial and model# match the new 1 TB drive. Any suggestions?

 

BTW I did un-assign the 500 GB disk first.

I'm running v5-beta12a, plus license with 5 data drives & 1 parity.

All dives are 1TB  except 2 that are 500 GB so I want to swap one out for a 1TB drive.

I stop the array pulled  the 500 GB inserted the 1 TB drive and proceeded to Preclear it.

Preclear tells me it's a 500GB drive and seams to be preclearing it based on that but the serial and model# match the new 1 TB drive. Any suggestions?

 

BTW I did un-assign the 500 GB disk first.

What version of the preclear script?

Type

preclear_disk.sh -v

to see the version number.

It should be 1.14

 

Can you post the output of

fdisk -l /dev/sdX

(where sdX = the three letter drive designation)

 

Joe L.

  • Author

It's 1.13.

It's still running, can I stop it?

Thanks

let it finish. odds are it is doing the right things.

let it finish. odds are it is doing the right things.

Although it is as likely you are clearing the 500Gig drive you removed. (better double-check the serial numbers)

 

Joe L.

  • Author

No I had the right S#... It finished but in only a little over 5 hours. As I recall it took about 7 hours last time I precleared a 1 TB drive also preclear reported (  500,097,024,000  of  500,107,862,016  bytes read ) at the end of the preclear this time.

I may have confused it, if you look at the start there was a type "O"  for the device I put "hdb1" instead of "hdb" then corrected it. When I corrected it the size came up as ~500 GB instead of 1 TB.

I found preclear 1.14 and installed it.. Hard to find by the way, a search in the forum could not find it. i finally found it by a Google search that lead me back to the original thread with the download.

I put the original 500 Gb drive back in so my wife could watch her recorded TV shows, so I'll run it again over night with the new script. Attached is the terminal printout for v1.13 and a printout for v1.14 that I started but didn't go thru with the preclear because it would have prevented my wife from watching shows.

preclear113output.txt

preclear114output.txt

It almost sounds as if you did not power cycle when you swapped the drives and the unRAID OS did not recognize the size difference.  I see where the original drive seemed to report itself as a 1TB drive, but the size in the same fdisk output was only 500G.

 

The preclear script cal only act on what fdisk reports, so I suggest your hardware may not be hot-swap compatible.  (I suggest you power cycle and reboot after swapping in the new hardware)

 

Joe L.

 

 

  • Author

I did run it over night last night with v1.14 and had the same result.

You're right, I did not reboot.. I'll try that.

 

 

Thanks

 

I find it very hard to believe the hardware doesn't support hot swapping. I have a 740G chipset motherboard I've been running since 2008 and I have hot swapped many drives just fine. Your 760G chipset came after so it should support hot swap too.

  • Author

So I ran preclear overnight last night and it looks like it worked the way it should. It took almost 12 hours.

I had to reboot unRaid to make it work after switching drives.

Thanks for the help.

preclear_final.txt

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.