The original preclear_disk.sh has to be patched in order to work with unRAID 6.2
Just to be clear....by "patched" do we mean the following:
Patched = download the original preclear script by Joe L (here) and place that preclear script in "/boot/config/plugins/preclear.disk/"?
Here is the info on the patch for Joe L's original preclear script http://lime-technology.com/forum/index.php?topic=13054.msg464653#msg464653.
According to gfjardim, his script is 6.2 compatible out of the box. No patch required. https://lime-technology.com/forum/index.php?topic=39985.msg504465#msg504465.
Thank you.
I tried several times but had trouble with gfjardim's script on v6.2.1. I installed, uninstalled, re-installed, etc, many times but had issues with my syslog filling up, webGUI becoming unresponsive and the zeroing (write cycle) was ~ 5MB/s.
Then I had tried to run Joe L's original preclear script in v6.2 via telnet and couldn't the preclear script to run, but.... with the "sed..." command modification Joe L. lists at the 1st link you provided, it works via telnet, although the pre-read cycle does seem slow...
It seems preclear isn't playing well with v6.2 for me...
FYI - here is the syslog detail from the preclear operation....this keeps repeating over and over while preclear runs filling up the syslog. I ended up canceling the preclear I had running in telnet.
Oct 13 22:41:08 Artoo-Detoo kernel: sd 1:0:11:0: [sdm] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 7b 4b 04 d8 00 00 01 00 00 00
Oct 13 22:41:08 Artoo-Detoo kernel: mpt2sas_cm0: sas_address(0x4433221105000000), phy(5)
Oct 13 22:41:08 Artoo-Detoo kernel: mpt2sas_cm0: enclosure_logical_id(0x500605b002b71570),slot(6)
Oct 13 22:41:08 Artoo-Detoo kernel: mpt2sas_cm0: handle(0x0014), ioc_status(success)(0x0000), smid(11)
Oct 13 22:41:08 Artoo-Detoo kernel: mpt2sas_cm0: request_len(131072), underflow(131072), resid(114688)
Oct 13 22:41:08 Artoo-Detoo kernel: mpt2sas_cm0: tag(65535), transfer_count(16384), sc->result(0x00000000)
Oct 13 22:41:08 Artoo-Detoo kernel: mpt2sas_cm0: scsi_status(check condition)(0x02), scsi_state(autosense valid )(0x01)
Oct 13 22:41:08 Artoo-Detoo kernel: mpt2sas_cm0: [sense_key,asc,ascq]: [0x06,0x29,0x00], count(18)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:09 Artoo-Detoo kernel: sd 1:0:11:0: [sdm] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 2f 00 00 00 01 00 00 00
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: sas_address(0x4433221105000000), phy(5)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: enclosure_logical_id(0x500605b002b71570),slot(6)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: handle(0x0014), ioc_status(success)(0x0000), smid(9)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: request_len(131072), underflow(131072), resid(131072)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: tag(65535), transfer_count(0), sc->result(0x00000000)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: scsi_status(check condition)(0x02), scsi_state(autosense valid )(0x01)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: [sense_key,asc,ascq]: [0x06,0x29,0x00], count(18)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:09 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:10 Artoo-Detoo kernel: sd 1:0:11:0: [sdm] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 32 00 00 00 01 00 00 00
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: sas_address(0x4433221105000000), phy(5)
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: enclosure_logical_id(0x500605b002b71570),slot(6)
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: handle(0x0014), ioc_status(success)(0x0000), smid(9)
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: request_len(131072), underflow(131072), resid(130560)
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: tag(65535), transfer_count(512), sc->result(0x00000000)
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: scsi_status(check condition)(0x02), scsi_state(autosense valid )(0x01)
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: [sense_key,asc,ascq]: [0x06,0x29,0x00], count(18)
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:10 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:11 Artoo-Detoo kernel: sd 1:0:11:0: [sdm] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 42 00 00 00 01 00 00 00
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: sas_address(0x4433221105000000), phy(5)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: enclosure_logical_id(0x500605b002b71570),slot(6)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: handle(0x0014), ioc_status(success)(0x0000), smid(11)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: request_len(131072), underflow(131072), resid(130560)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: tag(65535), transfer_count(512), sc->result(0x00000000)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: scsi_status(check condition)(0x02), scsi_state(autosense valid )(0x01)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: [sense_key,asc,ascq]: [0x06,0x29,0x00], count(18)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:11 Artoo-Detoo kernel: sd 1:0:11:0: [sdm] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 43 00 00 00 01 00 00 00
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: sas_address(0x4433221105000000), phy(5)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: enclosure_logical_id(0x500605b002b71570),slot(6)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: handle(0x0014), ioc_status(success)(0x0000), smid(11)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: request_len(131072), underflow(131072), resid(130560)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: tag(65535), transfer_count(512), sc->result(0x00000000)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: scsi_status(check condition)(0x02), scsi_state(autosense valid )(0x01)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: [sense_key,asc,ascq]: [0x06,0x29,0x00], count(18)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)
Oct 13 22:41:11 Artoo-Detoo kernel: mpt2sas_cm0: log_info(0x31120312): originator(PL), code(0x12), sub_code(0x0312)