Log in

No account? Create an account
Paul's Page
How to setup My Book World Edition II 
4th-Nov-2007 06:05 pm
I found some help about how to do this but (a) it was spread across many different sources and (b) wasn't always accurate, so I decided to post my own HowTo (and How Not To) for the MBWEII.

  1. Getting started:
    1. Connect up the LAN and power cables, and automagically it will turn on
    2. Quickest way (I found) to get the IP address for your MBWEII is to look at your router's DHCP table (for the sake of this How To let's assume the IP address is but remember to substitute your IP address)
    3. Point your browser at the Shared Storage Manager admin site @
    4. Do not change the username/password or network settings at this point - it's a waste of time and can in fact cause problems!
    5. You could, if you want, set up the date/time and location info (General Setup -> Change Current Date and Time)
    6. I recommend you check firmware updates (General Setup -> Upgrade the System Firmware); mine was up to date (01.01.18)
  2. Set up RAID 1 on MBWEII: (This isn't required in order to mount it on a Linux box but I recommend it as a way to protect your data)
    Note: changing to RAID 1 will format your drives - make sure you backup all your data before starting this process
    I also jotted down the Total Space info (from the System Summary box on every page) before I started (953,454,724K) - expect this number to be halved because that's a consequence of going to RAID 1
    1. Drive Management -> Change Drive Type -> Secure volume (RAID-1) -> Change Drive Type button
      It'll check that's you're sure, because it will format the drives and you will lose all your data
    2. Once it's underway you'll see
      Formatting in progress
      Please wait while this process completes. If this page does not refresh, please navigate back to the home page...
      and then
      Formatting Complete. Please wait while this process completes. If this page does not refresh, please navigate back to the home page...
      In the top right corner you'll also see "Drive Status: Synchronizing"
      From the MBWEII User Manual (pg44):
      Note: Rebuilding the RAID 1 configuration may take up to several hours, but you can begin using the device as soon as the interface is enabled and allows you to start using it (approximately 30 minutes).
      Personally I wouldn't start trying to write to the drive until this is done
      I don't know how long my 1Tb system took to format - I ignored it for a few hours and it was done by the time I checked back
    3. The total space should be approximately half (mine says 476,726,416K)
  3. Remote access via ssh:
    As with everyone else I've seen do this, I used Martin Hinner's hack
    1. Don't skip Step 1 like I did!
      First of all you have to create a new user using standard web interface. SSH will not allow you to log-in as root without password.
      To do this, go to File Sharing -> User Management and create a new user - for the sake of this HowTo, I'm going to call the user "newuser"
    2. Modify the link to your MBWEII admin page by telling it to upgrade from Martin's site, i.e.
      (Remember to replace with your box's IP address)
    3. The first time I tried this I got an error saying the download failed, but I simply restarted the update (i.e. refreshed the page to retry the firmware upgrade)
    4. This time I saw "Applying new firmware" followed fairly quickly by "Firmware downloaded and applied"
      • The upgrade process takes approximately 30minutes depending on internet connection speed and general network activity.
      • The user must NOT power off the device during the upgrade process.
      • The user should NOTE, the front panel lights will
        • flicker during firmware download
        • extinguish for approximately 15 minutes, whilst applying the firmware
        • illuminate when firmware upgrade is complete
      As that note says, the status doesn't appear to change even though the page was refreshed every couple of minutes
    5. To check if ssh is ready, from a Linux machine's command line:
      $ ssh -l newuser
      newuser@'s password:
    6. Make sure the sshd service will run every time you reboot:
      add the following line to /etc/inittab:
      I also took this opportunity to check the disk space/layout
    7. While you're still logged in to the MBWEII, reboot to check sshd is setup correctly:
      # sync && sync && reboot
      (I found I had to disconnect from the remote session quickly or my local telnet session hung, waiting for a response from the MBWEII.)
  4. Some people recommend disabling Mionet but I left it enabled - I haven't had a chance to see how our Windows machines would be affected by removing it
  5. File transfer (FTP) configuration:
    1. Set up vsftpd as per Edouard Brière's notes but the filename is wrong - the command should be wget ftp://ftp.penguin.cz/pub/users/mhi/mybook/vsftpd.tar.gz -q -O - | tar xzvf - -C /
    2. I also personalised "ftpd_banner" (in the config file) and then connected via gFTP to check it's OK
  6. Setup an "Alternative Web Interface":
    1. Again I followed Martin Hinner's instructions
      He warns not to interrupt the first step but I found they all completed very quickly
    2. Remember to change the password in /etc/httpd.conf
    3. sync && sync && reboot
    4. Check that both the standard WD admin page ( or if you want to be explicit) and the "MyBook webif management interface" ( are both available
  7. Mount the MBWEII share on a Linux server:
    I saved the hardest step for last!
    For this step I'm assuming the hostname for the MBWEII is "mybook" and that you want to mount it as a local directory called /mnt/mbwe2 - you can of course change these as you want but be sure to change it consistently in the steps below
    1. On the MBWEII:
      # echo /shares/internal/PUBLIC,no_root_squash,sync) >> /etc/exports
      [Note: adjust the IP address accordingly - this allows any machine on my LAN to connect but you can specify individual IP addresses or host names]
      # modprobe nfsd
      # portmap
      # rpc.mountd
      # rpc.nfsd
      # rpc.statd
      # rpc.lockd
      # exportfs -ra
      # exportfs
    2. On the Linux serer:
      # mkdir /mnt/mbwe2
      # mount -t nfs mybook:/shares/internal/PUBLIC /mnt/mbwe2
      # df -h /mnt/mbwe2
      Filesystem            Size  Used Avail Use% Mounted on
                            455G  2.2G  453G   1% /mnt/mbwe2 
      So now that info can go in /etc/fstab:
      mybook:/shares/internal/PUBLIC /mnt/mbwe2 nfs rw,noauto,user 0 0
    3. check it's OK:
      # umount /mnt/mbwe2
      # mount /mnt/mbwe2
      (to use the info from /etc/fstab rather than the command line))
      # touch /mnt/mbwe2/x
      # ls -al /mnt/mbwe2

      (you should see an empty file called "x")
    4. setup backups from the Linux box:
      $ rsync -aq ~ /mnt/mbwe2 &
      (Once I checked it was backing up OK I copied that command to my crontab file.)
Easy! :)
11th-Nov-2007 02:15 pm (UTC) - Re: Step 3 - disabling Mionet
Temporarily stop the mionet service:
# cd /etc/init.d
# ./mionet.sh stop
Stoping mionet
Shutting down monitorCVM:
Shutting down changeNotifySocket:
iNotify is not running...
Shutting down MioNet:
MioNet is not running...
Verify: Now monitorCVM is Not running
Verify: Now changeNotify is Not running
Verify: Now Mionet is Not running

To stop it permanently:
# cd /etc/init.d
# mv mionet.sh mionet.sh.disabled

22nd-Mar-2008 07:15 am (UTC) - Firmware Update
"I recommend you check firmware updates (General Setup -> Upgrade the System Firmware); mine was up to date (01.01.18)"

This is OK, I did it and loaded the current 2.00.15, but you should be warned that this removes gcc and NFS.

I am now about to try and reinstall gcc as I am limited to installing optware packages, which have been good so far.

MBWE II 1TB RAID user - 2 days in , not bricked yet !
3rd-Apr-2008 07:05 am (UTC) - Re: Firmware Update
Exactly where did you find the firmware upgrade for this unit. I have been checking and mine says that is up to date showing version 01.01.12.

Thanks in advance. I've been trying to fix the noisy fan issue.
26th-Jun-2008 08:47 am (UTC) - NFS Server issues
Anyone else having trouble writing large files to the device over NFS?

I get intermittent write failures with large files. Small files & other methods (scp / samba) all work fine.

6th-Jul-2008 04:47 am (UTC) - sshfs an alternative to nfs
Thanks for the summary! It's rare I compliment a piece of hardware, but this thing is really great - even if WD didn't intend it to be ;-) I didn't confirm that nfs was removed, but only because I don't really care. I have always disliked nfs and have recently taken to using sshfs as an alternative. It works fine with the My Book World:

$ sshfs DVHART@mybookworld:/shares/internal/ mybookworld
$ df -h | grep mybookworld
1000G 0 1000G 0% /home/dvhart/sshfs/mybookworld
6th-Jul-2008 04:48 am (UTC) - What is the PUBLIC dir for?
Out of curiosity, what is the PUBLIC directory for? Is there any reason not to just create your own directories in the shares/internal directory? For that matter, what is the external dir for? Perhaps this is all in the user manual... but that would mean using the CD for something other than keeping condensation from my pepsi off my desk...
6th-Jul-2008 04:50 am (UTC) - ALL CAPS usernames (trouble logging in via ssh)
I was having trouble getting ssh to work, until I tried my username as ALL CAPS since that was how the web interface displayed it (even though I entered it lowercase). Thought it might help others.
6th-Jul-2008 04:56 am (UTC) - Re: ALL CAPS usernames (trouble logging in via ssh)
If you really want lowercase usernames, you can use the adduser command to add a user just like on any other linux system. The administrative web interface doesn't know anything about the new users though - meh, who cares. :-)
8th-Jul-2008 01:54 pm (UTC) - How To Create and Restrict Access To Sub-Folders?
Hi there,

I'm wondering how to create sub folders on the WDMBWE. I know that you can create Shared Folders, but how can you create folders within those folders in the Shared Storage Manager?

In addition, once you've setup the sub-folders, is there anyway to restrict which user has access to these sub-folders?

Many Thanks,

The Special One*
18th-Aug-2008 08:54 am (UTC) - RAID 1
i just want to say, thank you thank you, for providing this information! western digital can kiss my ass with their proprietary software b-fukn-s!! i got so frustrated in the initial setup...... i was appalled to see how they dont even have a valid RAID 1 installation guide..

The fact that you mentioned variable times was a life saver. seriously, i want to punch the "designers" in charge of this software/hardware setup.... also to note.. i wasnt able to configure thru the network admin browser from a wireless connection? which i found a slap to my face. until i had a direct line connected to the router...

thnx again for answering all my questions with this post, instead of some dumb ass representative on the customer support line getting a taste of my frustration.
1st-Sep-2008 05:22 pm (UTC) - Step 10 important

use: echo /shares/internal/PUBLIC\(rw,no_root_squash,sync\) >> /etc/exports

if u get the error:

syntax error near unexpected token `('
30th-Sep-2008 11:01 am (UTC) - mybook world
I upgrade the firmware from WD without any problem (01.01.18 to 02.00.18).
However, when I try to do the upgrade firm from
and I got an errror "Firmware failed to download - try later ". Any suggestion will be appreciated.
8th-Oct-2008 11:29 pm (UTC) - Re: mybook world
This is expected. The firmware is not really upgraded. You shold check if it succeed pour trying to connect.

Re: mybook world - Anonymous - Expand
19th-Oct-2008 03:04 am (UTC)
I bought one yesterday. I am able to ssh into mybook (using Martin Hinner hack). Looks like the latest version does not install /usr/sbin/rpc.nfsd, /usr/sbin/rpc.mountd, or /usr/sbin/exportfs. Is there any way I can install nfs-utils package on to mybook? I really appreciate any pointers in this direction.
19th-Oct-2008 03:08 am (UTC)
I was not very clear describing my problem:
I bought one yesterday. I am able to ssh into mybook (using Martin Hinner hack). Now I want to NFS mount mbbook internal share on to my CentOs linux/Redhat Linux. However, I again followed Martin Hinner, but I can't locate the rpc.* file in /usr/sbin. Looks like the latest version does not install nfs-utils - I don't have /usr/sbin/rpc.nfsd, /usr/sbin/rpc.mountd, or /usr/sbin/exportfs. Is there any way I can install nfs-utils package on to mybook? I really appreciate any pointers in this direction.
25th-Oct-2008 11:23 pm (UTC) - Small updates
I would consider also generating the dsa key:

o)ssh-keygen -d -f /etc/ssh_host_dsa_key -N ""

And instead of adding /usr/sbin/sshd to /etc/inittab I just uncommented the following line from inet.d

ssh stream tcp nowait root /usr/sbin/sshd sshd -i

YMMV [firmware 2.00.18]
25th-Oct-2008 11:40 pm (UTC) - Re: Small updates
8th-Jan-2009 08:37 pm (UTC)
can you undo the martin hinner download as i cant access my my book world any more
8th-Jan-2009 08:46 pm (UTC)
I haven't tried uninstalling it, and I don't see anything obvious on Martin's site but try contacting him.
10th-Jan-2009 11:23 pm (UTC)
when i download this it wont let me shh it says
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
Please contact your system administrator.
Add correct host key in /Users/Joe/.ssh/known_hosts to get rid of this message.
Offending key in /Users/Joe/.ssh/known_hosts:4
RSA host key for has changed and you have requested strict checking.
Host key verification failed.

16th-Apr-2009 09:37 am (UTC) - I can't install the firmware : 02.00.18 ?

I have the MyBook World Edition II with 2 TB.
The actual firmware : 02.00.15
The IP address :

In the "General Setup", when I do the "Upgrade the System Firmware" or when I use :

I have this message : "There is no new firmware available".

So I can't install the new firmware.

Thank you for help
Page 1 of 2
<<[1] [2] >>
This page was loaded Feb 16th 2019, 3:43 pm GMT.