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 2007-11-15 14:20:25

Wizard
Member
Registered: 2007-11-15
Posts: 6

DNS-323 RAID0 Failure

Hi all,

Thanks to all for this forum, very interesting where anyone can find some fixes on the DNS-323 issues ...

DNS-323 with firmware 1.03, 2xSamsung SpinPoint T - HD501LJ - 500 Gb, RAID0 Ext2 (big mistake !) with lots of data that i don't want to lose.

For some unknow reason, one the hd leds turned to amber, i thought it was a hd problem.
I ran the web interface and it told me to format the drives.
After a few minutes, leds turned to blue but no way to acces the 323 box.

Hard reset of the box, no way to access my files. Even the ip of the box changed.
Before it was 192.168.0.32, after failure, i was able to access the web interface with 192.168.0.85 (thanx to the easy search utility).


I searched into this forum and found a way to solve the RAID issue (http://dns323.kood.org/forum/p2593-2007 … tml#p2593, thanx to JAG).

1. Drives in place, start the web interface, select RAID0, set size of RAID0 (must be the same size than before the failure)
2. Unplug the drives, start format with drives unplugged !, the 323 will not detect that drives are missing !
3. The format progress bar will stop at 94%
4. Shut down 323, plug the drives and restart the 323
5. The RAID 0 works again and no more amber lights (blue leds and almost all data is there)

It seems that some folders disappeared ...

Hope this will help

Offline

 

#2 2007-11-15 15:18:32

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: DNS-323 RAID0 Failure

I have to admit, I am seriously concerned about the number of posts I have come across here where folks use RAID0 and then are looking for ways to retrieve lost data.

Does no-one take the time to research what they plan to do before they do it?

RAID0 has only one advantage - access speed - and on this hardware, I believe that is a theoretical advantage.  It's disadvantage is the increased probability of data loss.

NEVER - EVER - store data that you cannot afford to lose on a RAID0 array.

I'm inclined to say NEVER - EVER - store data on a RAID0 array, but I figure someone's going to ask why bother having one - good question - and here's one answer - using a RAID0 array (as compared to using a single disk of the same total capacity) can reduce the rendering time of certain graphic development tools significantly.

RAID0 arrays achieve their speed advantage by striping the data across the disks - in a two disk array, half your data is on one disk and half on the other, lose either disk and you lose it all.

Offline

 

#3 2007-11-15 15:25:26

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: DNS-323 RAID0 Failure

Wizard, you should be ashamed of yourself, kindy refer to "fordem" before making decisions about what is best for you where RAID is concerned. He diligently posts the minutiae concerning RAID all over this forum. NEVER - EVER dont research it at all. goodness gracious me, I wish everyone knew all about RAID and how it should be used for backup  sad

Last edited by index monkey (2007-11-15 15:46:02)


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

#4 2007-11-15 16:05:52

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: DNS-323 RAID0 Failure

index monkey wrote:

Wizard, you should be ashamed of yourself, kindy refer to "fordem" before making decisions about what is best for you where RAID is concerned. He diligently posts the minutiae concerning RAID all over this forum. NEVER - EVER dont research it at all. goodness gracious me, I wish everyone knew all about RAID and how it should be used for backup  sad

Dinna get your knickers in a twist - if only one person reads that post and learns from it, it's served it's purpose.

Offline

 

#5 2007-11-15 16:13:27

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: DNS-323 RAID0 Failure

I dont know about you fordem, but personally I NEVER - EVER wear knickers!  big_smile

some people dont know enough about RAID though, and they probably should have just bought usb external hard disks instead.  Maybe two of them if they wanted RAID.

Last edited by index monkey (2007-11-15 16:23:19)


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

#6 2007-11-15 22:03:44

Wizard
Member
Registered: 2007-11-15
Posts: 6

Re: DNS-323 RAID0 Failure

index monkey wrote:

Wizard, you should be ashamed of yourself, kindy refer to "fordem" before making decisions about what is best for you where RAID is concerned. He diligently posts the minutiae concerning RAID all over this forum. NEVER - EVER dont research it at all. goodness gracious me, I wish everyone knew all about RAID and how it should be used for backup  sad

Ok i made the wrong choice. I will use it with 2 disks without RAID.

Do you think i will search in every forum for the poor RAID implementation of this box before i buy it ? I bought this 323, it has to work correctly.
But what about using RAID1 when you can lose all your data just when you upgrade the firmware and the resync doesn't work?

D-Link think we are beta users and with all the work done is this forum, i hope they will be able to fix all these issues ...

It seems that RAID sotware on the 323 is not reliable enough ... Every time the firmware is updated the linux kernel is updated too ... strange.
I have a RAID0 on my pc and no problem with it (hardware raid0 ... makes all the difference and no need to boot on the eprom to fix a conf file)

Offline

 

#7 2007-11-15 22:08:13

Wizard
Member
Registered: 2007-11-15
Posts: 6

Re: DNS-323 RAID0 Failure

fordem wrote:

I have to admit, I am seriously concerned about the number of posts I have come across here where folks use RAID0 and then are looking for ways to retrieve lost data.

Does no-one take the time to research what they plan to do before they do it?

RAID0 has only one advantage - access speed - and on this hardware, I believe that is a theoretical advantage.  It's disadvantage is the increased probability of data loss.

NEVER - EVER - store data that you cannot afford to lose on a RAID0 array.

I'm inclined to say NEVER - EVER - store data on a RAID0 array, but I figure someone's going to ask why bother having one - good question - and here's one answer - using a RAID0 array (as compared to using a single disk of the same total capacity) can reduce the rendering time of certain graphic development tools significantly.

RAID0 arrays achieve their speed advantage by striping the data across the disks - in a two disk array, half your data is on one disk and half on the other, lose either disk and you lose it all.

Does no-one take the time to research what they plan to do before they do it?
I cannot afford a RAID5 big box ...

Offline

 

#8 2007-11-15 22:54:54

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: DNS-323 RAID0 Failure

Wizard wrote:

Ok i made the wrong choice. I will use it with 2 disks without RAID.

Do you think i will search in every forum for the poor RAID implementation of this box before i buy it ? I bought this 323, it has to work correctly.
But what about using RAID1 when you can lose all your data just when you upgrade the firmware and the resync doesn't work?

D-Link think we are beta users and with all the work done is this forum, i hope they will be able to fix all these issues ...

It seems that RAID sotware on the 323 is not reliable enough ... Every time the firmware is updated the linux kernel is updated too ... strange.
I have a RAID0 on my pc and no problem with it (hardware raid0 ... makes all the difference and no need to boot on the eprom to fix a conf file)

This has nothing to do with D-Link - this has nothing to do with the DNS-323 - it is simply how RAID0 works - ALL RAID0 arrays put your data at risk - and that includes the one in your PC.

You think you have hardware RAID on your PC - I'm willing to bet you don't - not unless you're running a server grade system.  The reality is that the majority of desktop systems out there that offer RAID, only offer RAID0 & RAID1, and do so using the system processor - if there is no dedicated RAID processor and XOR then it's not hardware RAID - the writes are being handled by the disk controller drivers and the system processor is doing the slicing & dicing.  Post the make & model of your motherboard and I'll show you the details.

For what it's worth - I have not yet lost data upgrading my firmware - and all of my resyncs have worked and believe me - I have pretty much put my DNS-323 through the wringer when it comes to it's RAID capabilities.

One more thing - this NAS server, like many low cost NAS servers, runs embedded linux.  The firmware IS linux - the only reason for updating the firmware is to update the linux "distro" (I use that term loosely) so why should it be so strange that updating the firmware also updates the kernel?

Wizard wrote:

Does no-one take the time to research what they plan to do before they do it?
I cannot afford a RAID5 big box ...

What does RAID5 have to do with anything?  It's not an option on this box - and every piece of hardware I've seen offer RAID5 has also offered RAID0 & RAID1 as options.

You've already admitted making a bad choice - D-Link wasn't responsible for that choice, they give you the options, you made the choice - if you bought a box that offered RAID5, who's to say you wouldn't have made the same bad choice.  It's easy to do - every other option reduces your storage capacity.

Offline

 

#9 2007-11-16 00:17:02

Wizard
Member
Registered: 2007-11-15
Posts: 6

Re: DNS-323 RAID0 Failure

Wizard wrote:

Hi all,

Thanks to all for this forum, very interesting where anyone can find some fixes on the DNS-323 issues ...

DNS-323 with firmware 1.03, 2xSamsung SpinPoint T - HD501LJ - 500 Gb, RAID0 Ext2 (big mistake !) with lots of data that i don't want to lose.

For some unknow reason, one the hd leds turned to amber, i thought it was a hd problem.
I ran the web interface and it told me to format the drives.
After a few minutes, leds turned to blue but no way to acces the 323 box.

Hard reset of the box, no way to access my files. Even the ip of the box changed.
Before it was 192.168.0.32, after failure, i was able to access the web interface with 192.168.0.85 (thanx to the easy search utility).


I searched into this forum and found a way to solve the RAID issue (http://dns323.kood.org/forum/p2593-2007 … tml#p2593, thanx to JAG).

1. Drives in place, start the web interface, select RAID0, set size of RAID0 (must be the same size than before the failure)
2. Unplug the drives, start format with drives unplugged !, the 323 will not detect that drives are missing !
3. The format progress bar will stop at 94%
4. Shut down 323, plug the drives and restart the 323
5. The RAID 0 works again and no more amber lights (blue leds and almost all data is there)

It seems that some folders disappeared ...

Hope this will help

Using a FTP client i was able to recover the disappeared folders just by renaming them

Offline

 

#10 2007-11-16 00:30:34

Wizard
Member
Registered: 2007-11-15
Posts: 6

Re: DNS-323 RAID0 Failure

fordem wrote:

Wizard wrote:

Ok i made the wrong choice. I will use it with 2 disks without RAID.

Do you think i will search in every forum for the poor RAID implementation of this box before i buy it ? I bought this 323, it has to work correctly.
But what about using RAID1 when you can lose all your data just when you upgrade the firmware and the resync doesn't work?

D-Link think we are beta users and with all the work done is this forum, i hope they will be able to fix all these issues ...

It seems that RAID sotware on the 323 is not reliable enough ... Every time the firmware is updated the linux kernel is updated too ... strange.
I have a RAID0 on my pc and no problem with it (hardware raid0 ... makes all the difference and no need to boot on the eprom to fix a conf file)

This has nothing to do with D-Link - this has nothing to do with the DNS-323 - it is simply how RAID0 works - ALL RAID0 arrays put your data at risk - and that includes the one in your PC.

You think you have hardware RAID on your PC - I'm willing to bet you don't - not unless you're running a server grade system.  The reality is that the majority of desktop systems out there that offer RAID, only offer RAID0 & RAID1, and do so using the system processor - if there is no dedicated RAID processor and XOR then it's not hardware RAID - the writes are being handled by the disk controller drivers and the system processor is doing the slicing & dicing.  Post the make & model of your motherboard and I'll show you the details.

For what it's worth - I have not yet lost data upgrading my firmware - and all of my resyncs have worked and believe me - I have pretty much put my DNS-323 through the wringer when it comes to it's RAID capabilities.

One more thing - this NAS server, like many low cost NAS servers, runs embedded linux.  The firmware IS linux - the only reason for updating the firmware is to update the linux "distro" (I use that term loosely) so why should it be so strange that updating the firmware also updates the kernel?

Wizard wrote:

Does no-one take the time to research what they plan to do before they do it?
I cannot afford a RAID5 big box ...

What does RAID5 have to do with anything?  It's not an option on this box - and every piece of hardware I've seen offer RAID5 has also offered RAID0 & RAID1 as options.

You've already admitted making a bad choice - D-Link wasn't responsible for that choice, they give you the options, you made the choice - if you bought a box that offered RAID5, who's to say you wouldn't have made the same bad choice.  It's easy to do - every other option reduces your storage capacity.

Sorry, the RAID on my pc is not fully hardware, but there is a processor controlling it, the RAID controller and not the SATA controller.
It seems to me that the kernel doesn't need an update when the RAID sofware needs to be updated, except if the RAID is included in the linux kernel, am i wrong ?

About the firmware updgrades, lots of posts on this forum point the problem with the firmware upgrade process. You're lucky then.

The bad choice was to buy this box and not to choose a fully RAID0 system that seemed to work.

Offline

 

#11 2007-11-16 01:39:52

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: DNS-323 RAID0 Failure

Wizard wrote:

Sorry, the RAID on my pc is not fully hardware, but there is a processor controlling it, the RAID controller and not the SATA controller.

RAID is either hardware or software - there is no grey area - there is no "not fully hardware".

If there is no dedicated RAID processor then the calculations are being handled by the system processor and it's software RAID - if the system does not offer RAID5, you can bet your last dollar, it's not being done in the hardware.

Again - just tell me what make & model motherboard you're using and I'll tell you how they handle the RAID.

Wizard wrote:

It seems to me that the kernel doesn't need an update when the RAID sofware needs to be updated, except if the RAID is included in the linux kernel, am i wrong ?

The easiest way to answer this is to say that things are not always as they seem, especially to the uninitiated - ever heard of a monolithic kernel?

http://en.wikipedia.org/wiki/Kernel_(computer_science)

Wizard wrote:

About the firmware updgrades, lots of posts on this forum point the problem with the firmware upgrade process. You're lucky then.

The bad choice was to buy this box and not to choose a fully RAID0 system that seemed to work.

This is not about this box.

I've said it before and I'll say it again - and again - and again - and as many times as I have to.

NEVER - EVER - store data you cannot afford to lose on a RAID0 array.

ALL RAID0 arrays operate in the same way - your data is sliced in separate "chunks" and written to the disks.

As you increase the number of disks in the array, you increase the probability of disk failure - with two disks, you double the probability of disk failure as compared to a single disk, with three disks, you triple the probability of disk failure, with four disks, you quadruple the probability of disk failure.

With a RAID0 array - failure of any ONE disk will cause the loss of ALL the stored data - with a four disk RAID0 array, you quadruple the probability of losing your data to a disk failure.

This holds true regardless of what you buy - I don't care if it's low end - Linksys, D-Link - mid range - Iomega, or high end - emc - the more disks you have in a RAID0 array, the greater the probability of losing the data to a disk failure.

Offline

 

#12 2007-11-16 16:46:42

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: DNS-323 RAID0 Failure

Word.

I told you : "He diligently posts the minutiae concerning RAID all over this forum." and I was right.


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

#13 2007-11-16 17:44:47

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: DNS-323 RAID0 Failure

index monkey wrote:

Word.

I told you : "He diligently posts the minutiae concerning RAID all over this forum." and I was right.

Bro - it's actually worse than I thought - it is now glaringly obvious that folks assume that their data is safe because they have RAID - with no regard for the choices they made.

Which would you think would be more effective -

Option #1 - preaching the advantages & disadvantages of RAID (of course, along with the different RAID configurations) from the proverbial soapbox on Hyde Park corner

or  -

Option #2 - get myself a caped crusader, super hero outfit, along with a catchy name and slogan - SuperRAID is here to save your data.

big_smile

Offline

 

#14 2007-11-16 17:52:07

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: DNS-323 RAID0 Failure

LOL  are those options mutually exclusive? do both!


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

#15 2007-11-16 17:59:29

HaydnH
Member
Registered: 2007-09-28
Posts: 187

Re: DNS-323 RAID0 Failure

If you do both let me know when and I'll pop down to Hyde park corner - I could use a laugh ;P

Offline

 

#16 2007-11-19 22:41:05

Wizard
Member
Registered: 2007-11-15
Posts: 6

Re: DNS-323 RAID0 Failure

fordem wrote:

This is not about this box.

I've said it before and I'll say it again - and again - and again - and as many times as I have to.

NEVER - EVER - store data you cannot afford to lose on a RAID0 array.

ALL RAID0 arrays operate in the same way - your data is sliced in separate "chunks" and written to the disks.

As you increase the number of disks in the array, you increase the probability of disk failure - with two disks, you double the probability of disk failure as compared to a single disk, with three disks, you triple the probability of disk failure, with four disks, you quadruple the probability of disk failure.

With a RAID0 array - failure of any ONE disk will cause the loss of ALL the stored data - with a four disk RAID0 array, you quadruple the probability of losing your data to a disk failure.

This holds true regardless of what you buy - I don't care if it's low end - Linksys, D-Link - mid range - Iomega, or high end - emc - the more disks you have in a RAID0 array, the greater the probability of losing the data to a disk failure.

I agree with you about the RAID0, you just forgot to mention : on a DNS-323 box.
However, the speed of the network interface is too slow for a RAID0 array (i reached 16 MB/s writing) and this was my mistake to think the gigabit interface was faster than that.

The RAID0 on my desktop works flawlessly (nForce 650i) at full speed (150 MB/s reading, 65 MB/s writing).

Offline

 

#17 2007-11-20 00:40:27

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: DNS-323 RAID0 Failure

I guess I need to say it again - if you don't mind I'll just use the quote feature of the forum and save myself the typing.

fordem wrote:

This is not about this box.

I've said it before and I'll say it again - and again - and again - and as many times as I have to.

NEVER - EVER - store data you cannot afford to lose on a RAID0 array.

ALL RAID0 arrays operate in the same way - your data is sliced in separate "chunks" and written to the disks.

As you increase the number of disks in the array, you increase the probability of disk failure - with two disks, you double the probability of disk failure as compared to a single disk, with three disks, you triple the probability of disk failure, with four disks, you quadruple the probability of disk failure.

With a RAID0 array - failure of any ONE disk will cause the loss of ALL the stored data - with a four disk RAID0 array, you quadruple the probability of losing your data to a disk failure.

This holds true regardless of what you buy - I don't care if it's low end - Linksys, D-Link - mid range - Iomega, or high end - emc - the more disks you have in a RAID0 array, the greater the probability of losing the data to a disk failure.

Wizard wrote:

I agree with you about the RAID0, you just forgot to mention : on a DNS-323 box.
However, the speed of the network interface is too slow for a RAID0 array (i reached 16 MB/s writing) and this was my mistake to think the gigabit interface was faster than that.

The RAID0 on my desktop works flawlessly (nForce 650i) at full speed (150 MB/s reading, 65 MB/s writing).

The above holds true, even for your desktop, the day a drive on your desktop's RAID0 array fails, you'll figure it out - the result will be exactly the same as a drive failure on any other RAID0 array - all the data will be lost.

Offline

 

#18 2007-11-20 02:25:33

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: DNS-323 RAID0 Failure

Wizard wrote:

However, the speed of the network interface is too slow for a RAID0 array (i reached 16 MB/s writing) and this was my mistake to think the gigabit interface was faster than that.

A gigabit Ethernet interface IS faster than "that" (gigabit Ethernet has a theoretical limit of 1000 Mbit/s [~125MB/s])
The reason for the slower performance of the DNS-323 probably has more to do with the 
limitations of the 500Mhz ARM processor, with only 64MB ram, performing the software raid.
more info: http://dns323.kood.org/forum/t738-Surve … Rates.html

Last edited by mig (2007-11-20 10:10:43)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB