Hello, I began preclearing 4 disks yesterday morning, and earlier today noticed 2 of them had basically "stalled". I stopped the 2 "stalled" sessions, 1 at 6 hours, the other around 2 hours into the process. The other 2 completed the script indicating they had not been precleared, both with this error.
===
= unRAID server Pre-Clear disk /dev/sdh
= cycle 1 of 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 - Testing if the clear has been successful. DONE
= Post-Read in progress: 66% complete.
( 1,327,560,192,000 of 2,000,398,934,016 bytes read )
Disk Temperature: 32C, Elapsed Time: 31:24:45
./preclear_disk.sh: line 552: 1+()%(243201) : syntax error: operand expected (error token is ")%(243201) ")
==============================================================================
== Disk /dev/sdh has NOT been precleared successfully
== skip=50600 count=200 returned instead of 00000 skip=160800 count=200 returned instead of 00000
============================================================================
S.M.A.R.T. error count differences detected after pre-clear
note, some 'raw' values may change, but not be an indication of a problem
15,25c15,87
< Error SMART Status command failed
< Please get assistance from http://smartmontools.sourceforge.net/
< Register values returned from SMART Status command are:
< ST =0x40
< ERR=0x00
< NS =0x14
< SC =0xa8
< CL =0x88
< CH =0xe0
< SEL=0x40
< A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
---
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
>
> General SMART Values:
> Offline data collection status: (0x84)
Offline data collection activity was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
> Self-test execution status:(0)
The previous self-test routine completed without error or no self-test has ever been run.
> Total time to complete Offline data collection: (40800) seconds.
> Offline data collection capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new command.
> Offline surface scan supported.
> Self-test supported.
> Conveyance Self-test supported.
> Selective Self-test supported.
> SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode.
> Supports SMART auto save timer.
> Error logging capability: (0x01) Error logging supported.
> General Purpose Logging supported.
> Short self-test routine recommended polling time: ( 2) minutes.
> Extended self-test routine recommended polling time: ( 255) minutes.
> Conveyance self-test routine recommended polling time: ( 5) minutes.
> SCT capabilities: (0x3031) SCT Status supported.
> SCT Feature Control supported.
> SCT Data Table supported.
>
> SMART Attributes Data Structure revision number: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
> 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
> 3 Spin_Up_Time 0x0027 154 153 021 Pre-fail Always - 9283
> 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 36
> 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
> 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
> 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
> 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
> 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 34
> 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 18
> 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 151
> 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
> 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
> 198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0
> 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
> 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0
>
> SMART Error Log Version: 1
> No Errors Logged
>
> SMART Self-test log structure revision number 1
> No self-tests have been logged. [To run self-tests, use: smartctl -t]
>
>
> SMART Selective self-test log data structure revision number 1
> SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
> 1 0 0 Not_testing
> 2 0 0 Not_testing
> 3 0 0 Not_testing
> 4 0 0 Not_testing
> 5 0 0 Not_testing
> Selective self-test flags (0x0):
> After scanning selected spans, do NOT read-scan remainder of disk.
> If Selective self-test is pending on power-up, resume after 0 minute delay.
>
========================================================================
After powering down and back up I ran the -t command against both completed disks and show they have successfully been precleared. Should I run the script again? What about the "partition" /dev/sdh1? I would appreciate your comments......
########################################################################
Device Model: WDC WD20EARS-00S8B1
Serial Number: WD-WCAVY2741749
Firmware Version: 80.00A80
User Capacity: 2,000,398,934,016 bytes
Disk /dev/sdh: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdh1 63 3907029167 1953514552+ 0 Empty
Partition 1 does not end on cylinder boundary.
########################################################################
============================================================================
==
== DISK /dev/sdh IS PRECLEARED
==
============================================================================
root@Tower:/boot/unmenu#