kolepard 1 Posted October 22, 2020 Share Posted October 22, 2020 Hi all, i have a question if any have the respond, it would be appreciated... Q. if you have 2 unraid server can you preclear your disk in one and put it in the other serve, will it be recognize or i will have to preclear again?Not in my experience. I have done this at least a half dozen times without any issues.Sent from my iPad using Tapatalk 1 Quote Link to post
AndreB 0 Posted October 22, 2020 Share Posted October 22, 2020 Thanks for this fast respond.... Quote Link to post
gfjardim 88 Posted October 22, 2020 Author Share Posted October 22, 2020 Every time I reboot my server, the Preclear plugin disappears as if it uninstalled itself (or something else uninstalled it). And I have to reinstall it again. Is this a known issue? Anybody else seeing this issue? It's not happening with any of my other plugins. I'm on 6.9.0-beta30 with trial key.Ok, I think I fixed the bug. Please update and test it if you could.Thanks for your assistance.Enviado de meu SM-N970F usando o Tapatalk Quote Link to post
snowmirage 1 Posted October 26, 2020 Share Posted October 26, 2020 I think I'm having an odd problem with the plugin, or I'm doing something that completely isn't supported and don't realize it... I have a 2 bay external USB 3 sata desktop thing. Something like this but a different brand. I have several drives I wanted to test and preclear. I put 2 in that unit, one 2TB drive and one 6TB drive. They detected in unassigned devices. Though.... if the end of the names seem strangely familiar. (The 3rd disk there that is preclearing is a 6 TB connected internally (was connected and preclearing before connecting this USB desk station thing) I went into Tool > Preclear > and started to preclear the 2TB drive but when I did the link on the right side to preclear the 6TB drive was no longer there. I stopped the preclear on the 2TB drive Now when I click the preclear link on the lower 6TB drive (the one not already running that is in the USB encloser) it reports as the 2TB drive. Any ideas whats going on here I'm more than a bit confused. Quote Link to post
snowmirage 1 Posted October 26, 2020 Share Posted October 26, 2020 If I try the option in the top right for "start multiple sessions" it lists the sdaf (2TB) drive twice... Quote Link to post
snowmirage 1 Posted October 26, 2020 Share Posted October 26, 2020 Messing around with it I flipped the disks in the external USB desktop thing. The Identification strings for both drives in unassigned device now appear to be the S/N of the 6TB drive. And the issues above are now the same but for the 6TB drive now instead of the 2TB drive. Maybe my USB enclosure is just a kinda garbage and doing some wacky stuff with drive identification? Quote Link to post
jonathanm 1162 Posted October 26, 2020 Share Posted October 26, 2020 44 minutes ago, snowmirage said: Maybe my USB enclosure is just a kinda garbage and doing some wacky stuff with drive identification? This. USB is the worst possible choice for external drive connections. SAS and eSATA are the only consistently reliable ways to connect to hard drives in a separate enclosure. Quote Link to post
Maddeen 14 Posted October 26, 2020 Share Posted October 26, 2020 @gfjardim May I ask you, if I can run this on two disks simultaneously? Tomorrow I'll receive two new 4TB Ironwolfs and due to the very long process time it would be very nice if it works Thank you Quote Link to post
CatMilk 3 Posted October 26, 2020 Share Posted October 26, 2020 1 hour ago, Maddeen said: @gfjardim May I ask you, if I can run this on two disks simultaneously? Tomorrow I'll receive two new 4TB Ironwolfs and due to the very long process time it would be very nice if it works Thank you Yes so long as your disk count doesn't exceed the maximum amount of disks on your Unraid licence. I often run preclear on multiple disks at the same time. Licence Disk Allowances: Basic = 6 Plus = 12 Pro = Unlimited 1 Quote Link to post
DougCube 3 Posted October 27, 2020 Share Posted October 27, 2020 I often run preclear on 3 to 4 at the same time. Saves a lot of time because it takes roughly the same amount of time as running just one. 1 Quote Link to post
Maddeen 14 Posted October 27, 2020 Share Posted October 27, 2020 Thank you guys. 👍 Have a nice day Quote Link to post
Mor9oth 0 Posted November 7, 2020 Share Posted November 7, 2020 Hello guys! I just finished successfully the preclear of two disks. However, I am unsure what the Status of the S.M.A.R.T section could mean. I got on both disks multiple status of 9-Power_On_Hours and 194-Temperature_Celsius. Googled it and tried to find something in the forum, however I still do not know if that is a "bad sign" or something related to early mortality. Does anybody know what this means an if it is problematic? Thank you for your help! Disk 1: ############################################################################################################################ # # # unRAID Server Preclear of disk 9LG121EE # # Cycle 1 of 1, partition start on sector 64. # # # # # # Step 1 of 5 - Pre-read verification: [24:06:51 @ 161 MB/s] SUCCESS # # Step 2 of 5 - Zeroing the disk: [22:55:18 @ 169 MB/s] SUCCESS # # Step 3 of 5 - Writing unRAID's Preclear signature: SUCCESS # # Step 4 of 5 - Verifying unRAID's Preclear signature: SUCCESS # # Step 5 of 5 - Post-Read verification: [24:05:19 @ 161 MB/s] SUCCESS # # # # # # # # # # # # # # # ############################################################################################################################ # Cycle elapsed time: 71:07:30 | Total elapsed time: 71:07:30 # ############################################################################################################################ ############################################################################################################################ # # # S.M.A.R.T. Status (device type: default) # # # # # # ATTRIBUTE INITIAL CYCLE 1 STATUS # # 5-Reallocated_Sector_Ct 0 0 - # # 9-Power_On_Hours 4 75 Up 71 # # 194-Temperature_Celsius 36 52 Up 16 # # 196-Reallocated_Event_Count 0 0 - # # 197-Current_Pending_Sector 0 0 - # # 198-Offline_Uncorrectable 0 0 - # # 199-UDMA_CRC_Error_Count 0 0 - # # # # # # # # # # # ############################################################################################################################ # SMART overall-health self-assessment test result: PASSED # ############################################################################################################################ --> ATTENTION: Please take a look into the SMART report above for drive health issues. --> RESULT: Preclear Finished Successfully!. Copy to clipboard Disk 2: ############################################################################################################################ # # # unRAID Server Preclear of disk QBG7431T # # Cycle 1 of 1, partition start on sector 64. # # # # # # Step 1 of 5 - Pre-read verification: [24:15:28 @ 160 MB/s] SUCCESS # # Step 2 of 5 - Zeroing the disk: [23:04:04 @ 168 MB/s] SUCCESS # # Step 3 of 5 - Writing unRAID's Preclear signature: SUCCESS # # Step 4 of 5 - Verifying unRAID's Preclear signature: SUCCESS # # Step 5 of 5 - Post-Read verification: [24:12:50 @ 160 MB/s] SUCCESS # # # # # # # # # # # # # # # ############################################################################################################################ # Cycle elapsed time: 71:32:24 | Total elapsed time: 71:32:25 # ############################################################################################################################ ############################################################################################################################ # # # S.M.A.R.T. Status (device type: default) # # # # # # ATTRIBUTE INITIAL CYCLE 1 STATUS # # 5-Reallocated_Sector_Ct 0 0 - # # 9-Power_On_Hours 4 75 Up 71 # # 194-Temperature_Celsius 34 45 Up 11 # # 196-Reallocated_Event_Count 0 0 - # # 197-Current_Pending_Sector 0 0 - # # 198-Offline_Uncorrectable 0 0 - # # 199-UDMA_CRC_Error_Count 0 0 - # # # # # # # # # # # ############################################################################################################################ # SMART overall-health self-assessment test result: PASSED # ############################################################################################################################ --> ATTENTION: Please take a look into the SMART report above for drive health issues. --> RESULT: Preclear Finished Successfully!. Copy to clipboard Quote Link to post
gfjardim 88 Posted November 7, 2020 Author Share Posted November 7, 2020 Hello guys! I just finished successfully the preclear of two disks. However, I am unsure what the Status of the S.M.A.R.T section could mean. I got on both disks multiple status of 9-Power_On_Hours and 194-Temperature_Celsius. Googled it and tried to find something in the forum, however I still do not know if that is a "bad sign" or something related to early mortality. Does anybody know what this means an if it is problematic? Thank you for your help! Disk 1: ############################################################################################################################# ## unRAID Server Preclear of disk 9LG121EE ## Cycle 1 of 1, partition start on sector 64. ## ## ## Step 1 of 5 - Pre-read verification: [24:06:51 @ 161 MB/s] SUCCESS ## Step 2 of 5 - Zeroing the disk: [22:55:18 @ 169 MB/s] SUCCESS ## Step 3 of 5 - Writing unRAID's Preclear signature: SUCCESS ## Step 4 of 5 - Verifying unRAID's Preclear signature: SUCCESS ## Step 5 of 5 - Post-Read verification: [24:05:19 @ 161 MB/s] SUCCESS ## ## ## ## ## ## ## ############################################################################################################################## Cycle elapsed time: 71:07:30 | Total elapsed time: 71:07:30 ########################################################################################################################################################################################################################################################## ## S.M.A.R.T. Status (device type: default) ## ## ## ATTRIBUTE INITIAL CYCLE 1 STATUS ## 5-Reallocated_Sector_Ct 0 0 - ## 9-Power_On_Hours 4 75 Up 71 ## 194-Temperature_Celsius 36 52 Up 16 ## 196-Reallocated_Event_Count 0 0 - ## 197-Current_Pending_Sector 0 0 - ## 198-Offline_Uncorrectable 0 0 - ## 199-UDMA_CRC_Error_Count 0 0 - ## ## ## ## ## ############################################################################################################################## SMART overall-health self-assessment test result: PASSED #############################################################################################################################--> ATTENTION: Please take a look into the SMART report above for drive health issues.--> RESULT: Preclear Finished Successfully!.Copy to clipboard Disk 2: ############################################################################################################################# ## unRAID Server Preclear of disk QBG7431T ## Cycle 1 of 1, partition start on sector 64. ## ## ## Step 1 of 5 - Pre-read verification: [24:15:28 @ 160 MB/s] SUCCESS ## Step 2 of 5 - Zeroing the disk: [23:04:04 @ 168 MB/s] SUCCESS ## Step 3 of 5 - Writing unRAID's Preclear signature: SUCCESS ## Step 4 of 5 - Verifying unRAID's Preclear signature: SUCCESS ## Step 5 of 5 - Post-Read verification: [24:12:50 @ 160 MB/s] SUCCESS ## ## ## ## ## ## ## ############################################################################################################################## Cycle elapsed time: 71:32:24 | Total elapsed time: 71:32:25 ########################################################################################################################################################################################################################################################## ## S.M.A.R.T. Status (device type: default) ## ## ## ATTRIBUTE INITIAL CYCLE 1 STATUS ## 5-Reallocated_Sector_Ct 0 0 - ## 9-Power_On_Hours 4 75 Up 71 ## 194-Temperature_Celsius 34 45 Up 11 ## 196-Reallocated_Event_Count 0 0 - ## 197-Current_Pending_Sector 0 0 - ## 198-Offline_Uncorrectable 0 0 - ## 199-UDMA_CRC_Error_Count 0 0 - ## ## ## ## ## ############################################################################################################################## SMART overall-health self-assessment test result: PASSED #############################################################################################################################--> ATTENTION: Please take a look into the SMART report above for drive health issues.--> RESULT: Preclear Finished Successfully!.Copy to clipboard They are benign, I just left those there so I can see the comparison is working accordingly.Enviado de meu SM-N970F usando o Tapatalk 1 Quote Link to post
Mor9oth 0 Posted November 7, 2020 Share Posted November 7, 2020 Quote They are benign, I just left those there so I can see the comparison is working accordingly. Alright! That sounds good! So I can use them in my array! Thank you @gfjardim 😀👍 Quote Link to post
WalkAbstract 0 Posted November 14, 2020 Share Posted November 14, 2020 (edited) Just wanted to leave a note here about pushing my preclear speed from 2 MB/s to 265 MB/s tl;dr: beef up your CPU cause preclear uses openssl [0] which is very, very CPU heavy OR modify the preclear script to not use AES256-CTR 100% CPU Usage: AMD E-350 -- 2 core, 2 thread, 1.6 GHz 50% CPU Usage: Intel i5-6600 -- 4 core, 4 thread, 3.3 GHz I was getting 100 MB/s on step 1 (pre-read), but only 2 MB/s on step 2 (erase). CPU was at 100% and top showed openssl as the top consumer. I dug into the logs and saw that preclear uses the output from openssl to generate random bits for the erase step. My media server is pretty weak, and was bottlenecking on CPU when running openssl. I moved over to another computer with a much faster CPU and saw my speeds go up by 100x. If you don't have a spare computer lying around, you could modify the preclear script to use something faster. The script uses the AES256-CTR cipher. AES acceleration is probably more important [1] here than raw cores or clock speed. The E-350 doesn't have AES acceleration, but the i5-6600 does. A potential alternative is using a non-AES cipher, like chacha20 [2]. The modified line in the script might look something like: openssl_cmd="openssl enc -chacha20 -pass pass:'${pass}' -nosalt" [0] https://github.com/gfjardim/unRAID-plugins/blob/b45bef5b26d9a3536043376f2b7d349922f35954/source/preclear.disk/script/preclear_disk.sh#L490 [1] https://blog.famzah.net/2015/06/26/openssh-ciphers-performance-benchmark-update-2015/ [2] https://crypto.stackexchange.com/a/52961 edit: Bonus! Was trying to understand why my write speed slows down from 265 MB/s to 150 MB/s. I eventually remembered that hard drives are spinning platters, and more bits are passing under the read/write head at the edges compared to the middle. Doing some quick math shows how big of a difference this makes. # Assumes initial speeds of 265 MB/s, # and platter goes all the way to 3.5 inches # Formula -- speed = distance * (265 / 3.5) Distance from Center (inches) | 1.0 | 1.5 | 2.0 | 2.5 | 3.0 | 3.5 | Read/Write Speed (MB/s) | 75 | 113 | 151 | 189 | 227 | 265 | Edited November 15, 2020 by WalkAbstract Quote Link to post
JDGJr 1 Posted November 15, 2020 Share Posted November 15, 2020 (edited) Should I add this disk to my array? Just ran preclear on a 10TB WD Elements external drive and it reported: # ATTRIBUTE INITIAL CYCLE 1 STATUS # # 5-Reallocated_Sector_Ct 0 1 Up 1 # Should I return this drive, run another cycle to see if it increases, or add the drive to my array? Thanks, John Edited November 15, 2020 by JDGJr Quote Link to post
TexasUnraid 37 Posted November 15, 2020 Share Posted November 15, 2020 (edited) If it got a bad sector on a new drive during a pre-clear, that is an instant return for me. Edited November 15, 2020 by TexasUnraid Quote Link to post
Ballantin 0 Posted November 16, 2020 Share Posted November 16, 2020 I am having a very weird issue, every time that I restart the server Preclear plugin is gone and I need to reinstall it again. It installs ok without errors and once installed it works fine until the next restart that it will be wiped again. It only happens with this plugin that I install using CA. Running Unraid 6.9.0-beta30. Quote Link to post
gfjardim 88 Posted November 16, 2020 Author Share Posted November 16, 2020 I am having a very weird issue, every time that I restart the server Preclear plugin is gone and I need to reinstall it again. It installs ok without errors and once installed it works fine until the next restart that it will be wiped again. It only happens with this plugin that I install using CA. Running Unraid 6.9.0-beta30.Have you updated nthe plugin recently? If you can, please send me a PM with your Diagnostics file. Quote Link to post
DougCube 3 Posted November 16, 2020 Share Posted November 16, 2020 There seems to be a bug or oversight where hot-plugged drives do not give a preclear icon/option in the MAIN tab but it is still possible to run it from the TOOLS tab. (I tried obvious things like refreshing the page.) Please fix. Regarding the issue of this plugin disappearing after a reboot... After I updated to latest version to fix this very issue, I still needed to reinstall the plugin after a reboot -- at least twice more. (I should send you a diagnostics file again.) Quote Link to post
bidmead 4 Posted November 17, 2020 Share Posted November 17, 2020 OK, I've used the Preclear plugin successfully to preclear a 300GB Maxtor drive. The precleared drive shows up under Unassigned devices. There's a button to format it, but it's grey and has lost its link. Below is a list of Missing drives and the Maxtor appears there. Can anyone tell me what's going on here? -- Chris Quote Link to post
trurl 1519 Posted November 17, 2020 Share Posted November 17, 2020 29 minutes ago, bidmead said: button to format it Are you intending to use it as an Unassigned Device? Quote Link to post
gfjardim 88 Posted November 17, 2020 Author Share Posted November 17, 2020 OK, I've used the Preclear plugin successfully to preclear a 300GB Maxtor drive. The precleared drive shows up under Unassigned devices. There's a button to format it, but it's grey and has lost its link. Below is a list of Missing drives and the Maxtor appears there. Can anyone tell me what's going on here? -- ChrisYou have to click on that red X to clean your preclear session to format your drives.Enviado de meu SM-N970F usando o Tapatalk Quote Link to post
bidmead 4 Posted November 17, 2020 Share Posted November 17, 2020 Thanks for getting back to me.Ok, I've done what you suggested. The red X disappears and I've refreshed the browser page. But there's no change. The format button is still greyed out and the drive still appears as both unassigned and missing.I intended to add the drive to the array.-- ChrisSent from my CPH1907 using Tapatalk Quote Link to post
JorgeB 3393 Posted November 17, 2020 Share Posted November 17, 2020 43 minutes ago, bidmead said: I intended to add the drive to the array. No need to format then, but if you still want to just read the first couple of posts in the Unassigned Devices plugin thread and you'll find the answer. Quote Link to post
2962 posts in this topic Last Reply
Recommended Posts
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.