Jump to content
gfjardim

Preclear plugin

2436 posts in this topic Last Reply

Recommended Posts

Ok
I thought there was also an option to simply write the sig. But I'm the first to admit that I'm ignorant (even without my wife's prodding)

Ashamed to admit that I no longer live up to my teenage ethos of "it's better to burn out than fade away"

Share this post


Link to post
3 minutes ago, Squid said:

I thought there was also an option to simply write the sig.

I hope nobody would set such a thing loose in the world.

Share this post


Link to post
Posted (edited)
9 minutes ago, trurl said:

I hope nobody would set such a thing loose in the world.

+1        (That would be a bad as those folks who (for what reason) think a new configuration will rebuild a drive!)

Edited by Frank1940

Share this post


Link to post
3 minutes ago, Squid said:

Ok
I thought there was also an option to simply write the sig. But I'm the first to admit that I'm ignorant (even without my wife's prodding)

It's all good... your knowledge on other unRAID issues has helped me and many others countless times. You can't be expected to know about things you don't use or deal with yourself, at least until you get informed. I don't have a wife, but my pets often remind me that I'm ignoring them... not quite the same as ignorant, but similar! :D

 

6 minutes ago, Squid said:

Ashamed to admit that I no longer live up to my teenage ethos of "it's better to burn out than fade away"

Ahh, so a Neil Young or Highlander fan are you? Of course that phrase has appeared in a few other pop culture references, including Kurt Cobain's suicide note and songs from many. Now that I've essentially been forced into retirement from my main career, I've joined the 'burn-out' culture in the form of my medical cannabis usage. Though not entirely true... I've found some of the sativa strains really do give me a burst of energy, focus and creativity! 🤣

 

 

 

Share this post


Link to post
Posted (edited)

EDIT:

 

After more digging, I have a guess at what is happening:

 

The errors from the previous read failures may be permanently stored in the drive's SMART error log.  After preclear completion, the plugin gathers a SMART report that presumably includes these previous errors and includes them in the preclear log.

 

It's possible that the plugin tries to determine whether these errors were logged before the preclear run.  It could compare the "power on hours" at the start of the preclear to the "power on hours" of the logged errors.  In my case, however, both values were 4772, so there may be no way for the plugin to know that the errors preceded the preclear run.

 

Does this seem correct?  If so, it seems like an unavoidable and rare quirk, and I'm happy to move on.

 

ORIGINAL POST:

 

Quote

 

I just ran preclear on a disk that was showing signs of trouble, and I'm not sure how to interpret the results.

 

The display says "Preclear Finished Successfully!", but the preclear log (attached) shows errors (Aug 22 20:00:08).  The syslog shows similar errors from a failed pre-read the day before (Aug 21 19:15:28, diagnostics attached).

 

Are the preclear log errors just delayed versions of the errors in the syslog?

 

Some history of the drive, which had been one of the dual parity drives:

 

A few weeks ago, I started seeing increases to the "Current pending sector" and "Offline uncorrectable" SMART attributes.  It was just a couple jumps, and the "Reallocated sector count" and "Reallocated event count" are still zero, so I still have some hope for the drive.

 

I replaced the drive with a new one, and have started to try to recover this drive.  As mentioned, the first preclear failed at the pre-read step.  To try to force sector reallocations if needed, I ran a preclear pass without the pre-read.  The "Current pending sector" attribute dropped to zero, but "Offline uncorrectable" stayed the same.

 

I'm running an extended SMART test now to see if that uncovers anything different than preclear.  If that's successful, I intend to run another couple preclear passes, at least.  Any thoughts on what I should be looking for?

 

preclear_disk_WD-WX11DC57S8AX_94806.txt sf-unraid-diagnostics-20190822-2211.zip

Edited by fritzdis
New info

Share this post


Link to post

I am using preclear for the first time.

 

I installed 2 seagate drives that I knew had issues and 1 brand new 10TB WD RED.

 

The 2 Seagate drives I knew had issues eventually both failed the pre-read, and the new WD passed.

 

image.png.f3e3bc797cd96b1239dcbc63b40f2da0.png

 

The WD Continued into zeroing as far as 21%. 

 

The logs look good for 5-20%.

image.png.eaa813da38e62a0a3689e1bda40a2f51.png

 

Each 5% has generally taken less than a hour.

 

Preclear has now been stuck on 21% for over 3 hours, and there is no activity on the drive LED.

 

Before I cancel it and retry, is there anything I can grab to assist the author with checking why it froze without showing any error message?

 

Pete.

Share this post


Link to post

Hi all, just starting a preclear on a new WD 8TB white label. As soon as I started it these errors started appearing in the log - it seems quite happy to continue though (currently 4% into the pre-read after 30 mins)

Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: sd 5:0:6:0: [sdh] tag#1 UNKNOWN(0x2003) Result: hostbyte=0x0b driverbyte=0x00
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: sd 5:0:6:0: [sdh] tag#1 CDB: opcode=0x88 88 00 00 00 00 00 23 84 9e 00 00 00 04 00 00 00
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: print_req_error: I/O error, dev sdh, sector 595893760
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: sd 5:0:6:0: [sdh] tag#2 UNKNOWN(0x2003) Result: hostbyte=0x0b driverbyte=0x00
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: sd 5:0:6:0: [sdh] tag#2 CDB: opcode=0x88 88 00 00 00 00 00 23 84 a2 00 00 00 02 00 00 00
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: print_req_error: I/O error, dev sdh, sector 595894784

This doesn't look good to me - anyone know if it's anything to worry about - couldn't find anything with a quick Google

 

Thanks!

Share this post


Link to post
On 9/1/2019 at 6:38 PM, itfcjim said:

Hi all, just starting a preclear on a new WD 8TB white label. As soon as I started it these errors started appearing in the log - it seems quite happy to continue though (currently 4% into the pre-read after 30 mins)


Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: sd 5:0:6:0: [sdh] tag#1 UNKNOWN(0x2003) Result: hostbyte=0x0b driverbyte=0x00
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: sd 5:0:6:0: [sdh] tag#1 CDB: opcode=0x88 88 00 00 00 00 00 23 84 9e 00 00 00 04 00 00 00
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: print_req_error: I/O error, dev sdh, sector 595893760
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: sd 5:0:6:0: [sdh] tag#2 UNKNOWN(0x2003) Result: hostbyte=0x0b driverbyte=0x00
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: sd 5:0:6:0: [sdh] tag#2 CDB: opcode=0x88 88 00 00 00 00 00 23 84 a2 00 00 00 02 00 00 00
Sep 01 18:34:06 preclear_disk_7SKY8XEW_18413: syslog: print_req_error: I/O error, dev sdh, sector 595894784

This doesn't look good to me - anyone know if it's anything to worry about - couldn't find anything with a quick Google

 

Thanks!

Just to follow up on this, the preclear finally finished (46 hours later). I ran an extended SMART report afterwards which reported no errors so I'm going ahead and using the disk

Share this post


Link to post
3 minutes ago, itfcjim said:

Just to follow up on this, the preclear finally finished (46 hours later). I ran an extended SMART report afterwards which reported no errors so I'm going ahead and using the disk

Although I'm not one of the experts here, 46 hours for one full pass of the preclear (pre-read, zero and post-read) isn't unreasonable. I get similar numbers for my 10TB drives, but my 8TB preclears usually take about 40 hrs.

 

I've seen similar errors in my syslog as well, but as the drive passed the preclear and as no SMART errors were of concern, I've used those drives with no issues. I suspect you are fine, but I too would be interested to know why random sectors report errors that don't affect the preclear. Perhaps those are dealt with through the drive's sector reallocation list but SMART has shown no re-allocated sectors for any of the drives that saw those errors.

 

In any case, I think you're safe to not be concerned with using the drive. Hope it all goes well... now that I've had my connection issues resolved for a month, I'm finding the system to be extremely stable. I haven't even seen one UDMA CRC error, which are fully recoverable but do tend to indicate connection issues.

Share this post


Link to post

Thanks! 

 

Strangely enough I've just started preclear on another two of these drives and haven't seen any errors in the log whatsoever... So perhaps a dodgy cable or something on the first one, I'll have to check

 

I'm lucky enough to have bought most of my drives from Amazon so at the first sniff of any SMART error - even UDMA CRC, I get on live chat and get the drive replaced! I spend so much at Amazon for both personal and business that they're always happy to oblige...

 

All the best

Share this post


Link to post

Hello guys, can someone who understand this SMART reports look on mine and give me some advice

This is refurbished WD Green, i bought for temporary storage. Was working fine under windows until i decided to copy there a lot of data. But after i got issue to copy data from drive.

I done clear and erase on disk

Before i got errors in SMART, after doing this no smart errors overall, but in report this things flagged making me worry.

Do i need to throw this drive into bin, or there is some way to extend this drive operation

WDC_WD40EZRX-00SPEB0_WD-WCC4E3LXU4C3-20190922-1745.txt

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.