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-09-16 20:23:06

djangofan
New member
Registered: 2010-09-16
Posts: 4

How do I transfer a RAID mirror from a Windows system to my DNS-323

Hello everyone.  I have 2 1TB drives that I had on a 3Ware Hardware raid in Windows 7.   I want to transfer the raid mirror to my DNS-323 (firmware 1.09) but I cannot figure out the exact steps from reading these forum posts.

Here is what I have done so far.

1.  Inserted one of the disks into my DNS-323 and formatted the drive as a single drive on the DNS-323
2.  Mapped a drive from the Windows 7 system and copied all the data from the existing drive over to the newly formatted DNS-323 drive (which sits in the LEFT slot)

Here is what I want to do from here and I need to know if anyone knows if it will work:

3.  Format and delete partitions on the drive that is in my Windows 7 machine.
4.  Move the blank drive over to the DNS-323 and put it into the RIGHT slot
5.  Use the RAID config panel to sync the blank drive to the existing drive without erasing the data on the existing drive.


Will this work?  If so, what will the RAID user interface say when I try this?

Offline

 

#2 2010-09-16 20:58:10

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

Re: How do I transfer a RAID mirror from a Windows system to my DNS-323

Here's how you do it.

FIRST STEP - BACKUP YOUR DATA

Now that you have a backup of your data, and also a single drive in the DNS-323 with the data ...

2 - delete all partitions on the second drive
3 - insert the blank drive in to the DNS-323 and power it up
4 - log into the DNS-323 web admin interface, it should prompt you to format the newly inserted drive, there will be a box that you can check to create a RAID1 array, check it, and respond to all the prompts, the unit should now format the drive and then prompt for a rebbot, after which it will sync the data.

Offline

 

#3 2010-09-16 21:59:47

chriso
Member
Registered: 2009-03-29
Posts: 74

Re: How do I transfer a RAID mirror from a Windows system to my DNS-323

Consider using the second drive on the DNS-323 as backup (using cp -l/rsync ) instead of using RAID 1.  Unless you really have to have a hard drive system that is available even if one drive fails, using the second drive as a backup drive is a much better idea.

Be sure the read the known issues link about formatting the second drive.

Last edited by chriso (2010-09-16 22:06:04)

Offline

 

#4 2010-09-16 22:27:39

djangofan
New member
Registered: 2010-09-16
Posts: 4

Re: How do I transfer a RAID mirror from a Windows system to my DNS-323

Thanks chriso... using rsync is a nice idea.   If I telnet into the DNS-323, do the default utilities on the device (not ffp)  allow me to schedule a rsync somehow?  Any ideas on that?  Too bad the UI doesn't support it.

In particular, can I run a rsync daemon or a cron job or something on this device?

Last edited by djangofan (2010-09-16 22:45:33)

Offline

 

#5 2010-09-16 23:46:50

chriso
Member
Registered: 2009-03-29
Posts: 74

Re: How do I transfer a RAID mirror from a Windows system to my DNS-323

rsync is not available with the programs that come with the DNS-323.  So I think most people get it by installing ffp, which I did.  Here is a good example of how to do the backup.  I did it a bit different because I wanted some special things, but the underline idea is the same:
http://dns323.kood.org/howto:backup

A really long discussion of this is this thread:
http://dns323.kood.org/forum/viewtopic.php?id=2125

You don't need to run a daemon since you can just run the rsync command from a script.

If you want reading material about rsync used as a back up this is a great link:
http://www.backupcentral.com/wiki/index … _snapshots

The lines:
$ mv backup.0 backup.1
$ cp -al backup.0/. backup.1/
$ rsync -av --delete source /. backup.0/

AND:

$ mv backup.0 backup.1
$ rsync -av --delete --link-dest=../home.0 /home/. /backups/home/

Show how simple the basic idea is (If you search for the lines you will see the explanations too).

As a point of reference I don't do anything with cron.  Instead I start a script using ffp/start that just runs all the time waiting for either the right time of day or a special file (which I create on the Window side) to trigger the backup.  To allow my drives to spin down I run ffp from a USB flash drive.

Last edited by chriso (2010-09-17 00:51:56)

Offline

 

#6 2010-09-17 06:29:51

djangofan
New member
Registered: 2010-09-16
Posts: 4

Re: How do I transfer a RAID mirror from a Windows system to my DNS-323

So, it turns out that the steps I outlined above worked perfectly.   Here are the screenshots:
http://i55.tinypic.com/2uj6n2a.jpg

and

http://i52.tinypic.com/2s9ydco.jpg

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB