Wikidot.com

.wikidot.com

Share on

Join this site

Explore »

Hacking WD MyBook World Ed

Create account or Sign in

Main

Home

Forum Home

Recent Forum posts

First steps

Optware - Software Packages

Hacks & Tutorials

Troubleshooting

FAQ

Links

Browse

Recent changes

List all pages

Page Calendar

Site members

FAQs

How do I join?

What is a Wiki?

How can I edit pages?

Site Manager

Page tags

automatic
book
cdrecord
cdrom
cdrtools
chat
community
compile
digital
dvd
edition
files
forum
ftp
gcc
home
inetd
ipkg
irc
kernel
leds
lighttpd
links
linux
login
my
mybook
mybooklive
mybookworld
nas

Add a new page

Rescue Procedure for MBWE II

Forum
» Forum / Backup & Recovery
» Rescue Procedure for MBWE II

Started by: arryo

Date: 17 Apr 2009, 08:22

Number of posts: 3

RSS: New posts

Summary:

Rescue Procedure for MBWE II (works for any size of disk)

Unfold All
Fold All
More Options

Edit Title & Description
Stickness
Lock Thread
Move Thread

Fold

Rescue Procedure for MBWE II

arryo 17 Apr 2009, 08:22

It took me really long time to figure out how to rescue MBWE II. I tested this procedure with 2*500G and 2*1T and they all work perfectly, so i think it should also work for the others. I combine this procedure from many posts in this forum, so I must say thanks to PCnity, Macuser, Z80, and acfischer42, and many other useful posts from which I learn about Linux in general and this wonderful MBWE.

Step1: Follow Rescue Procedure written by PCnity for the both disks: http://mybookworld.wikidot.com/rescue-procedure , but in step 12 instead of replacing /dev/sda4, keep it as /dev/md4, but comment out (put # in front) that line.

Step2: Install both disks to MBWE, go to share storage manager (ping mybookworld to know your MBWE IP address). You will not see storage information now because we haven't created raid yet. But you are able to create a user name and password so you can log in when using SSH in later step

Step 3: Enable SSH using: http://martin.hinner.info/mybook/sshaccess.php

Step 4: to prepare for later step, you should install optware using: http://mybookworld.wikidot.com/optware, and install nano (an editor program)

/opt/bin/ipkg install nano

Step 5: Download putty from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and run it (if you are using windows) log in: [email-masked] (your MBWE IP), and type your password, now run under super user mode by:

su
mdadm --create /dev/md4 --level=linear --raid-devices=2 /dev/sda4 /dev/sdb4 (if you want raid=linear)
(or # mdadm --create /dev/md4 --level=1 --raid-devices=2 /dev/sda4 /dev/sdb4 (if you want raid=1))
mkfs.ext3 /dev/md4
mount /dev/md4 /shares/internal
mdadm /dev/md3 -a /dev/sdb3
mdadm /dev/md2 -a /dev/sdb2
mdadm /dev/md1 -a /dev/sdb1

now, check your raid:

mdadm -Es

It should show up similar to this (your UUID might be different), note down your UUID for /dev/md4

ARRAY /dev/md4 level=linear num-devices=2 UUID=1f477eda:b9e24a33:29183c1b:f04dc09d

ARRAY /dev/md3 level=raid1 num-devices=2 UUID=cc0255b1:ab6a743e:140ccd5c:a2cc1275

ARRAY /dev/md2 level=raid1 num-devices=2 UUID=e26a4fa6:63a71e7b:9fae57d8:fcad5af4

ARRAY /dev/md1 level=raid1 num-devices=2 UUID=c76782f4:82389a60:dfb9eb54:c349664a

Step 6: Update your mdadm.conf file

/opt/bin/nano /etc/mdadm.conf

replace the UUID in mdadm.conf with those in your raid from previous step. Actually the only number that is different is UUID for /dev/md4

hit Ctrl X then Y, then Enter

Step 7: format your raid again

mkfs.ext3 /dev/md4

Step 8: Edit fstab

/opt/bin/nano /etc/fstab

Remove "#" in front of /dev/md4

Step 9: Adjusting setting for 2 -disk version

/opt/bin/nano /etc/default-settings (change **wdg1nc** to **wdg2nc**)
/opt/bin/nano /var/oxsemi/nas.ini (change **1NC** to **2NC**)

Step 10: If you are not using western digital hard drives, the fan will never run, so you have to activate the fan using http://kyyhkynen.net/stuff/mybook/temperature_monitor.php

Reboot and you are all set

Last edited on 10 Feb 2010, 22:39
by arryo
Show more

Reply
Options

Unfold
Rescue Procedure for MBWE II by arryo, 17 Apr 2009, 08:22

Fold

Re: Rescue Procedure for MBWE II

kevku 17 Apr 2009, 10:08

images of 2TB MBWE2 http://mybookworld.wikidot.com/forum/t-48373/backup-images-for-wd-mybook-we-ii-2tb

images of 1TB MBWE2 raid1 : http://mybookworld.wikidot.com/forum/t-47836/mbwe2-1tb-2x500gb-raid-1-image-file

Reply
Options

Unfold
Re: Rescue Procedure for MBWE II by kevku, 17 Apr 2009, 10:08

Fold

Re: Rescue Procedure for MBWE II

jah_liar 26 Mar 2012, 17:41

Thank you very much, worked like a charm!

Reply
Options

Unfold
Re: Rescue Procedure for MBWE II by jah_liar, 26 Mar 2012, 17:41

New Post

Permanent Link
Edit
Delete

/forum/t-147932/rescue-procedure-for-mbwe-ii#post-

Help
|
Terms of Service
|
Privacy
|
Report a bug
|
Flag as objectionable

Powered by Wikidot.com

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License

Other interesting sites

Eat-Drink-Man-Woman

A hang-out place to relax and chit-chat about food and boy-girl stuff...

Wiki for 'My Vineyard'

A Facebook Application

AviationKnowledge

Wikidot Live Support

Click here to edit contents of this page.

Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.

Append content without editing the whole page source.

Check out how this page has evolved in the past.

If you want to discuss contents of this page - this is the easiest way to do it.

View and manage file attachments for this page.

A few useful tools to manage this Site.

See pages that link to and include this page.

Change the name (also URL address, possibly the category) of the page.

View wiki source for this page without editing.

View/set parent page (used for creating breadcrumbs and structured layout).

Notify administrators if there is objectionable content in this page.

Something does not work as expected? Find out what you can do.

General Wikidot.com documentation and help section.

Wikidot.com Terms of Service - what you can, what you should not etc.

Wikidot.com Privacy Policy.

5265 days ago

5265 days ago

4965 days ago

5265 days ago

5265 days ago

5265 days ago

4190 days ago

4190 days ago