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.

WD20EARX formating?

Featured Replies

Hello All,

 

I got lot of problem with WD20EARS, and now I have to switched 2 HDDs from WD20EARS to WD20EARX. 1 was in the passt the parity disk, and 1 was a data disk.

 

I just have one quiestion: with WD20EARS before I added to the unraid devices package, a made the following script in terminal (my friend sad to me, that with WD20EARS have to make this script before I add and assign to the unraid devices list):

 

dd if=/dev/zero of=/dev/sda bs=512 count=2

 

 

Am I need to do with WD20EARX types as well? Or not? If not, than what should I do with those brand new WD20EARX?

Is this script good? I had lot of HDD problem (6-7 switched already in warranty, thats why now I sad to the shop now I dont want EARS, switch it to EARX), but could it be the wrong script(if its wrong) made it? (maybe its a stupid question... :o )

 

thanks for your help.

I suggest that you run pre-clear on the disk. The script is not needed.

  • Author

sorry for the late reply... i was out of "computer" :)

 

 

Pre-clear could be good with this add-on also?

 

http://lime-technology.com/forum/index.php?topic=2817

 

I never did pre-clear, I hope its not a very hard move :)

 

More one quiestion if its not a problem, now I need to build in this 2 new HDD-s to the "parity" place and another was before the Disk 6.

 

And on the disk 6 in the now can read the serial code of the old WD20EARS HDD (WCAZA42...) Maybe I just picked up the HDD when I switched off the server, but I doesnt unassigned it before in the unraid menu on the devices menu. Maybe thats why the old serial is still there? Could it be a problem?

 

thanks for your help

sorry for the late reply... i was out of "computer" :)

 

 

Pre-clear could be good with this add-on also?

 

http://lime-technology.com/forum/index.php?topic=2817

 

I never did pre-clear, I hope its not a very hard move :)

 

More one quiestion if its not a problem, now I need to build in this 2 new HDD-s to the "parity" place and another was before the Disk 6.

 

And on the disk 6 in the now can read the serial code of the old WD20EARS HDD (WCAZA42...) Maybe I just picked up the HDD when I switched off the server, but I doesnt unassigned it before in the unraid menu on the devices menu. Maybe thats why the old serial is still there? Could it be a problem?

 

thanks for your help

 

Please post a screenshot.

  • Author

no I never ever  did pre clear ::) but now i will, so its better to make with the script, and not with this addon?

 

 

dgaschk:

 

here is the print screen. what should I do to make again a 100% unraid server. Now I doesnt see my datas, only see in tower the flash drive. Maybe because 2 drives missing?

 

58aad6b87c5c8_Kpernyfot_2012-03-25_-_21_30_05.png.eb6e7188a07088ddf6c2a0d0a12003a9.png

The link you posted points to the script. You can copy the script to your flash drive and run it in a telnet session. Just follow the tutorial.

 

http://lime-technology.com/wiki/index.php?title=UnRAID_Add_Ons#Preclear_Disk

 

http://lime-technology.com/wiki/index.php?title=Configuration_Tutorial#Preclearing_With_Screen

 

Preclearing takes a lot of time, but gives piece of mind. I usually do at least 2 runs. And yes those WD20EARS have given me some trouble too: 3 RMAs in the last year

 

Where is disk6? It is required to recover its contents.

no I never ever  did pre clear ::) but now i will, so its better to make with the script, and not with this addon?

 

 

dgaschk:

 

here is the print screen. what should I do to make again a 100% unraid server. Now I doesnt see my datas, only see in tower the flash drive. Maybe because 2 drives missing?

 

Are all cables of disk6 properly attached. Looks like the drive has been taken out.

  • Author

Yep... :( could be I did not unassigned the disk 6 before I take it out the server.... :( Maybe I just turn out the server and take it out.

 

 

BUT I dont have the original disk 6 and the contets of it. Because the repair service tested and they give me a switch HDD this WD20EARX.

 

Now what should I do? OR I LOST MY whole data from the other disks to becouse I dont unassigned the disk 6 before I taked it out?? Please no...

 

Im a noob...i know, I see now I need to lot of learn about unraid.

 

Can you please write a step by step advice what should i do to build the two new disks properly to the system (parity, disk 6 place) and what should i do to keep my datas on the other disks safety?

 

thanks for your help.

 

 

PS: this addon over telnet i  will skip it. It will be good enough the normal manual script way.

The contents of disk 6 are lost because there is no parity disk. The other data disks should be fine. Enter "initconfig" to reset the array configuration. Then assign a parity drive and any other pre-clear data disks.

  • Author

ok

 

so step by step:

 

1. i write in the terminal "root" ENTER

2. "initconfig" ENTER  (this does not delete all the disks which are in the computer?)

3. after I need to pre-clear at first the parity disk, than assign as parity

4. I need preclear all the other disks? so disk1 disk2 disk3 etc?? preclear dos not delete the contets? Or I just need to preclear the disk6 so the ne disk and the others only assign again to the array?

 

 

many thanks for your help dgashk and of course dikkiedirk

ok

 

so step by step:

 

1. i write in the terminal "root" ENTER

Yes.

2. "initconfig" ENTER  (this does not delete all the disks which are in the computer?)

Yes. (It does not.)

3. after I need to pre-clear at first the parity disk, than assign as parity

Yes.

4. I need preclear all the other disks?

Only the drives that you want cleared.
so disk1 disk2 disk3 etc??
No.
preclear dos not delete the contets?
No. It does remove the contents.
Or I just need to preclear the disk6 so the ne disk and the others only assign again to the array?
Yes.

 

 

many thanks for your help dgashk and of course dikkiedirk

 

You should be adding two new drives to the array: parity and disk6. Pre-clear them both and add them after entering "initconfig".

After you type

initconfig

it will ask if you are sure?

Answer "Yes" (with a capital "Y" and lower case "es") followed by ENTER

  • Author

thank you very very much guys for your big help.

 

 

:) :) :) :)

  • Author

hmmm noob has problem...

 

I build in the 2 new drives into the computer. After that i wrot root ENTER, initconfig than Yes , ok. After I go and read the preclear tutorial:

 

 

i have already unmenu installed

 

now i installed screen from packages

 

after that i go to my unraid server and in the terminal I wrote:

 

root ENTER

 

cd /boot ENTER

 

screen ENTER

 

after that i pushed the space button

 

than the screen cleared and on the top was "root@Tower:/boot#" in here i wrote ./preclear_disk.sh -A /dev/sda  (I used -A becouse WD20EARX is AF disk if I know well) BUT the answer was: "bash: ./preclear_disk.sh: No such file or directory" ?? what am I did wrong? Im not yet assigned the new drives (see print screen)

 

PS: another question if Im here with you. If you see the print screen the disk4 and disk5 is not sdX, its hdX... why? this motherboard got 8 sata port, the drives are sata drives? Or its not important for me?

58aad6b8e7442_Kpernyfot_2012-03-28_-_0_02_26.png.a28812f37afd502922074caaf06dfff5.png

It sounds like you did not download/unzip the preclear_disk.sh script and move a copy of it to your flash drive.

  • Author

ah ok yep i forgot to download the preclear script file

 

I made the script with "-A"! Am i did well? I hope :) -A to WD20EARX?

The WD20EARX is indeed an AF drive.

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.