DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-05-26 08:18:48

Darkman
Member
From: Sonoran Desert
Registered: 2010-04-23
Posts: 30

DNS-343 Raid5 4x1Tb - bay 1 failure

HELP!!!!
i have bout 2.5 T on this thing i dont want to lose!

it is giving me an abnormal on smart status bay 1
and when i take it out it doesnt want to run nicely!

i tried powering it off and dropping in a new (unformatted) drive and powering up, but it then wants to format ALL the drives.

i then tried powering down, pulling all drives but bay 1 and rebooting, then formatting it, then dropping power, and reinserting all 4 drives. (excepting original bay 1)
i power it up and again it wants to format everything.. again.

it also lost its name, and the auto power onn after power outage, but still remembers admin password set.
(ip is set by mac address from the DHCP server.)

has anyone any Ideas on how to deal with this..?
if it were bays 2-4 i think it might be easier, but as its bay 1- i think this is creating a difficult problem.

when reinserting the original bay 1 drive it says rebuilding, please wait 1112.5 minutes, but never changes the number- and the whole thing behaves slowly until it stops responding entirely via both the web interface and the telnet..

when i run top- i get this

Code:

Mem: 121092K used, 5752K free, 0K shrd, 29436K buff, 67788K cached
CPU:  14% usr  73% sys   0% nice   0% idle   0% io   0% irq  12% softirq
Load average: 5.38 4.38 2.80
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 1239     2 root     SW<      0   0%  54% [md0_raid5]
 1246     2 root     DW<      0   0%  29% [md0_resync]
 1545  1544 nobody   R    11156   9%   8% /ffp/bin/transmission-daemon -f -g /mn
 2790  1544 nobody   R    11156   9%   8% /ffp/bin/transmission-daemon -f -g /mn
 1650  1596 root     R     1360   1%   1% top 
 1358     1 root     S     2616   2%   0% chkbutton 
 1530     1 root     S     1356   1%   0% /ffp/sbin/telnetd -l /ffp/bin/sh 
 1838     1 root     S    11316   9%   0% /usr/sbin/samba/smbd -D 
 1870  1838 root     S    11316   9%   0% /usr/sbin/samba/smbd -D 
 1519     1 nobody   S    11156   9%   0% /ffp/bin/transmission-daemon -f -g /mn
 2780  1544 nobody   R    11156   9%   0% /ffp/bin/transmission-daemon -f -g /mn
 1544  1519 nobody   S    11156   9%   0% /ffp/bin/transmission-daemon -f -g /mn
 2781  1544 nobody   R    11156   9%   0% /ffp/bin/transmission-daemon -f -g /mn
 1384     1 root     S     8876   7%   0% /web/webs 
 1866     1 root     S     7848   6%   0% /usr/sbin/samba/nmbd -D 
 1680     1 root     S     5064   4%   0% /ffp/bin/automatic -c /ffp/etc/automat
 2229     1 root     S     4144   3%   0% pure-ftpd (SERVER)                    
 2176     1 root     S     2736   2%   0% crond 
 1478     1 root     S     2672   2%   0% -sh 
    1     0 root     S     2664   2%   0% init

so it looks like its trying to rebuild the bad drive..

what happens if i hot swap the bay 1 drive...?
will that solve the problem?

Any help/ideas/suggestions/condolences would be appreciated..
Thanx
DM
smile


DNS-343 1.04b03
4x 1.0T Seagate Barracuda 7200.11 RAID5 + 3TB external USB storage for occasional rsync backup.
Transmission-2.22-1 Automatic-0.6.4-1 netatalk-2.1.3-1 rsync-3.0.7-1 nano curl fortune screen SSH SSL SMBget wget
...and the all-powerful foo.sh smile

Offline

 

#2 2010-05-27 20:27:44

bkamen
Member
From: Central East Illinois, USA
Registered: 2007-07-16
Posts: 80
Website

Re: DNS-343 Raid5 4x1Tb - bay 1 failure

Shamefully, I've never tested the failure modes to see what the do.  One of these days, I'll make a backup of the unit to a DSM-g600 I have.

Really, I need to build a redundant backup system.

-Ben


--
Ben - Don't Ask me how I fixed it - I have no idea what I'm doing!
============================================
http://www.benjammin.net/

Offline

 

#3 2010-05-30 00:15:04

Darkman
Member
From: Sonoran Desert
Registered: 2010-04-23
Posts: 30

Re: DNS-343 Raid5 4x1Tb - bay 1 failure

Well that took a few days of beating my head against the wall and reading ALOT on drive recovery, but after dlink RMAd my box, i sorted out a way to make it work!

basically, i cloned the offending drive with the assistance of a cute little script entitled "dd_rhelp"

it took 20 hours, and was almost 4 times as fast as dd.
average transfer rate over USB of
took duplicate, dropped it in my 343, and proceeded to power up.
before i could even get into the web interface it sent me prowl notifications.

now i have a few questions in with the engineer at dlink.. like:

if its behaving PROPERLY
will it boot and access data with the bottom 3 bays still loaded, of course assuming raid 5 was configured on all 4...?

and  if i decide to start populating this thing with 2TB drives, will i be able to swap them out one at a time, let them rebuild and move to the next one, eventually with the last drive in place have 6T operational storage?

hopefully i will have an answer tuesday.


DNS-343 1.04b03
4x 1.0T Seagate Barracuda 7200.11 RAID5 + 3TB external USB storage for occasional rsync backup.
Transmission-2.22-1 Automatic-0.6.4-1 netatalk-2.1.3-1 rsync-3.0.7-1 nano curl fortune screen SSH SSL SMBget wget
...and the all-powerful foo.sh smile

Offline

 

#4 2010-08-06 04:30:02

caust1c
Member
Registered: 2010-01-03
Posts: 35

Re: DNS-343 Raid5 4x1Tb - bay 1 failure

Any word on this from d-link?  I am running RAID5 and would be very interested to hear how your recovery story ended.  I would have hoped, though never tested, that you could just drop in a replacement drive and have the RAID rebuild...

Offline

 

#5 2010-08-07 12:00:58

Darkman
Member
From: Sonoran Desert
Registered: 2010-04-23
Posts: 30

Re: DNS-343 Raid5 4x1Tb - bay 1 failure

exchange as follows:
-------------------
On Fri, May 28, 2010 at 6:08 PM, JD wrote:
dunno if you recall- we spoke on the phone the other day, and we decided to RMS the device..

had a question for you..
if its behaving PROPERLY
will it boot and access data with the bottom 3 bays still loaded, of course assuming raid 5 was configured on all 4...?

and my next question is if i decide to start populating this thing with 2TB drives, will i be able to swap them out one at a time, let them rebuild and move to the next one, eventually with the last drive in place have 6T operational storage?
--------------------------------
JD,

Yes it will as long as there wasn't an issue on one of the remaining to cause this in the first place as well as the failed drive.

If you want to crate a larger RAID5 volume you will need to backup your data and reformat selecting a larger Volume size once all larger drives are present.
-------------------------------------------------------------





So how did it end?

Dropping in a new drive made it want to force a format. Part of said format, if you choose raid5, will WIPE your data.. on ALL drives!

I ended up dropping the new drive in a 2 drive bay with the old drive, which was having SMART errors, and running a command using:
http://www.kalysto.org/utilities/dd_rhelp/index.en.html
(yup, i'm a linux guy)

dd_rhelp if=/dev/sdb of=/dev/sdc notrunc
tho you can try :
dd_rhelp if=/dev/sdb1 of=/dev/sdc1 notrunc
and count up as you go..
me- im a set it and forget it kinda guy.

it makes a complete scan of the source drive and even sets up file format and partitions exactly on the new drive..
stripped all the drives, updated to the beta software (1.04b03) to keep it from crashing during rebuild, set it to auto rebuiild, powered it off,
populated the drives in their appropriate slots, powered it up, then let her rip.
a few hours later it finished rebulid.
(tho its preformance during rebuild is kinda lousy, IMHO, but once its done its working like a champ, as in i havnt restarted this bloody thing since early June)
i just wish i could figure out how to fix the uptime bug!


DNS-343 1.04b03
4x 1.0T Seagate Barracuda 7200.11 RAID5 + 3TB external USB storage for occasional rsync backup.
Transmission-2.22-1 Automatic-0.6.4-1 netatalk-2.1.3-1 rsync-3.0.7-1 nano curl fortune screen SSH SSL SMBget wget
...and the all-powerful foo.sh smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB