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.

Unassigned Devices Preclear - a utility to preclear disks before adding them to the array

Featured Replies

  • Author
Just now, mikela said:

 

So just stop the array and put it in position 10 and unraid will recognize the preclear signature and format it ?

Yes.

  • Replies 846
  • Views 236.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Update the UD preclear plugin.

  • I am no longer working on this plugin. LT has taken over the maintenance and support. You will need to contact them about any issues or concerns you have. Future releases will come from them, and n

  • Not really, I assume the GUI is using some old disk info and not refreshing to get the current one, since it also happens the other way around, i.e., if you boot with a precleared disk and then format

Posted Images

Success!

 

Thank you for this wonderful plugin.  Really great for those of us that need to shutdown our servers at night. 👍

  • 2 weeks later...

This is a great plugin!

 

I incorrectly added 6 drives to my array before I used Preclear.

 

I have since removed them from the array and they are showing up in UNRAID as "Unassigned Devices".

 

133986561_ScreenShot2022-06-23at6_14_50pm.thumb.png.4ae32ca0d3a8098f1fddb256a6424b9e.png

 

Two are currently running Preclear as I didnt make the same mistake with these ones!

 

The drives don't have any data on them and will go into a MD1200 DAS server that i will install shortly.

 

How do I 'reset' the drives so that they show up under Preclear?

Edited by Brenton Spear

I worked it out!

 

For anyone interested:

1. Make sure you have "Unassigned Devices Plus" plugin

2. Go into the settings of Unassigned Devices

3. Enable "Destructive Mode"

4. Click on the red X next to the drive serial to remove the partition

 

Obvious now that I know :)

 

Hi! I have an existing Unraid server and am working on setting up a back up. I'm using used WD Yellow Enterprise drives and want to pre-clear them. However, when I go to install the UD Preclear Plugin I get the attached error calling out that Requirements Not Met. 

 

I originally thought that I needed to upgrade to the latest version of Unraid. I did this on my "backup" server and am still getting this error. Also getting it on my original machine running 6.9.2. 

 

Any help would be greatly appreciated. 

 

Thanks so much! 

 

Chris 

Screen Shot 2022-06-27 at 7.08.48 PM.png

  • Author

Install the Unassigned Devices (UD) plugin first.  The UD Preclear is an add on to the UD plugin.

@dlandon You are a Gentleman (or Woman)  😀and a Scholar. Thanks so much! 

 

Chris 

  • Author

Install UD+ if you need to manage partition removal and/or clearing of dsks.  You can't preclear a disk if it has any partitions.

Just noticed that the avatar you use when you stare at it long enough stares back at you and it looks really pissed off.  Maybe those old radios were originally in the Amityville Horror.

 

@kizer would be impressed @dlandon

Hi! I precleared 4 WD Yellow 6 TB drives via this plugin. 2 Failed and 2 passed. Both of the failed drives pass SMART and failed on Post Read Verification. I've read around that it could be bad RAM, but since 2 of the 4 drives did not fail on that error I'm curious if it's something else.

 

I also read that doing the preclear on one drive at a time can help. Any suggestions would be greatly appreciated! Screenshots of Output attached.

 

Thanks!

 

Chris

 

 

 

 

Screen Shot 2022-06-29 at 1.03.33 PM.png

Screen Shot 2022-06-29 at 1.03.25 PM.png

13 minutes ago, Reacher said:

Both of the failed drives pass SMART

Long or short? Both are showing pending sectors, so likely a drive problem.

1 hour ago, Reacher said:

Both of the failed drives pass SMART

The overall SMART assessment can never be relied on :( 

 

Any time you get. Non-trivial number of reallocated sectors or pending sectors I would not be happy with the drive.

I would suggest trying the extended SMART test - if that cannot complete there is rarely any point in continuing with the drive.

 

 

 

2 minutes ago, itimpi said:

The overall SMART assessment can never be relied on

Yeah, I assumed he meant a SMART test, SMART assessment is basically meaningless.

2 minutes ago, JorgeB said:

SMART assessment is basically meaningless.

In fact @dlandonIMHO you should remove that part from the summary, it will just confuse users, SMART assessment only fails if there's a "FAILING NOW" SMART attribute, and the GUI already warns about that.

Hello!

I just tried to pre-clear a drive, but it's stuck at starting for hours... does anyone have any idea what might cause this?

 

I've cleared multiple drives in the past with this plugin, all successful. 

Starting to recover from hardware and software errors after months of being down. 

I'm having issues with two of my NVME drives, they're both Sabrent Rocket 4.0 1TB drives. 

I couldn't mount the Sabrent Rocket NVMEs. After clicking on 'Mount', nothing happened. 

The drives also wouldn't let me delete the original partitions. After restarting, I still couldn't 'Mount' the drives, but was able to delete the partitions. 

The problem I'm having now is that when I go to Preclear the NVME drives, none of the drive's info is available. There is also no Disk Log information available, but I can see everything under the devices 'Identity'. 

 

461829332_ScreenShot2022-07-02at4_01_51PM.thumb.png.92a0945d2aa08124861ed62b72a8968e.png

 

Anyone have an idea of what is going on?

My hardware is in my signature.

 

Screen Shot 2022-07-02 at 4.06.01 PM.png

Screen Shot 2022-07-02 at 4.05.30 PM.png

threadripper19-smart-20220702-1606.zip threadripper19-diagnostics-20220702-1612.zip

  • Author
2 hours ago, FQs19 said:

The problem I'm having now is that when I go to Preclear the NVME drives

Why are you wanting to preclear Nvme drives?

12 minutes ago, dlandon said:

Why are you wanting to preclear Nvme drives?

I wanted to test the drives after all the failures. 
 

I was able to get the drives to Preclear after I started the array, but the read/write performance is horrible. 
the max speed I’m getting is only 130MB/sec. 

Anyone have an idea why both of my Sabrent Rocket 4.0 NVME drives Precleared at such a ridiculously slow speed of 104 MB/S taking over 3hrs to preclear a 1 TB drive?

They're PCIE 4.0 drives on a PCIE 4.0 capable motherboard. When I used unraid 6.9.2 and the previous preclear plugin from gfjardim, I was able to get over 3000 MB/S and it finished in minutes. 

 

Attached are my diagnostics and a screenshot of the Identity page. 

Screenshot 2022-07-03 091422.jpg

threadripper19-diagnostics-20220703-0923.zip

Preclearing flash devices is not recommended, you'll just be causing unnecessary wear, as for the performance try a write test to see how they are performing, if speed is the same it's likely a device problem.

1 minute ago, JorgeB said:

Preclearing flash devices is not recommended, you'll just be causing unnecessary wear, as for the performance try a write test to see how they are performing, if speed is the same it's likely a device problem.

Wasn't aware of that. Thanks.

Would using the DiskSpeed docker be okay to use to test for speed or should I just configure the drives then transfer a file to the NVME from another pc? I don't feel like setting up an iPerf test.

Diskspeed is read only test, best to just test form another PC, assuming you have 10GbE or better.

1 minute ago, JorgeB said:

Diskspeed is read only test, best to just test form another PC, assuming you have 10GbE or better.

I do have another pc with 10GbE. 

I'll try that. 

Thank you.

@dlandon: Seems that recent update broke some of my User Scripts. Soon after upgrade I can no longer call them:

 

Jul 11 08:31:40 Tower emhttpd: cmd: /usr/local/emhttp/plugins/user.scripts/backgroundScript.sh /tmp/user.scripts/tmpScripts/Unmount TowerVM01 SMB/script
Jul 11 08:31:40 Tower atd[8442]: PAM unable to dlopen(/lib64/security/pam_unix.so): /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /lib64/libresolv.so.2)
Jul 11 08:31:40 Tower atd[8442]: PAM adding faulty module: /lib64/security/pam_unix.so
Jul 11 08:31:40 Tower atd[8442]: Module is unknown

 

 

 

  • Author
5 hours ago, hawihoney said:

@dlandon: Seems that recent update broke some of my User Scripts. Soon after upgrade I can no longer call them:

 

Jul 11 08:31:40 Tower emhttpd: cmd: /usr/local/emhttp/plugins/user.scripts/backgroundScript.sh /tmp/user.scripts/tmpScripts/Unmount TowerVM01 SMB/script
Jul 11 08:31:40 Tower atd[8442]: PAM unable to dlopen(/lib64/security/pam_unix.so): /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /lib64/libresolv.so.2)
Jul 11 08:31:40 Tower atd[8442]: PAM adding faulty module: /lib64/security/pam_unix.so
Jul 11 08:31:40 Tower atd[8442]: Module is unknown

 

 

 

This has nothing to do with UD.  You are using something that requires an additional slackware package - glibc.  I suspect that dlopen was updated and now requires the glibc 2.34 package.  I ran into this when I updated the tmux package in UD Preclear.  It now requires glibc 2.34.

 

Unraid 6.10 has glibc 2.33 installed which is a version behind.  As a quick work around, install the latest version of the UD Preclear plugin that installs the glibc package updated to 2..35.

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.