[Support] binhex - Preclear


binhex

Recommended Posts

2 hours ago, rosydog said:

Just wondering what the point of preclear is if UNRAID does it anyway?

the point is not actually to prepare the disk for unraid, that is just a nicety that this utility can/should do, the MAIN purpose is to exercise your drive and ensure it doesn't suffer from infant mortality. 

  • Like 5
Link to comment

I pulled drive from a brand-new desktop-backup USB HDD and added it to my server (cheap way of getting drives).

 

/usr/local/bin/preclear_binhex.sh -f -c 3 -M 3 /dev/sdh

 

After executing the command as per instructions, i see there's 2 partitions, and the boot sector is in 63, not 64.

I don't really know the significance of any of this, is it important? Is the disk OK to be precleared and used in unraid?

 

I assume it's like this because its probably factory-formatted to windows for use with windows?

 

 

 

image.png.7a154a2cb7f3c9d5a940db37fbb8f758.png

Edited by jj_uk
Link to comment

See here for more discussion about using sector 63 vs 64:

 

    https://forums.unraid.net/topic/9333-clearing-confusion-on-af-drives/

 

In the second post of this thread is a link to a Tutorial which has the command line switch to force a start on sector 64.

 

     https://forums.unraid.net/topic/83465-support-binhex-preclear/?tab=comments#comment-773206

 

(I seem to recall that using sector 63 will cause Unraid to assume that the drive has not been precleared...)

Link to comment

Thanks for the reply. The doc states:

    "-C 64 = convert an existing pre-cleared disk to use sector 64 as a starting sector"

 

So do I run my pre-clear as normal, ignoring the warning (as per prev post's image), then run the -C 64 command when it's finished?

How can I know if the other drives in my system are 63 or 64? They were pre-cleared using the plugin back in 2018.

 

Link to comment

I believe you use a

-A 

 

as a switch  to 'force' the starting sector to be 64 when you do the preclear . The  -C 64 is an after-the-fact type of thing.   (One issue is that I thought this issue had aged out existence after about 2011.  People just can't recall what all the factors involved were and what they meant...)

 

Link to comment
4 minutes ago, Frank1940 said:

I believe you use a

-A 

 

as a switch  to 'force' the starting sector to be 64 when you do the preclear . The  -C 64 is an after-the-fact type of thing.   (One issue is that I thought this issue had aged out existence after about 2011.  People just can't recall what all the factors involved were and what they meant...)

 

Thanks for your help. I'll run the preclear with -A.

 

Link to comment
  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...

On a slightly more serious note...

 

I just noticed that the log for this disk (from Unassigned Devices) has a multitude of these entries:

 

Mar 3 10:51:16 NAS emhttpd: spinning down /dev/sdn
Mar 3 11:21:17 NAS emhttpd: spinning down /dev/sdn
Mar 3 11:51:18 NAS emhttpd: spinning down /dev/sdn
Mar 3 12:21:19 NAS emhttpd: spinning down /dev/sdn
Mar 3 12:51:20 NAS emhttpd: spinning down /dev/sdn
Mar 3 13:21:21 NAS emhttpd: spinning down /dev/sdn
Mar 3 13:51:22 NAS emhttpd: spinning down /dev/sdn
Mar 3 14:21:23 NAS emhttpd: spinning down /dev/sdn
Mar 3 14:51:24 NAS emhttpd: spinning down /dev/sdn

 

Why would the OS be trying to spin down a disk every 30 minutes during a preclear run? (Yes, sdn is the device that I'm preclearing.)

Link to comment
  • 4 months later...
On 12/25/2021 at 5:34 PM, jj_uk said:

Just coming to the end of my run. This error "post_read_err: command not found" is flashing up on the screen. It is something to be concerned about?  The process seems to be continuing as normal.

 

image.png.b367ab2527da14fa1847106a4a2ce011.png

 

I am getting this same error with the same line number... I cant see that anyone had actually responded to this... could someone advise?

Edited by ozma64
Link to comment
  • 3 months later...
  • 1 month later...

hey all,  this is my first run of Binhex-Preclear. Is someone able to tell me if this drive is good not? I am worries & confused the new/ old value and failure_threshold section, because I don't know how to read it. I have no clue how to setup the emailing a report; is there a guide somewhere ?

 

Thank you,

Wing

Screen Shot 2022-12-27 at 12.18.10 PM.png

Screen Shot 2022-12-27 at 12.21.29 PM.png

Edited by winglam
Link to comment
hey all,  this is my first run of Binhex-Preclear. Is someone able to tell me if this drive is good not? I am worries & confused the new/ old value and failure_threshold section, because I don't know how to read it. I have no clue how to setup the emailing a report; is there a guide somewhere ?
 
Thank you,
Wing
1922899923_ScreenShot2022-12-27at12_18_10PM.thumb.png.0686d39a0d7f7a7dc5573e6db77b36bc.png
1578998085_ScreenShot2022-12-27at12_21_29PM.png.571e87a47dc11357d3367cdd7d03015e.png
Nothing wrong with that drive, looks good to me

Sent from my 22021211RG using Tapatalk

Link to comment

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.