Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

(solved) Problems preclear

Featured Replies

I am running version 5.0.5 basic

 

I have 2tb parity and 2x 1tb data drives all seagate.

 

I have just got my self a 2tb WD20EZRX Caviar Green. following the tutorial http://lime-technology.com/wiki/index.php/Configuration_Tutorial#Preclearing_With_Screenfor Preclearing With Screen.

 

I am trying to preclear with the array running.

 

When I type preclear_disk.sh -l into putty I cant see my new drive.

 

I can see it via the brower and unmenu under Drive Partitions - Not In Protected Array.

 

Have I missed anything?

Have you changed to the boot drive. CD /Boot

?

  • Author

I open putty on my win8 laptop

Logon to my tower

Then I type

CD /boot

Screen

Space bar or enter button

Preclear_disk.sh -l

And your sure you have put the preclear_disk.sh script in your boot directory?

  • Author

Yeah its on my USB drive. Not in any folder.

 

  • Author

This is what I am doing/getting,

 

feff9280ff8e37b3a88d657895647542.jpg

 

6017dc997ac4f1da935983ae86865aa8.jpg

It looks like you already have assigned the disc to parity. Is the parity disc new. If so then you should preclear it. If no then just start the array and let the parity build. But by the looks of your images it is building the parity so let it finish in the 382 minutes it says it will take.

And all three discs are mounted, they are just not in a protected array because the parity hasn't finished building.

  • Author

Now the parity build is finished.

The parity drive is old.

The new drive is the WDC_WD20EZRX-00D8PB0_WD-WCC4M2306926 (sdb) 1953514584 and still wont preclear.

 

 

Do I need a plus key to preclear?

 

Now the parity build is finished.

The parity drive is old.

The new drive is the WDC_WD20EZRX-00D8PB0_WD-WCC4M2306926 (sdb) 1953514584 and still wont preclear.

 

 

Do I need a plus key to preclear?

You do not need a key file to preclear.

 

Can you post a screenshot of your telnet session where you try to preclear and it fails? Something is getting lost in translation.

 

Assuming you haven't rebooted, because /dev/sd? assignments can change from boot to boot, you should be typing something like ./preclear_disk.sh /dev/sdb and typing Yes when asked to proceed. The Yes must have the capital Y.

I see which drive it is now Zacburgess. Johnathanm he hasn't even got that far, he's trying to get a list of drives he can preclear but it's showing no drives available, but it looks like you have 2 drives SDB, SDE and SDE1 not as part of the array, strange it shows your external USB drive twice once as SDE and then again as SDE1. And your Flash shows as sdd1 where as mine shows as sda without the number. Maybe its something to do with unmenu. I use Dynamix so I don't know. See if Johnathanm can help more.

he hasn't even got that far, he's trying to get a list of drives he can preclear but it's showing no drives available
The list function is overly protective, so as not to accidentally nuke a drive by mistake. I want to see the result of actually trying to preclear the drive, which he says fails. As long as you have the serial number and current sd? designation for the drive you wish to clear, and list function is unnecessary.

 

I still think the failure is in communication, not the actual procedure.

  • Author

Now the parity build is finished.

The parity drive is old.

The new drive is the WDC_WD20EZRX-00D8PB0_WD-WCC4M2306926 (sdb) 1953514584 and still wont preclear.

 

 

Do I need a plus key to preclear?

You do not need a key file to preclear.

 

Can you post a screenshot of your telnet session where you try to preclear and it fails? Something is getting lost in translation.

 

Assuming you haven't rebooted, because /dev/sd? assignments can change from boot to boot, you should be typing something like ./preclear_disk.sh /dev/sdb and typing Yes when asked to proceed. The Yes must have the capital Y.

 

 

Here is my screen shot

 

New_Bitmap_Image.gif.ea627fa4592f02ba176d5b148e375c77.gif

  • Author

Now the parity build is finished.

The parity drive is old.

The new drive is the WDC_WD20EZRX-00D8PB0_WD-WCC4M2306926 (sdb) 1953514584 and still wont preclear.

 

 

Do I need a plus key to preclear?

You do not need a key file to preclear.

 

Can you post a screenshot of your telnet session where you try to preclear and it fails? Something is getting lost in translation.

 

Assuming you haven't rebooted, because /dev/sd? assignments can change from boot to boot, you should be typing something like ./preclear_disk.sh /dev/sdb and typing Yes when asked to proceed. The Yes must have the capital Y.

 

 

Here is my screen shot

 

Nothing has changed

 

 

If I stop the array. I have change the parity drive to my new drive, but I dont want to click it in-case its messes up.

New_Bitmap_Image_2.jpg.10c0135ca6ba051bceb7b3fc447a45de.jpg

Ok, I see now that the preclear script is really convinced that /dev/sdb is part of the array, is it possible that you assigned it to the array and then took it back out? The preclear script looks in a few places to see whether a disk is already assigned, and it looks like the drive is in one or more of those lists.

 

 

  • Author

Ok, I see now that the preclear script is really convinced that /dev/sdb is part of the array, is it possible that you assigned it to the array and then took it back out? The preclear script looks in a few places to see whether a disk is already assigned, and it looks like the drive is in one or more of those lists.

No its a new a drive. I have 3drives now n only basic key so can't assigned more than 3 drives.

 

 

  • Author

ok I have just been playing around with it.

 

I stopped the array then tried to preclear.

I got this.

The usb kingston is my usb drive that with SNAP

New_Bitmap_Image_3.gif.1bcfaa76c09fd9fb76b964dbfd3ab4f6.gif

  • Author

I have sorted it, i think.

 

Stopped the array

clicked the "new config"

started parity check

just checked but not ran the preclear. and all looks good.

 

just got to wait for my parity check to finished then I hopefully can run the preclear.

 

Or can I parity check and preclear at the same time?

can I parity check and preclear at the same time?

Sure, it may slow both down by a little, but if the hardware can't handle both at the same time, you probably want to know about it now.

So did you get this sorted Zacburgess? If somehow the sub drive had at one time been assigned to the array then it would not allow a preclear. Setting a new config should remove this flag from the sdb drive.

  • Author

So did you get this sorted Zacburgess? If somehow the sub drive had at one time been assigned to the array then it would not allow a preclear. Setting a new config should remove this flag from the sdb drive.

 

Yeah all looking.

 

I did

New config

Set my drives back to what they were

Did a parity check

Uploaded the plus key

rebooted sever

and now I am 8 into my perclear

 

So far so good thanks for all the help.

 

One last thing.

How do I add my new drive to the array? I am now using Dynamix.

Preclear a drive. Stop the array, select the new drive locationd and start the array. It will want to format the new disk and as it's been a while since I've done it I can't remember if it's before or after you start the array. If you don't preclear the disk the array will be offline for many hours while it writes zeros to the new drive. Check the wiki for more info.

  • Author

Thanks for everyone that helped me. I have got it all sorted now.

 

I have precleared my drive and added it to the array. Then did a parity check.

 

Now got the task of copying some data off the other two data drives as both drive are over 95% full.

 

67d251deb21d31c696aaee0795fce4e2.jpg

Glad we could help.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.