March 4, 201610 yr I see this in the pre clear window, what does it mean if anything? /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1186: post_read_err: command not found
March 4, 201610 yr Author My drive finished its first pre clear cycle, not sure what to make of this, thoughts? ================================================================== 1.15b = unRAID server Pre-Clear disk /dev/sdaa = cycle 1 of 1, partition start on sector 1 = Disk Pre-Clear-Read completed DONE = Step 1 of 10 - Copying zeros to first 2048k bytes DONE = Step 2 of 10 - Copying zeros to remainder of disk to clear it DONE = Step 3 of 10 - Disk is now cleared from MBR onward. DONE = Step 4 of 10 - Clearing MBR bytes for partition 2,3 & 4 DONE = Step 5 of 10 - Clearing MBR code area DONE = Step 6 of 10 - Setting MBR signature bytes DONE = Step 7 of 10 - Setting partition 1 to precleared state DONE = Step 8 of 10 - Notifying kernel we changed the partitioning DONE = Step 9 of 10 - Creating the /dev/disk/by* entries DONE = Step 10 of 10 - Verifying if the MBR is cleared. DONE = Disk Post-Clear-Read completed DONE Disk Temperature: 36C, Elapsed Time: 38:56:03 ========================================================================1.15b == ST8000AS0002-1NA17Z Z840F1Q2 == Disk /dev/sdaa has NOT been precleared successfully == /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.di sk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /bo ot/readvz: cannot execute binary file /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary fi le /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.di sk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /bo ot/readvz: cannot execute binary file /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary fi le /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.di sk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file ============================================================================ ** Changed attributes in files: /tmp/smart_start_sdaa /tmp/smart_finish_sdaa ATTRIBUTE NEW_VAL OLD_VAL FAILURE_THRESHOLD STATUS RAW_VALUE Raw_Read_Error_Rate = 117 100 6 ok 131798080 Seek_Error_Rate = 70 100 30 ok 10938603 Spin_Retry_Count = 100 100 97 near_thresh 0 End-to-End_Error = 100 100 99 near_thresh 0 Airflow_Temperature_Cel = 64 77 45 near_thresh 36 Temperature_Celsius = 36 23 0 ok 36 Hardware_ECC_Recovered = 117 100 0 ok 131798080 No SMART attributes are FAILING_NOW 0 sectors were pending re-allocation before the start of the preclear. 0 sectors were pending re-allocation after pre-read in cycle 1 of 1. 0 sectors were pending re-allocation after zero of disk in cycle 1 of 1. 0 sectors are pending re-allocation at the end of the preclear, the number of sectors pending re-allocation did not change. 0 sectors had been re-allocated before the start of the preclear. 0 sectors are re-allocated at the end of the preclear, the number of sectors re-allocated did not change. root@Tower:/usr/local/emhttp#
March 4, 201610 yr My drive finished its first pre clear cycle, not sure what to make of this, thoughts? ================================================================== 1.15b = unRAID server Pre-Clear disk /dev/sdaa = cycle 1 of 1, partition start on sector 1 = Disk Pre-Clear-Read completed DONE = Step 1 of 10 - Copying zeros to first 2048k bytes DONE = Step 2 of 10 - Copying zeros to remainder of disk to clear it DONE = Step 3 of 10 - Disk is now cleared from MBR onward. DONE = Step 4 of 10 - Clearing MBR bytes for partition 2,3 & 4 DONE = Step 5 of 10 - Clearing MBR code area DONE = Step 6 of 10 - Setting MBR signature bytes DONE = Step 7 of 10 - Setting partition 1 to precleared state DONE = Step 8 of 10 - Notifying kernel we changed the partitioning DONE = Step 9 of 10 - Creating the /dev/disk/by* entries DONE = Step 10 of 10 - Verifying if the MBR is cleared. DONE = Disk Post-Clear-Read completed DONE Disk Temperature: 36C, Elapsed Time: 38:56:03 ========================================================================1.15b == ST8000AS0002-1NA17Z Z840F1Q2 == Disk /dev/sdaa has NOT been precleared successfully == /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.di sk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /bo ot/readvz: cannot execute binary file /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary fi le /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.di sk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /bo ot/readvz: cannot execute binary file /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary fi le /boot/config/plugins/preclear.disk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file /boot/config/plugins/preclear.di sk/preclear_disk.sh: line 1182: /boot/readvz: cannot execute binary file ============================================================================ ** Changed attributes in files: /tmp/smart_start_sdaa /tmp/smart_finish_sdaa ATTRIBUTE NEW_VAL OLD_VAL FAILURE_THRESHOLD STATUS RAW_VALUE Raw_Read_Error_Rate = 117 100 6 ok 131798080 Seek_Error_Rate = 70 100 30 ok 10938603 Spin_Retry_Count = 100 100 97 near_thresh 0 End-to-End_Error = 100 100 99 near_thresh 0 Airflow_Temperature_Cel = 64 77 45 near_thresh 36 Temperature_Celsius = 36 23 0 ok 36 Hardware_ECC_Recovered = 117 100 0 ok 131798080 No SMART attributes are FAILING_NOW 0 sectors were pending re-allocation before the start of the preclear. 0 sectors were pending re-allocation after pre-read in cycle 1 of 1. 0 sectors were pending re-allocation after zero of disk in cycle 1 of 1. 0 sectors are pending re-allocation at the end of the preclear, the number of sectors pending re-allocation did not change. 0 sectors had been re-allocated before the start of the preclear. 0 sectors are re-allocated at the end of the preclear, the number of sectors re-allocated did not change. root@Tower:/usr/local/emhttp# I had to go looking for your previous post where you were having issues trying to install the faster preclear. Would have been simpler if you had just posted to that thread. This shows that you still have issues with the faster preclear install. Looking back at that other thread, your folder listing shows that in addition to the script, which you replaced, you also don't have the other code that the script requires. Your results are showing that the post-read never ran because you were missing that code. Don't really know how you got to this point. I thought the plugin installed that for you. Maybe you should start over by reading the plugin thread.
March 4, 201610 yr Author That plugin thread is terribly hard to read and make sense of, there a links posted all over the place, frankly someone should start a new one that is more clear and concise, no offence to anyone meant. All I come out of when reading that thread is confused. What I downloaded was a zip from that thread called FASTPRECLEAR_Fix. I extracted it, copied the file preclear_disk.sh into the preclear.disk folder in the plugins folder on my flash drive, I also copied the file readvz into the root of my flash drive. For some reason it looks like I have a file called preclear_disk.sh also in the root of my flash drive.
March 4, 201610 yr Sorry, my bad. Just had a look at my own setup and readvz is not in the plugin folder it is in the root of my flash. And in fact looking more closely at your error messages it is expecting to execute if from the root of flash. Possibly it is not executable. What do you get with this? ls -lah /boot
March 4, 201610 yr Author No worries. total 55M drwxrwxrwx 12 root root 4.0K Mar 1 23:42 ./ drwxrwxrwx 18 root root 380 Mar 1 21:08 ../ -rwxrwxrwx 1 root root 13K Mar 4 08:41 .DS_Store* drwxrwxrwx 4 root root 4.0K Sep 26 08:05 .Spotlight-V100/ drwxrwxrwx 3 root root 4.0K Sep 26 09:05 .TemporaryItems/ drwxrwxrwx 2 root root 4.0K Sep 26 08:05 .Trashes/ -rwxrwxrwx 1 root root 4.0K Sep 26 17:55 ._.DS_Store* -rwxrwxrwx 1 root root 4.0K Sep 26 09:05 ._.TemporaryItems* -rwxrwxrwx 1 root root 4.0K Sep 26 08:05 ._.Trashes* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._bzimage* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._bzroot* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._changes.txt* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._config* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._install.txt* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._license.txt* -rwxrwxrwx 1 root root 4.0K Sep 26 08:09 ._make_bootable.bat* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._make_bootable_mac* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._memtest* -rwxrwxrwx 1 root root 4.0K Mar 1 23:42 ._preclear_disk.sh* -rwxrwxrwx 1 root root 4.0K Mar 1 23:42 ._readvz* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._syslinux* drwxrwxrwx 2 root root 4.0K Sep 26 19:00 Plugins/ drwxrwxrwx 2 root root 4.0K Sep 26 08:14 System\ Volume\ Information/ -rwxrwxrwx 1 root root 3.8M Feb 9 12:42 bzimage* -rwxrwxrwx 1 root root 50M Feb 9 12:45 bzroot* -rwxrwxrwx 1 root root 17K Feb 9 12:42 changes.txt* drwxrwxrwx 6 root root 4.0K Mar 2 23:43 config/ -rwxrwxrwx 1 root root 2.4K Feb 9 12:42 install.txt* -r-xr-xr-x 1 root root 120K Sep 26 08:26 ldlinux.c32* -r-xr-xr-x 1 root root 68K Sep 26 08:26 ldlinux.sys* -rwxrwxrwx 1 root root 7.1K Feb 9 12:42 license.txt* -rwxrwxrwx 1 root root 1.3K Feb 9 12:42 make_bootable.bat* -rwxrwxrwx 1 root root 1.9K Feb 9 12:42 make_bootable_mac* -rwxrwxrwx 1 root root 147K Feb 9 12:42 memtest* drwxrwxrwx 2 root root 4.0K Jan 17 12:29 packages/ -rwxrwxrwx 1 root root 85K Jun 19 2014 preclear_disk.sh* drwxrwxrwx 2 root root 4.0K Mar 4 04:01 preclear_reports/ drwxrwxrwx 2 root root 4.0K Mar 1 16:59 previous/ -rwxrwxrwx 1 root root 11K Jun 26 2011 readvz* drwxrwxrwx 2 root root 4.0K Sep 26 08:07 syslinux/
March 4, 201610 yr -rwxrwxrwx 1 root root 11K Jun 26 2011 readvz* Don't know why but this is not the same as mine and the 2011 date seems really odd. -rwxrwxrwx 1 root root 14K Sep 4 10:29 readvz* See this post from the plugin thread. That is the version of the script I use since it does faster plus notifications. That post also confirms that the plugin does download readvz so maybe you should start over. Uninstall the plugin, delete folder /boot/config/plugins/preclear.disk and file /boot/readvz, then reinstall the plugin and follow the instructions on that post to install the script. That thread is a bit of a mess. If someone wants to put up a wiki I will put a link to it in the first post. It may be that this functionality will be included in unRAID eventually.
March 4, 201610 yr Author I don't know whats going on now, I've removed the plugin, deleted the folders as you suggested but now I can't seem to install the plugin at all? I am installing the script too, I think. Here is the output of ls -lah /boot drwxrwxrwx 11 root root 4.0K Mar 4 09:57 ./ drwxr-xr-x 18 root root 380 Mar 4 09:54 ../ -rwxrwxrwx 1 root root 13K Mar 4 09:57 .DS_Store* drwxrwxrwx 4 root root 4.0K Sep 26 08:05 .Spotlight-V100/ drwxrwxrwx 3 root root 4.0K Sep 26 09:05 .TemporaryItems/ drwxrwxrwx 2 root root 4.0K Sep 26 08:05 .Trashes/ -rwxrwxrwx 1 root root 4.0K Sep 26 17:55 ._.DS_Store* -rwxrwxrwx 1 root root 4.0K Sep 26 09:05 ._.TemporaryItems* -rwxrwxrwx 1 root root 4.0K Sep 26 08:05 ._.Trashes* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._bzimage* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._bzroot* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._changes.txt* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._config* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._install.txt* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._license.txt* -rwxrwxrwx 1 root root 4.0K Sep 26 08:09 ._make_bootable.bat* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._make_bootable_mac* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._memtest* -rwxrwxrwx 1 root root 4.0K Mar 4 09:57 ._preclear_disk.sh* -rwxrwxrwx 1 root root 4.0K Mar 4 09:57 ._readvz* -rwxrwxrwx 1 root root 4.0K Sep 26 08:07 ._syslinux* drwxrwxrwx 2 root root 4.0K Sep 26 19:00 Plugins/ drwxrwxrwx 2 root root 4.0K Sep 26 08:14 System\ Volume\ Information/ -rwxrwxrwx 1 root root 3.8M Feb 9 12:42 bzimage* -rwxrwxrwx 1 root root 50M Feb 9 12:45 bzroot* -rwxrwxrwx 1 root root 17K Feb 9 12:42 changes.txt* drwxrwxrwx 6 root root 4.0K Mar 4 10:00 config/ -rwxrwxrwx 1 root root 2.4K Feb 9 12:42 install.txt* -r-xr-xr-x 1 root root 120K Sep 26 08:26 ldlinux.c32* -r-xr-xr-x 1 root root 68K Sep 26 08:26 ldlinux.sys* -rwxrwxrwx 1 root root 7.1K Feb 9 12:42 license.txt* -rwxrwxrwx 1 root root 1.3K Feb 9 12:42 make_bootable.bat* -rwxrwxrwx 1 root root 1.9K Feb 9 12:42 make_bootable_mac* -rwxrwxrwx 1 root root 147K Feb 9 12:42 memtest* drwxrwxrwx 2 root root 4.0K Jan 17 12:29 packages/ -rwxrwxrwx 1 root root 85K Jun 19 2014 preclear_disk.sh* drwxrwxrwx 2 root root 4.0K Mar 1 16:59 previous/ -rwxrwxrwx 1 root root 14K Jun 19 2014 readvz* drwxrwxrwx 2 root root 4.0K Sep 26 08:07 syslinux/
March 4, 201610 yr That is still an older timestamp than the readvz I have. Did you install the plugin first, then install the script using the instructions in that post I linked?
March 4, 201610 yr Author I uninstalled the plugin. Deleted the folders and file as you instructed. Reinstalled the plugin. Went to that thread and opened an ssh session to my server and pasted the link from that thread: wget http://bit.ly/1G44UhZ -O /boot/config/plugins/preclear.disk/preclear_disk.sh That still didn't seem to do it, so then I pasted some preclear_disk.sh files I have on my system but obviously they are the wrong ones. Not sure what I'm doing wrong, but I really do appreciate your patience with me on this.
March 4, 201610 yr Does the wget actually download anything or what exactly do you mean when you say "That still didn't seem to do it"? I just now clicked on that bit.ly link and the script is there. Try uninstall and delete followed by a reboot then install plugin then install script with wget.
March 4, 201610 yr Author Have to go out, will have to do this later. So the pre clear on my 8TB didn't complete? I guess I have to do another pre clear cycle then?
March 4, 201610 yr Have to go out, will have to do this later. So the pre clear on my 8TB didn't complete? I guess I have to do another pre clear cycle then? Yes. Since it didn't do the post read you don't know if zeros were successfully written to the whole disk. Probably won't even have the clear signature that unRAID looks for to decide if a disk needs to be cleared or not. If you get the plugin working again you can select some of the script options to skip part of the process.
March 4, 201610 yr If you have the 11k (10543 bytes) version of readvz, then you have the 32bit version, which won't work. You should install the 14k (14322 bytes) 64bit version from the x64 folder within FastPreclear.zip (as the readme.txt file within says). But I thought that the Preclear plugin did that already. Hopefully a future version will handle this automatically.
March 4, 201610 yr Author Have to go out, will have to do this later. So the pre clear on my 8TB didn't complete? I guess I have to do another pre clear cycle then? Yes. Since it didn't do the post read you don't know if zeros were successfully written to the whole disk. Probably won't even have the clear signature that unRAID looks for to decide if a disk needs to be cleared or not. If you get the plugin working again you can select some of the script options to skip part of the process. What would I choose to skip?
March 4, 201610 yr Author I have the proper readviz file now and the plugin appears to be working. Just need to know what I would skip when doing another cycle on my 8TB drive. Would I skip the pre read and do a fast post read verify? Thanks
March 4, 201610 yr Just need to know what I would skip when doing another cycle on my 8TB drive. Would I skip the pre read and do a fast post read verify? Yes
Archived
This topic is now archived and is closed to further replies.