How to fix bricked WD My Book World Edition White Light or install brand new disk?

Wersja w języku polskim jest tutaj.

Problem

I bought brand new WD Caviar Green hard disks and put them into My Book World Edition II White Light case but… surprisingly it doesn’t work or even start! Only top LED is blinking/flashing and MBWE doesn’t appear in my network environment! Similar situation is with WD My Book World Edition I White Light or with my previous HDD that has stopped working.

How to recover or rebuild firmware of bricked WD My Book World Edition White Light or install/replace brand new hard disk(s)?

Also following questions will find here their answers:

  • Which disk to buy for WD My Book World Edition White Light?
  • How to increase/upgrade WD My Book World Edition White Light capacity to 3TB/4TB (MBWE I) or 6TB/8TB (MBWE II)?
  • How to downgrade WD My Book World Edition White Light firmware version?
  • How to clean personal data (completely erase to the factory defaults) WD My Book World Edition White Light in purpose of sale?

MBWE Blue Rings Note

This tutorial does not work with MBWE Blue Rings! It has different firmware which needs to be reverse-engineered to create similar solution. This solution can only serve as a clue how to do it.

Healthy NAS Upgrade Note

If you just want to upgrade your healthy MBWE II to 2x3TB HDDs or more, try this simplest community.wd.com solution. I haven’t tested it but it sounds like you can also preserve your data.

What’s going on?

If suddenly your MBWE has stopped working, firstly decode your MBWE situation by LEDs state/action and refer to the My Book World Edition User Manual on page 10 (LED Indicators). Maybe nothing serious has happened there but only something unusual.

Anyway, MBWE boots from NAS OS written on disk, so you can’t start MBWE:

  • with brand new clean disk(s) or
  • when your current disk(s) has broken boot partition or broken master boot record (MBR).

There is no user procedure provided by Western Digital to repair MBWE or start brand new disks. You can only return complete MBWE (with disk(s)) to Western Digital to get a new one, if you have void warranty (for warranty conditions see: support.wdc.com).

I couldn’t agree with this, so I decided to make it on my own and here it is…

What’s this?

This is linux bash script solution to restore MBWE White Light (install firmware once again) with a FACTORY STATE and CLEAN DISK:

  • Works with both MBWE White Light (I and II) with any size of disk (even 4TB or 2x4TB)! It fully supports only WD Caviar disks! It means that you can use other vendor disk like Samsung or Maxtor (this solution is prepared for this) but forget then about: updating firmware, replacing disk, reformatting or changing RAID mode. Full support of other vendors requires wide firmware hack against this operations except firmware update which cannot be hacked (new firmware can simply overwrite these hacks). If you are interested in hacked firmware, ask in comment – I can do this but for a fee. Anyway, I strongly recommend to use WD disks only – it’s free and safe.
    Be aware also that not all WD Caviar Green drives seem to be MBWE compatible! (see WARNING below for details).
  • Designed to auto download & install always the latest MBWE firmware directly from wdc.com (manually available here and fw revision info is here). But you can also install any firmware since & including ver. 01.02.06, that I’ve tested on 2011-04-20. If you encounter any problem with the latest version, just pick ver. 01.02.06 (mirror) and use it in step 3 of procedure below, then upgrade to the latest firmware using native MBWE management interface any time you want.
  • Full install takes less than 1 minute! excluding firmware download.
  • In MBWE II only 1 disk needs to be prepared! – the second one (clean) will be adopted by MBWE itself.
  • Config with only 4 lines to adjust: disk label, serial number, model type, MAC address.
  • 1 script to fire! and little wizard will guide you.

1st WARNING !!!

This solution WILL ERASE ALL YOUR DISK DATA, if you connect your old disk!

If you want to rescue data on bricked MBWE, contact Western Digital on wdc.custhelp.com or go to data recovery guide to make your data copy before this operation (4th partition is DataVolume partition) and move them back to your „new” MBWE. This should be possible if you’ve got MBWE I or MBWE II with RAID 1 (Mirrored) or JBOD array mode. In other case, you shouldn’t do anything but call Western Digital if you care your data and you don’t know what to do.

Don’t buy new WD Caviar Green disk without being sure this model works with your MBWE!

As Western Digital online customer support says, Advanced Format Drives are not compatible with MBWE but they don’t say which one particularly is advanced/incompatible (more about Advanced Format Technology)Particular WD Caviar Green disk models with MBWE compatibility statuses are (for specs go to wdc.com or Specs Sheet):

  • EADS, EAVS, EACS (SATA II 3Gb/s) are definitly compatible as WD says.
  • EARS (SATA II 3Gb/s) are compatible as tested on my own and by the community.
  • EARX (SATA III 6Gb/s) compatibility varies as community report success (3 cases) as well as failures (2 cases). WD support says it may or may not work due to relatively older MBWE SATA II interface. If you’ve encountered any issues, try different jumper settings as a last resort (see pic).
  • EZRX (SATA III 6Gb/s) compatibility varies – some users succeeded (here is the proof of 2x3TB WD30EZRX and 2x4TB WD40EZRX) and some report failure. There is a suspicion that revision R/N B3D (labeled on the bottom, right under WD logo) is not compatible with EZRX (report) but results also varies.
  • EADX, EZRSDTL (SATA III 6Gb/s) compatibility unknown yet.
  • AACS (SATA II 3Gb/s) are compatible as reported by community.

Sometimes connecting HDD directly to the computer SATA controller instead of using external SATA adapters can help (see Troubleshooting below).

Even though some of the users report success with WD Caviar Black or Red, I don’t recommend them due to higher work temperature than WD Caviar Green. Bear in mind, that MBWE is passively cooled and excessive temp. can shorten HDD life or even damage MBWE electronics.

NOTICE: If you buy new disks to your MBWE II, it would be better (if possible) to take both disks of the same type and the same part (production series) due to RAID performance and conformance. Therefore, you should buy both disks from the same retailer at once (at the same time).

Quick How-To

2nd WARNING !!!

You should never ever run this script on a production environment!
I strongly recommend to unplug any attached hard disks from the computer you are going to use to run this script, except the HDD you want to install firmware to. This way you’re avoiding any mistakes that can unrecoverably destroy your data.

  1. Prerequisites
    If your HDD contains any data or structure (isn’t brand new), you must wipe it out beforehand (unallocated space = no partitions, unformatted – just raw). This can be done using Computer Manager > Disk Management under Windows or using Disk Utility under Ubuntu, but some people reported they had finally succeeded by wiping HDD with GParted (Gnome Partition Editor).
    You should also check your HDD against bad sectors because MBWE firmware is based on some absolute blocks and thus they cannot be bad or mapped as bad.
  2. 1 Boot the latest Ubuntu
    from optical drive or flash/pen/USB drive (USB is far faster than optical), or direct HDD. How-To on ubuntu.com in Download Ubuntu section. Choose Try Ubuntu (it will boot directly without any changes on your system drive). NOTICE:
    If you have problems with other linux distributions/versions simply use Ubuntu 12.04.3 LTS, because I tested it (screenshots below were taken long time ago on Ubuntu 10.10)
    .
    DO NOT USE ANY VIRTUAL MACHINE – it can cause many additional issues and mostly does not work in this low level operation.Ubuntu Try
  3. Wire your computer
    to the Internet
    (wireless connection is often not possible due to lack of many Ubuntu CD WiFi drivers and it’s not our goal to play with it here).
  4. 3 Extract mbwe.tar.gz
    (right click and choose Extract Here) on the Desktop (and all files should be placed in folder mbwe – if not, correct this). If you predownloaded firmware image manually (on wdc.com or mirror), place it in mbwe folder and rename it to fw.img
  5. 4 Connect your hard disk
    directly to the computer SATA controller (if possible) or alternatively using SATA-to-USB adapter (or any other hotplug way, e.g. FireWire, eSATA). Find your disk label using Disk Utility (go to the top bar menu System Administration Disk Utility) as shown on the picture below (here it is sdc but yours can be different).
    Ubuntu Disk Utility
  6. 5 Edit mbwe-config.sh file
    in folder mbwe (right click on the file, choose Open in another application and select gedit editor) and type your HDD and MBWE parameters (DISK_LABEL, MBWE_TYPE, MBWE_SERIAL and MAC_ADDRS) according to comments. Save file (CTRL+S) and close gedit.
    NOTICE: If you really want to do this step on your own (some people are stubborn) then  DO NOT EVER USE word processor like Word nor Wordpad to edit *.sh files – it must be a plain text (txt file) Notepad like editor (here Gedit). Otherwise, you might break these files leaving hidden formatting characters and leading to unexpected results/errors.
    Ubuntu MBWE Config
  7. 6 Open Terminal
    (CTRL+ALT+T) and type:
    cd Desktop/mbwe
    sudo bash ./mbwe-install.shUbuntu Terminal
  8. 7 Listen carefully
    what is Terminal asking you and obey its commands.
    Ubuntu Terminal mbwe-install.sh
  9. 8 After Safe Removed disk
    using Disk Utility (click Safe Removal button), unplug MBWE from the power supply and place HDD in MBWE bay (any bay in MBWE II).
    Ubuntu Disk Utility Safe Removal
  10. 9 Plug MBWE to the power supply back
    and wait (up to several minutes) until MBWE initializes and shuts down itself (all LEDs go off). Then hold Power button (approx. for 3 seconds) until bottom LED goes on and wait at least 3 minutes for MBWE to boot up. Then go through the first start procedure in MBWE web GUI (provide MBWE IP address in your web browser and log in as admin/admin).
  11. 10 For MBWE I that’s all.

For MBWE II go further:

  1. 11 Shutdown MBWE
    by holding Power button for up to 3 seconds (no longer than 4 seconds, which forces device to power off immediately) and wait untill all LEDs are off, then unplug from the power supply and put your second clean disk in an empty bay. If your second disk contains any data or structure (isn’t brand new), you must wipe it out beforehand (unallocated space = no partitions, unformatted) – see Prerequisites.
  2. 12 Power up MBWE again as described in step 9
    and voilà.

That’s all folks

If this saved your life, you can express your happiness by your little donation (click Donate button).
Thanks in advance!

Regardless you had issues or not, please leave your feedback:

  • Your MBWE version?MBWE I or MBWE II.
  • Your MBWE revision?: R\N B3D or other (labeled on the bottom, right under WD logo).
  • Your hard disk description?WD Caviar Green WD20EARS or other.
  • Your linux distro/version?Ubuntu 12.x Live CD or other.
  • Your firmware?: installed automatically by script or downloaded manually ver.01.02.06-010411.

This will help maintain script validity and help people to resolve their issues.

Troubleshooting

For any issues occurred during FW installation refer to generated mbwe/mbwe-status.log file, which you should backup before Ubuntu shutdown.

1. MBWE still does not boot

Instead of using USB-to-SATA adapter (or any other external hotplug way) try to connect HDD directly to the SATA controller in your PC before starting the procedure.  This can help as reported by user Jack.

As you power MBWE first time, it should go off after a couple of seconds. Then power it on again, holding power button for 3 seconds.
Make also sure that HDD SATA connector sits closely in SATA MBWE socket. I know it’s hard to check, but it’s a lousy construction and can fail. I would even disassemble the case to see better that connection and to be 100% sure before the final give up.

If above steps failed, the last thing you can do is to check your HDD against bad sectors (once again, even if you’ve taken that action at prerequisites step). MBWE firmware is based on some absolute blocks (especially boot sectors) and thus they cannot be bad or mapped as bad (that’s why you have to start with clean/raw HDD instead of formatted).

2. Second disk failed

If you’ve encountered Failed to create volume or missing after second disk was installed (only SPAN is available), here is what you can do:

1. Clean second disk before installation.

or

2. Change manually RAID type in file /proto/SxM_webui/admin/config.xml, editing at md2 (DataVolume) tag <level>s</level> to <level>1</level> (explanation: 0 is for RAID 0, 1 for RAID 1, j for JBOT, s for SPAN). You can access this file during FW installation procedure (there is pause point after NAS OS is installed) or any time later, mounting disk under Ubuntu in a manner described here but finding icon called ‚1’ (OS partition).

MBWE config xml

3. After a few minutes MBWE gets unresponsive

If your MBWE freezes (hangs) after some time of fully operational state it means that the processor has got overheated (probably you’ve used different disks than WD Greens that have caused temperature arise inside MBWE to 60 Celsius degrees or more). The solution is: a) to add MBWE processor radiator, glued with thermal paste and/or b) to stick to WD Green HDDs.

Discussion 634 komentarze

  1. thnx for your quick reply. The answer to all questions is YES and it still doesnt work. (its a MBWE white light 1 disk, parameters all correct, tried this firmware-image, the disk is a WD20EARX-00PASB0)

    But:
    Please note that the whole geometry of the new 2TB-disk is different than on older disks. It has 4096B-sectors instead of 512B-sectors. To be honest I dont know exactely what this means, but I’ve read that this might cause troubles. Especially partition-geometry changes.

    After applying your script (Thnx a lot for the nice work !!) the partition-table of my disk reports the following:

    # fdisk -l /dev/sdb
    Note: sector size is 4096 (not 512)

    Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 30400 cylinders
    Units = cylinders of 16065 * 4096 = 65802240 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000300

    Device Boot Start End Blocks Id System
    /dev/sdb1 5 249 15679488 fd Linux raid autodetect
    Partition 1 does not end on cylinder boundary.
    /dev/sdb2 249 280 2055936 fd Linux raid autodetect
    Partition 2 does not end on cylinder boundary.
    /dev/sdb3 280 403 7904000 fd Linux raid autodetect
    Partition 3 does not end on cylinder boundary.
    /dev/sdb4 403 243202 2717318080 fd Linux raid autodetect

    You see the error-messages about cylinder-boundaries? This is why I tried (in a previous step) to create the partitions manually and skipping the line you mentioned where sfdisk is invoked. My idea was if I made the partitions just a little bit bigger then the disk-images sure would fit. But it didnt work either.

    Probably my 2TB-disk is just to new to fit into the MBWE1

    I uploaded the output of running mbwe-install.sh to my server in case this is of interest to any of you:

    https://tng.goldfisch.at/temp/mbwe_unbrick_log.txt

    thnx a lot !!
    p

    • After few peer tests, final conclusion is that EARX are not supported by MBWE, probably due to 4096 bytes sector size or SATA 6Gb/s speed – I’ve updated info. If the latter is true, other disks as EZRX and AARX are not supported too. Compare EARS (working) with other Caviar Green disks on http://www.wdc.com/en/products/products.aspx?id=120#tab11

      Thanks for your feedback peer

      • vatastala

        Hi Krzysztof Przygoda,

        when you say that „If the latter is true, other disks as EZRX and AARX are not supported too.” you refer to MBWE or MBWE-II? I read in the guide that EZRX are supported by MBWE-II.

        Thank you

        • It was only a guess based on user peer bad experience with his EARX. Later a user called Alex confirmed EZRX is working with MBWE II, so I’ve corrected introduction text. There is no known reason why MBWE I wouldn’t working with EZRX, but I have no confirmation so far. Maybe you can be the first 🙂
          Based on peer’s and Alex’es experience we can’t tell if MBWE is definitely compatible with EARX or EZRX. It probably depends on particular MBWE piece and/or disk. „Definitely” we can only say: just try.

        • vatastala

          Ok, because I have a MBWE-II I understand that I can use two EZRX. I’m user „vatastala” that made you last question here:

          http://mybookworld.wikidot.com/forum/t-349378/ultra-fast-install-for-both-my-book-world-editions-i-and-ii

          Than thank you for your reply, I think that will be helpful for all.

          Bye

        • OK. Good luck.
          But remember: if you want to do backup, do it by copying files normally from MBWE throughout the LAN – DO NOT connect your HDD directly to the PC until your backup is finished.

        • vatastala

          Hi Krzysztof Przygoda,

          I want to inform you that your procedure works!!! 🙂

          I’m very happy with my new 3TB NAS

          Thank you very much!!!

          Bye

      • Hello, I have a problem with a disk wd20ezrx (2 to), after the script, i replace in the mbwe, the first led lights and the system does not start (or switch off after 30 secs).
        I used different ubuntu verions (10.10, 12.04, 12.10) with firmware 01.02.06……
        Like „par les pairs” , i think it’s because my sector-size – 4096 instead of 512 which could make all of the pre-defined partitions useless.
        I have the same questions:
        – do you think that is my sector-size a problem ?
        – anyone sucessfully put a ezrx with 4096-sectors in a mbwe yet?
        – is there a DSKPART-table for 4096B-sectors available somewhere?
        – any other tips?
        Thank you

        • Yoan, read step 9 carefully:

          … wait 30 seconds until MBWE initializes and shuts down (all LEDs go off). Then hold Power button for 3 seconds until bottom LED goes on and wait 3 minutes for MBWE to boot up.

  2. Igor Nesterov

    EARX definitely works in MBWE and can be inited with your script. http://forum.ixbt.com/topic.cgi?id=11:36591-111 (russian forum) proves it. Script was changed accordint to new firmware URL, nothing more.

    • Thx for your feedback – good to hear that.

      I’ve corrected FW URL already – Western Digital changed it recently.
      EARX situation needs further investigation because user peer has problem with it. I asked WD a question which Caviar Green is supported by MBWE White Light. As fast as I recieve an answer I’ll update EARX status.

      • I confirm that EARX works with MBWE.
        I´ve just raised the device on WD20EARX using your method.
        Thanks a lot!

      • That’s cool Alex. Have you changed any jumpers as presented on http://wdc.custhelp.com/app/answers/detail/search/1/a_id/1679#jumper?

        If not, can you tell me what is your current jumper configuration?

        Additionally, please share in the comment:
        Your MBWE version?: MBWE I or MBWE II.
        Your hard disk description?: WD Caviar Green WD20EARX – right?
        Your linux distro/version?: Ubuntu 10.10 Live CD or other.
        Your firmware?: installed automatically by script or downloaded manually ver.01.02.06-010411.

  3. My question to WD was:

    „What kind of WD Caviar Green disks can be used in My Book World Edition II? Please provide models for 2TB. „

    The WD answer is:

    „You can use any of our SATA II (3Gb/s) Caviar Green drives in your NAS, these are listed in the link below:

    http://support.wdc.com/product/install.asp?groupid=608&lang=en

    If you have a modern firmware (1.02.06) for your device then it may well be able to read Advance Format drives like the WD20EARS drives, so it would be worth testing with some of these as they are readily available from most retailers. Ultimately the WD20EADS or WD20EAVS are both confirmed as definitely compatible in your NAS.”

    It changes almost nothing, except it suggest that MBWE works „only” (presumably) with SATA 3Gb/s. Unfortunately, I had to ask them more precisely (as always):
    „But what about EARX or EZRX models – will they work with My Book World Edition II White Light?”

    The WD answer is, of course, schizofrenic:
    The following Caviar Green 2 TB models can be used in a My Book World:

    WD20EADS, WD20EAVS, WD20EACS

    Please do not use any Advanced Format Caviar Green drives as these will not work. Also, please be aware that on your My Book World you can only use 2 times 1 TB drives as this is the capacity the product was sold with. So on your My Book World you need to use 2 of the below drives:

    WD10EADS, WD10EAVS, WD10EACS

    Then accidentaly second answer came from WD on the same question:

    The SATA III range of drives are not confirmed as compatible within our RAID NAS’ as they are more modern than the controller was designed for. It may may be the case that they work, but I would normally recommend you look for SATA II drives specifically to give yourself the best chance of success in this replacement.

    Conclusion is: do not ask WD as they tell you nothing but confuse you 🙁

  4. New MBWE firmware has arrived: 01.02.12 – script tested on MBWE I.

Give your feedback