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.

How long To Prepare New Drives (SOLVED)

Featured Replies

I added 4 2TB drives to an existing array that had 4 2TB drives. When I went to start the array it started to clear the 4 new drives and it has been hours since the web GUI has responded. Is this normal? The array appears to still be offline as i can't access it.

If you did not preclear the drives first, it is busy writing zeros to both drives.

You might be sitting there for 8 hours. it depends on your hardware... just let it do its thing and not think about it and try back tonight or tomorrow.

 

I assume you can see activity on the drives while you are waiting..

(Edit: Johnm posted while I was typing, but what he says is correct.) 

 

This is why many people use the "preclear" script.  Your array will be off-line while unRAID prepares the drives to be added to the array.  It cannot do this instantly since as far as unRAID is concerned they contain random data, and so they must be cleared first to avoid invalidating parity.  If you are initialising four drives at once, you may find that the clearing could take some hours depending on the capabilities of your hardware.  By some hours I mean typically 8 hours up to maybe 20 or more.

 

If you had run the preclear script instead, this would have two benefits.  Firstly it runs without taking your array off-line so that the down-time when you are actually adding the drives (after the preclear process has completed) is literally just the minute or so that you spend adding them to the array in the web interface.  Secondly, it exercises the drives by writing and reading every block of data and also by rapidly causing the drive to seek to different areas from time to time.  This allows the drives to deal with any defects that they may find and to reallocate sectors as needed, and it also helps to weed out any drives that may suffer from premature failure.

  • Author

Can I restart the server and run the clear script before I try to bring up the array?

You could...  But, you have to stop the array, remove the drives just added from the drive allocation.  Then restart the array.  Then run the preclear script for each of the new drives.

 

However, since you have already signalled to unRAID that the new drives are added, you may have to jump through a few more hoops.  Specifically you may need to clear out all the drive allocations, and then reapply the setting for the data and parity drives and then restart the array.  There is a procedure known as "trust my parity" which will tell unRAID to proceed and allow things to come up as though nothing had happened.  You'd then be advised to do a parity check (just in case).  [i think this is correct - I don't go down that path very often.]

 

Personally, unless you are confident, or unless you have a real need to get the array back on line quickly, I would sit tight and let unRAID complete the process that you have already started.  It's the easiest and safest option at this point.

  • Author

Cool, I'll do that. Thanks for the tips.

  • Author

Is there a log I can look at that tells me the progress?

  • Author

Bump

Is there a log I can look at that tells me the progress?

On older releases, you could see the progress in the system log.  Not sure about the newer releases.

 

Try

tail /var/log/syslog

and see if it says anything about a percentage complete.

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.