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

Hi,

 

My hard disk, WD green serial No. WMAZA 9837135 indicated it has finished preclear successfully.

 

But if I click on the link for seeing the report, it shows another WD green HDD.

It shows WMAZA 9742022? Why this happening?

 

It is bug within preclear?

 

Actually  WD green serial No. WMAZA 9742022 is still hasn't finished preclear.

See the bottom last picture attached.

 

 

Preclear-Error-1.jpg

Preclear-Error-2.jpg

Preclear-Error-3.jpg

Edited by wepee

  • Replies 3.1k
  • Views 909.4k
  • 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

2 hours ago, gfjardim said:

@wepee, please close all your browser windows and tabs and try it again. Let's try to replicate it.

I have closed my firefox browser and restarted again, log into my unraid server, 

click on the preclear icon, and then click the same hard disk, 

WD green serial No. WMAZA 9837135, no luck, no change, same issue.

 

Next step, I am going to restart my unraid server and see, before

that I need to wait for the preclear operation to finish the last HDD,

up till 90% at Post-read phase.

Edited by wepee

After a few hours, WD green serial No. WMAZA 9742022 has finished preclear.

See the bottom last picture attached.

Its preclear report shown the correct hdd with correct serial no. that is WMAZA 9742022

Correct-Preclear-Report-Shown.jpg

  • Author

I've looked the code and I see no obvious way this is happening. It filters the report from /boot/preclear_reports using disk short serial number, and that value you see in the link it's the file base name without the extension. I've tried and couldn't replicate it too....

1 hour ago, gfjardim said:

I've looked the code and I see no obvious way this is happening. It filters the report from /boot/preclear_reports using disk short serial number, and that value you see in the link it's the file base name without the extension. I've tried and couldn't replicate it too....

Err.....bad news.....sobbing.......

I think the culprit came within my Kingmax usb 2.0 thumb drive.

 

I rebooted my unRAID server.......but couldn't log in. What was the problem? I am asking myself.......

 

Troubleshooting started....

I plugged in to the monitor of my server, the motherboard UEFI bios couldn't detected the Kingmax usb 2.0 thumb drive.

I plugged in an unused thumb drive, the UEFI bios was able to detect a thumb drive inserted.

Unplugged the Kingmax usb2.0 thumb drive, and inserted into my Windows 10 PC, it wasn't able to read the thumb drive.

 

So, I guess, pretty sure my Kingmax usb 2.0 thumb drive has kicked the bucket for good.

 

Question, does unRAID thumb drive has build-in software/plugin to minimize the wear on the flash memory on the drive itself?

 

 

Kingmax-4GB-USB2.0.jpg

Edited by wepee

  • Author
14 minutes ago, wepee said:

 

Question, does unRAID thumb drive has build-in software/plugin to minimize the wear on the flash memory on the drive itself?

 

 

Unraid itself writes very little into the flash drive. You will see writes mainly during settings change, SO update and plugins update.

 

Plugins are a whole different matter. Many plugins use flash drive to store their own installation files and their configuration only, but some will store some status too like Preclear Plugin that stores reports and resume status. Resume status is written every minute, they are less than 1KB size, so every instance of preclear will write at most 1.44MB each 24 hours, which isn't much. It writes two 4KB reports too at the end, again, not much.

 

Not only NAND wearing kills flash drives. Some controllers too have low MTBF and will render your flash drive useless even if your memory isn't wore out.

 

I do recommend Sandisk flash drives since them all have wear leveling, but it's good to make a flash backup now and then.

Quote

I do recommend Sandisk flash drives since them all have wear leveling, but it's good to make a flash backup now and then.

Yes, I am installiing a fresh copy of unRAID on a Sandisk flash drive 8GB usb 2.0 thumb drive.

 

I think I should not be doing another round of preclear, since the last preclear operation has completely successfully,

 

unRAID will be noticed it, once I get the unRAID server up and running, right?

 

I mean it will recognize the hard disks since it has a preclear signature written on them from the last preclear operation, right?

Edited by wepee

Hi, today I tried the Preclear Plugin but when I clicked "Start Preclear" nothing happened. I try 2 HDD but none of both worked.

  • Author
3 minutes ago, Damix21 said:

Hi, today I tried the Preclear Plugin but when I clicked "Start Preclear" nothing happened. I try 2 HDD but none of both worked.

Please send me your diagnostics file.

1 minute ago, gfjardim said:

Please send me your diagnostics file.

Where I can find it?

  • Author
5 minutes ago, Damix21 said:

Where I can find it?

In Tools > Diagnostics

  • Author
3 minutes ago, Damix21 said:

The 2 HDD I tried to preclear are WDC_WD20PURX

 

Your login session is no longer valid, just close your web browser and login again into the webgui. 

Edited by gfjardim

3 minutes ago, gfjardim said:

Your login session is no longer valid, just close your web browser and login again into the webgui. 

It didn't work. I tried with 3 different browser in 3 different PCs.

  • Author
1 minute ago, Damix21 said:

It didn't work. I tried with 3 different browser in 3 different PCs.

Quote

Mar 15 00:07:41 Atom root: error: /plugins/preclear.disk/Preclear.php: wrong csrf_token
Mar 15 00:07:42 Atom root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
### [PREVIOUS LINE REPEATED 16 TIMES] ###
Mar 15 00:08:16 Atom root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
### [PREVIOUS LINE REPEATED 118 TIMES] ###
Mar 15 00:12:14 Atom root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token
### [PREVIOUS LINE REPEATED 144 TIMES] ###
Mar 15 00:17:02 Atom root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token

That what the syslog is telling us.

7 minutes ago, gfjardim said:

That what the syslog is telling us.

Ok, thank you

No, I'm trying to start unraid with the GUI and no lan connected and try to start preclear

No luck, not work

  • Author
2 minutes ago, Damix21 said:

No luck, not work

Preclear Plugin usually tries to update your CSRF token if it's invalid. I've added a new version right now that changes this behavior, showing an alert instead. Please update it to 2020.03.14a and see if it helps.

I don't know why but I restarted 2-3 times the server, reinstall the plugin and now work. Thank you for the help

1 minute ago, gfjardim said:

Preclear Plugin usually tries to update your CSRF token if it's invalid. I've added a new version right now that changes this behavior, showing an alert instead. Please update it to 2020.03.14a and see if it helps.

Maybe it is that. Thank you so much

  • Author
13 minutes ago, Damix21 said:

Maybe it is that. Thank you so much

It's preclearing now?

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.