zacburgess Posted September 22, 2014 Share Posted September 22, 2014 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? Quote Link to comment
megalodon Posted September 22, 2014 Share Posted September 22, 2014 Have you changed to the boot drive. CD /Boot ? Quote Link to comment
zacburgess Posted September 23, 2014 Author Share Posted September 23, 2014 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 Quote Link to comment
megalodon Posted September 23, 2014 Share Posted September 23, 2014 And your sure you have put the preclear_disk.sh script in your boot directory? Quote Link to comment
zacburgess Posted September 23, 2014 Author Share Posted September 23, 2014 Yeah its on my USB drive. Not in any folder. Quote Link to comment
zacburgess Posted September 23, 2014 Author Share Posted September 23, 2014 This is what I am doing/getting, Quote Link to comment
megalodon Posted September 23, 2014 Share Posted September 23, 2014 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. Quote Link to comment
zacburgess Posted September 23, 2014 Author Share Posted September 23, 2014 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? Quote Link to comment
JonathanM Posted September 23, 2014 Share Posted September 23, 2014 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. Quote Link to comment
megalodon Posted September 23, 2014 Share Posted September 23, 2014 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. Quote Link to comment
JonathanM Posted September 23, 2014 Share Posted September 23, 2014 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. Quote Link to comment
zacburgess Posted September 24, 2014 Author Share Posted September 24, 2014 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 Quote Link to comment
zacburgess Posted September 24, 2014 Author Share Posted September 24, 2014 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. Quote Link to comment
JonathanM Posted September 24, 2014 Share Posted September 24, 2014 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. Quote Link to comment
zacburgess Posted September 24, 2014 Author Share Posted September 24, 2014 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. Quote Link to comment
zacburgess Posted September 24, 2014 Author Share Posted September 24, 2014 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 Quote Link to comment
zacburgess Posted September 24, 2014 Author Share Posted September 24, 2014 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? Quote Link to comment
JonathanM Posted September 24, 2014 Share Posted September 24, 2014 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. Quote Link to comment
megalodon Posted September 25, 2014 Share Posted September 25, 2014 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. Quote Link to comment
zacburgess Posted September 25, 2014 Author Share Posted September 25, 2014 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. Quote Link to comment
megalodon Posted September 26, 2014 Share Posted September 26, 2014 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. Quote Link to comment
zacburgess Posted September 28, 2014 Author Share Posted September 28, 2014 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. Quote Link to comment
megalodon Posted September 28, 2014 Share Posted September 28, 2014 Glad we could help. Quote Link to comment
Recommended Posts
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.