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 2008-02-01 06:48:11

b8b
Member
Registered: 2008-01-24
Posts: 18

RAID 1 AND JBOD

Hi All,

I just put my new DNS-323 on the network with two Seagate 500GB drives (7200.10).  I selected RAID 1 and it gave me the option to set the volume size for RAID 1.  I only need a portion for redundant file storage (pictures, documents, etc.) and don't mind losing media since I can download it all again relatively quickly (at least, it's not "priceless").   So I opted to set a RAID 1 volume size of 150GB thinking that I could then have 700GB (+/-) with JBOD for media.  It's formatting now.  Two questions: 1) is my assumption on the sizes wrong?  2) will I create stability or recovery issues with this mixed-mode format?

Thanks in advance.

B

Offline

 

#2 2008-02-01 13:48:01

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

Re: RAID 1 AND JBOD

I don't see anything wrong with your assumption on the size - but - if you're assuming that RAID1 removes the need for backup, that would be an incorrect assumption.

What do you define as "stability or recovery issues"?

Offline

 

#3 2008-02-01 16:13:02

b8b
Member
Registered: 2008-01-24
Posts: 18

Re: RAID 1 AND JBOD

fordem wrote:

I don't see anything wrong with your assumption on the size - but - if you're assuming that RAID1 removes the need for backup, that would be an incorrect assumption.

What do you define as "stability or recovery issues"?

Hmmmm... I thought the whole idea of RAID1 was to have redundancy so if one drive failed you didn't lose the data. I know I need to backup for off-site storage (like DVD archive pics and documents) - but I hope that's enough.

Regarding stability or recovery issues: If I lose a drive, will I be able to restore the data easily from the RAID 1 volume? I don't care about the JBOD volume.

Offline

 

#4 2008-02-01 16:36:23

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

Re: RAID 1 AND JBOD

This is why I pointed it out - many people have the impression that RAID1 is there to protect against data loss - and when it does not deliver on their expectation they get upset and trash talk the device and it's RAID implementation.  RAID1 has nothing to do with preventing data loss - it's purpose is simply to reduce the downtime impact of a failed drive.

Regarding stability & recovery - there is no recovery process, if a drive in a RAID1 array fails, the end user is typically unaware of the event, life goes as normal, and the data remains accessible just as it was before the drive failure.

What should happen is that the system administrator should be alerted through some mechanism - in the case of the DNS-323 it's an amber LED (which in my experience does not work) and, if you so choose, email alerts - the administrator would then remove & replace the failed drive and the unit should rebuild the array - you'll find that some people here have reported problems with data loss during the rebuild, one possible cause is rebuilding to a drive that already contains data - personally I have had no problems in this regard.

Offline

 

#5 2008-02-01 17:11:09

b8b
Member
Registered: 2008-01-24
Posts: 18

Re: RAID 1 AND JBOD

fordem wrote:

This is why I pointed it out - many people have the impression that RAID1 is there to protect against data loss - and when it does not deliver on their expectation they get upset and trash talk the device and it's RAID implementation.  RAID1 has nothing to do with preventing data loss - it's purpose is simply to reduce the downtime impact of a failed drive.

It seems that RAID also prevents data loss since it is redundant, no?  Perhaps I don't understand your statement.

Offline

 

#6 2008-02-01 17:17:23

blbrown
Member
Registered: 2007-11-02
Posts: 88
Website

Re: RAID 1 AND JBOD

Here's another plug for my script...  b8b, what I would recommend is changing back to "standard" setup where both drives are independent.  Then have a script automatically copy from one to the other only the things that need backing up.  Here's a thread related to that:

http://dns323.kood.org/forum/t1150-Tuto … night.html

You might also want to check out my scripts:

http://backupnetclone.sourceforge.net/

Offline

 

#7 2008-02-01 18:37:33

b8b
Member
Registered: 2008-01-24
Posts: 18

Re: RAID 1 AND JBOD

blbrown wrote:

Here's another plug for my script...  b8b, what I would recommend is changing back to "standard" setup where both drives are independent.  Then have a script automatically copy from one to the other only the things that need backing up.

Thanks, BLBrown.  I am concerned about my technical competence, I've been out of IT for a bit long and wonder if I should be trying to run scripts from this thing - looks a bit complicated.   I appreciate the fun_plug install link though, I've been looking for that.  I might try a computer-based application (Allways Sync Pro Version from http://www.allwaysync.com/) to do the same thing - thanks for the good idea!

Offline

 

#8 2008-02-01 22:02:08

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

Re: RAID 1 AND JBOD

b8b wrote:

It seems that RAID also prevents data loss since it is redundant, no?  Perhaps I don't understand your statement.

Well, I guess this depends on the type of the data loss event you want to protect against.  You are correct that
the data is redundant; however, the redundant data is also being operated on, in real time.  So, in the situation
that you have a power failure (assume you don't have a UPS) and a file you had open gets corrupted.  Both
redundant copies get corrupted and you lose the data. Same situation if a user deletes the wrong file (or directory),
both redundant copies are deleted.

RAID 1 (mirroring) is designed to allow you to continue to access your data in the event of a single hard drive failure.

If the only data loss event you want to prevent is a single hard drive failure, then RAID 1 is a pretty good solution. 
However, RAID 1 is not a very robust backup strategy.

From http://en.wikipedia.org/wiki/Backup
"In information technology, backup refers to making copies of data so that these additional copies may be
used to restore the original after a data loss event."

Last edited by mig (2008-02-01 22:04:03)


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

 

#9 2008-02-01 22:22:13

b8b
Member
Registered: 2008-01-24
Posts: 18

Re: RAID 1 AND JBOD

great points. Thanks for the info.

Offline

 

#10 2008-02-01 22:29:07

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

Re: RAID 1 AND JBOD

b8b wrote:

Two questions: 1) is my assumption on the sizes wrong?  2) will I create stability or recovery issues with this mixed-mode format?

These are really good questions!  It shows you are thinking. cool My advice to you, is to 'practice' your disaster recovery
plan.  Think of all the data loss events you want to recover from, and develop a procedure of how you would do that. 
Prove to yourself, by simulating the data loss event, that you can restore the data you care about. 

For starters, consider, what would you do to recover your data if....

  1) a user deletes a file (or directory)
  2) single hard drive failure
  3) both hard drives fail
  4) the DNS-323 fails (and what if the DNS-323 is not manufactured anymore?)
  5) catastrophic loss of building (fire, earthquake)

You don't have to be able to perform a complete data recovery for every situation,  only you can determine what
costs are acceptable to prevent the data loss.

Last edited by mig (2008-02-01 22:32:02)


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

 

#11 2008-02-01 22:43:00

b8b
Member
Registered: 2008-01-24
Posts: 18

Re: RAID 1 AND JBOD

Mig - this is really great information and truly important to consider.  I really appreciate your time and effort in explaining it all.  I'm going to reformat and go with the separate volumes (not sure how to do this yet, but I'm sure it's in this forum somewhere), sync the data between the two drives and run DVD backups every once in a while of the vital data and store a copy in a fireproof safe and another copy off-site.

Offline

 

#12 2008-02-08 09:09:35

mealto
Member
Registered: 2008-02-02
Posts: 95

Re: RAID 1 AND JBOD

So to go from a Raid 1 setup to JBOD, can't you simply:

1. Power down the unit
2. Pull out drive A
3. Reformat drive B using JBOD
4. Plug in drive A and copy data over to B
5. Done?

Offline

 

#13 2008-02-08 14:29:53

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

Re: RAID 1 AND JBOD

mealto wrote:

So to go from a Raid 1 setup to JBOD, can't you simply:

1. Power down the unit
2. Pull out drive A
3. Reformat drive B using JBOD
4. Plug in drive A and copy data over to B
5. Done?

Have you tryed it?

The only thing the firmware allows with a single drive is standard disks.

Offline

 

#14 2008-02-08 20:39:41

mealto
Member
Registered: 2008-02-02
Posts: 95

Re: RAID 1 AND JBOD

No I haveen't, hence I put that list as a question. Come to think of it, the safest way might be to back up all the Raid 1 data to another drive on the network, reformat the 323 using Standard, then pull the data back. Can anyone who has done this migration jump in here?

Offline

 

#15 2008-02-08 20:53:44

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

Re: RAID 1 AND JBOD

mealto - your earlier post asked about going from RAID1 to JBOD, the later post asks about going from RAID1 to standard - these are two very different things.

You can NOT go from RAID1 (or any other disk configuration for that matter) to JBOD without reformatting the drives, you can however, go from RAID1 to two standard volumes without a reformat.

I would be the last person to tell you that you don't need to backup the data, but strictly speaking it should not be necessary (don't hold me responsible if you don't backup and do lose your data - the safest way IS to back it up) - power the unit down, remove either one of the RAID1 members (drives), power the unit up and push the reset button at the rear, power down and reinstall the drive removed earlier and the next time you power up you should have two separate drives, each containing the same data, delete the data from the one of your choice.

You could also remove one drive, format the remaining one and then reinstall the removed one - which would probably be quicker than deleting the data.

Offline

 

#16 2008-02-08 21:43:07

mealto
Member
Registered: 2008-02-02
Posts: 95

Re: RAID 1 AND JBOD

Sorry, I meant to say standard instead of JBOD. ok, I promise I won't come looking for you if things break smile

So let me double check just to make sure.

Option #1:
1. Backup data to another drive
2. Power down unit
3. Remove Drive A from the unit
4. Power up unit and push reset button at the rear
5. Power down & reinstall drive B
6. Power up and use

OR

Option #2:
1. Backup data to another drive
2. Power down unit
3. Remove Drive A
4. Power up unit
5. Format Drive B (using the unit's GUI wizard)
6. Power down unit
7. Install Drive A
8. Power up and use

Are both of these methods properly sequenced? Which method is better?

Again, thanks in advance!

Add up:

1. Come to think of it, in Option #1, what does the reset button do at the rear? Does it kill the Raid format?
2. in Option #2, when you replace Drive B, wouldn't the unit try and rebuild the Raid array? Or would it not because the last drive left in the unit has been reformatted (meaning the first drive you pulled out does not contain any Raid array info)? Not sure if my lingo is right so please bare with a newbie here smile

Last edited by mealto (2008-02-08 21:47:38)

Offline

 

#17 2008-02-08 23:49:55

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

Re: RAID 1 AND JBOD

In option #1, pushing the reset button will return most, but not all, of the configuration settings to the default - amongst those settings is the RAID configuration.

In option #2, when you select the format option, you will only one choice because you have only one disk, and when you format as a standard volume, this will reset the RAID configuration - as far as I am aware neither drivecontains the RAID configuration, this appears to be stored in some form of non-volatile RAM - either flash or battery backed - on the system board.

The sequencing listed is basically correct, although there is a mistake which I believe may be a typo in option #1 - item 5 should say drive A rather than drive B - as it stands you're removing drive A and then replacing drive B.

I don't know that either method is "better"

Offline

 

#18 2008-02-09 02:55:34

mealto
Member
Registered: 2008-02-02
Posts: 95

Re: RAID 1 AND JBOD

fordem wrote:

The sequencing listed is basically correct, although there is a mistake which I believe may be a typo in option #1 - item 5 should say drive A rather than drive B - as it stands you're removing drive A and then replacing drive B.

Edit: Never mind, I got Option #1 & #2 mixed up. smile Looks like I need to think about this before the format change. Thanks so much!

Last edited by mealto (2008-02-09 03:06:38)

Offline

 

#19 2008-02-13 02:28:45

mealto
Member
Registered: 2008-02-02
Posts: 95

Re: RAID 1 AND JBOD

I hope this can help others who are also going from Raid 1 to Standard. And thanks to fordem. These are the steps and everything worked:

Option #2:
1. Backup data to another drive
2. Power down unit
3. Remove Drive A
4. Power up unit
5. Format Drive B (using the unit's GUI wizard under Tools>>Raid>>Set Raid Type and reformat - even though you do not want a Raid setup)
6. Power down unit after reformat is completed
7. Install Drive A
8. Power up and use

Essentially, your old data will still be on Drive A but Drive B will be freshly formatted.

Last edited by mealto (2008-02-13 02:29:15)

Offline

 

#20 2008-02-13 04:02:48

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

Re: RAID 1 AND JBOD

mealto wrote:

... 3. Remove Drive A ...

Which drive do you call Drive A?
Left for right hand side (as you look at the DNS-323's power button?)


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

 

#21 2008-02-13 04:05:12

mealto
Member
Registered: 2008-02-02
Posts: 95

Re: RAID 1 AND JBOD

In theory, it shouldn't matter since Raid 1 means both drives should be identical. For me, Drive A is the right drive. Now having said that, After you reformat, there will only be 1 drive left. This drive is called Volume_1. When you put in the 2nd drive, it will call the first drive Volume_2 and the new drive Volume_1.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB