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 plugin

Featured Replies

 

I honestly miss that. I need to fork everything or just add a new xml file on it?

You can issue a PR with a new xml to me, but I'd rather you fork it then I don't have to worry about it.  And, you're not alone in missing the PMs.  A few other authors missed them also.

 

Although technically you don't have to do anything other than add the appropriate XML's to an existing repo you have.

  • Replies 3.1k
  • Views 910.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Due to various continual issues with this plugin, it has now been marked as being incompatible with Unraid versions 6.9.0+   It is highly advised to uninstall this plugin (and Statistics Sen

  • I think Thanks should be directed at all those members that have been dealing with the mess the last few months. @dlandon and @Squid have been working behind the scenes to try and clean up, and o

  • Dontlookoverthere over on the unRAID subreddit figured out how to get the plugin running again with a simple edit to the plg:   https://www.reddit.com/r/unRAID/comments/7wjpus/preclear_worki

Posted Images

  • Author

 

I honestly miss that. I need to fork everything or just add a new xml file on it?

You can issue a PR with a new xml to me, but I'd rather you fork it then I don't have to worry about it.  And, you're not alone in missing the PMs.  A few other authors missed them also.

 

Can you send me the message again explaining how this work?

I see that others have the preclear plugin working with 6.2 beta but I'm having issues 6.2 beta19

 

edit: disregard.  I see this is already reported

It was a reply to me.  I discovered my error and deleted my post and he must have seen it before I removed it.

 

Excellent script.  Works as expected when I try to run it from the proper spot. :)

 

That's expected, since the beta plugin is not compatible with Unassigned Devices. Please go to Settings>Preclear Disk Beta

 

gfjardim ... was that reply for me?

 

If so i do not understand what you are trying to tell me. I do not have a preclear disk beta tab within settings. FYI i downloaded the 'amended' version by 'search'ing for 'preclear' on the CA apps tab. It downloaded the new version (dated today) and the install script confirmed this but the plugin it installed still shows old timestamps and version number against it and hasn't got 'beta' anywhere to be seen. You know much better than me how these things work. I'm just happy to confirm that it does!!

 

Seeing a reply to a deleted post was initially confusing but now I'm curious as to how the beta Pre-clear plugin is incompatible with the Unassigned Devices plugin, since this is the first time I've seen an incompatibility mentioned and because I have both installed.

  • Author

It was a reply to me.  I discovered my error and deleted my post and he must have seen it before I removed it.

 

Excellent script.  Works as expected when I try to run it from the proper spot. :)

 

That's expected, since the beta plugin is not compatible with Unassigned Devices. Please go to Settings>Preclear Disk Beta

 

gfjardim ... was that reply for me?

 

If so i do not understand what you are trying to tell me. I do not have a preclear disk beta tab within settings. FYI i downloaded the 'amended' version by 'search'ing for 'preclear' on the CA apps tab. It downloaded the new version (dated today) and the install script confirmed this but the plugin it installed still shows old timestamps and version number against it and hasn't got 'beta' anywhere to be seen. You know much better than me how these things work. I'm just happy to confirm that it does!!

 

Seeing a reply to a deleted post was initially confusing but now I'm curious as to how the beta Pre-clear plugin is incompatible with the Unassigned Devices plugin, since this is the first time I've seen an incompatibility mentioned and because I have both installed.

 

 

He didn't saw those Preclear icons in Unassigned Devices, and that is an expected behavior since the beta plugin's path is different.

Sort of explains how i've managed to get the beta version of the plugin identifying itself as a kosher version. But ... something strange happened with the preclear overnight. It stopped! Nothing running this morning and array not started which to me looks like the array has rebooted??? Need to take a further look but this 8TB certainly doesnt want to be precleared.

  • Author

Sort of explains how i've managed to get the beta version of the plugin identifying itself as a kosher version. But ... something strange happened with the preclear overnight. It stopped! Nothing running this morning and array not started which to me looks like the array has rebooted??? Need to take a further look but this 8TB certainly doesnt want to be precleared.

 

Probably the server rebooted.

The server DID reboot at 00:28 GMT and as other servers remained up and running doesnt appear to be a power issue, strange?

 

Is there anything intrinsic to unRAID 6.1.9 (a recent upgrade) that i should be looking at?

 

I have been Preclearing 3 HHD withe the PreClear Beta for 2 days now.

It is in the PreRead phase of cycle 2 for 2 8tb hard drives and iI think n the PreRead phase for a 4tb drive running.

When I attempted to open the plugin to watch the progress I received

this error and the plugin refuses to open though the preclear appears to continue to run

Any idea what I should do ?

 

PreClear_Beta_Error.JPG.a719ce847ae6c3a8dfb68291f770a551.JPG

  • Author

I have been Preclearing 3 HHD withe the PreClear Beta for 2 days now.

It is in the PreRead phase of cycle 2 for 2 8tb hard drives and iI think n the PreRead phase for a 4tb drive running.

When I attempted to open the plugin to watch the progress I received

this error and the plugin refuses to open though the preclear appears to continue to run

Any idea what I should do ?

 

Your /var/log directory is full. If you have enough RAM, you should run this command:

 

mount -o remount,size=256m /var/log

 

Add that to your /boot/config/go file to make it persistent.

Additional to above post

if I open the older Preclear plugin (Non Beta version )

it displays correctly

PreClear_Beat_2.JPG.ebf7c10fbac613cf6532b43d29a8c480.JPG

  • Author

Additional to above post

if I open the older Preclear plugin (Non Beta version )

it displays correctly

 

That's expected since the Beta version has a lot more logging, not just errors.

 

 

Thank you for the prompt assistance

I entered the line of code and it corrected the log error

I also added it to the Config/Go file as you suggested.

I have several more 8tb drives to clear.

Is there a place where one can read all the logging at the finish of the PreClear ?

 

Also you may want to know about this end of file error that gets displayed when the script gets to the end of the disk.

End_of_File.PNG.3ae2e9bab438d6702303bed654e7f9b5.PNG

Just another data point for you... this weekend I precleared a 4TB drive using the beta plugin, then added it to the array and ran a parity check. No errors! Using the 2016.03.15 version of the plugin on unRAID 6.1.9.

As the PreClear Beta continues on my 3 HHDs. 2- 8tb and 1- 4tb I received the following error message again when I checked the status.

The HDDs are currently in Cycle 2, Step 2, Zeroing.

Several days of preclearing so I hate to interrupt or cancel at this point

 

 

Warning: file_put_contents(): Only 0 of 197 bytes written, possibly out of free disk space in /usr/local/emhttp/plugins/preclear.disk.beta/Preclear.php on line 50 Warning: file_put_contents(): Only 0 of 196 bytes written, possibly out of free disk space in /usr/local/emhttp/plugins/preclear.disk.beta/Preclear.php on line 50 Warning: file_put_contents(): Only 0 of 196 bytes written, possibly out of free disk space in /usr/local/emhttp/plugins/preclear.disk.beta/Preclear.php on line 50

Device Identification Temp Size Preclear Status

Please wait... retrieving information

 

I have already entered the code you suggested previously including adding it to the go file.

 

mount -o remount,size=256m /var/log

Add that to your /boot/config/go file to make it persistent

 

 

I tried to search for my answer on this... as I'm new to unraid in general and couldn't find my answer on the 41 pages this thread is, so forgive me if I missed it.  Installed the pre-cleared plugin, however I only see SSDs/Cache pool drives.  Any particular reason I can't pre-clear what I think may be a bad parity drive?

I tried to search for my answer on this... as I'm new to unraid in general and couldn't find my answer on the 41 pages this thread is, so forgive me if I missed it.  Installed the pre-cleared plugin, however I only see SSDs/Cache pool drives.  Any particular reason I can't pre-clear what I think may be a bad parity drive?

You cannot run preclear against any drive that is assigned to the unRAID array.  I assume that you currently have the drive in question assigned as parity?
  • Author

I tried to search for my answer on this... as I'm new to unraid in general and couldn't find my answer on the 41 pages this thread is, so forgive me if I missed it.  Installed the pre-cleared plugin, however I only see SSDs/Cache pool drives.  Any particular reason I can't pre-clear what I think may be a bad parity drive?

You cannot run preclear against any drive that is assigned to the unRAID array.  I assume that you currently have the drive in question assigned as parity?

 

I found this bug other day by accident. If you remove your parity drive from the array, it still doesn't appear on the plugin main page.

 

Please update your plugin and try again.

  • Author

[glow=red,2,300]Update to Beta:[/glow]

 

2016.03.22

- Fix: Better S.M.A.R.T. report

- Add: Save a report in /boot/preclear_reports

 

2016.03.21

- Add: pause any preclear operations while array start/stop

- Add: Initial SMART reporting

[glow=red,2,300]Update to Beta:[/glow]

 

2016.03.22

- Fix: Better S.M.A.R.T. report

- Add: Save a report in /boot/preclear_reports

 

2016.03.21

- Add: pause any preclear operations while array start/stop

- Add: Initial SMART reporting

 

gfjardim

 

Thank you for the update

 

You can disregard the previous request for help as the latest update fixed the error message.

 

Do I still need the added line .... mount -o remount,size=256m /var/log......in the Go file ?

 

 

 

  • Author

[glow=red,2,300]Update to Beta:[/glow]

 

2016.03.22

- Fix: Better S.M.A.R.T. report

- Add: Save a report in /boot/preclear_reports

 

2016.03.21

- Add: pause any preclear operations while array start/stop

- Add: Initial SMART reporting

 

gfjardim

 

Thank you for the update

 

You can disregard the previous request for help as the latest update fixed the error message.

 

Do I still need the added line .... mount -o remount,size=256m /var/log......in the Go file ?

 

If you have spare RAM memory, then better you leave it there. Lots of plugins use that directory for logging.

[glow=red,2,300]Update to Beta:[/glow]

 

2016.03.22

- Fix: Better S.M.A.R.T. report

- Add: Save a report in /boot/preclear_reports

 

2016.03.21

- Add: pause any preclear operations while array start/stop

- Add: Initial SMART reporting

 

Does that mean you can stop the array during a preclear . Add additional hard drives and restart the array and the preclear will resume ?

This does NOT Mean you can reboot the system ?

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.