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-01-31 00:03:50

fickle
Member
From: Melbourne, Australia
Registered: 2007-09-10
Posts: 249

how long to sync 250gb HD

hi guys,

i have been asked to put larger disks in an existing 323. so today, i will be purchasing 2x 750's

plan of attack is as follows

power down 323
take left HD out
power unit back on
insert new 750 in its place & wait till sync finishes
power down again
remove right HD out, and replace it with the 750 from the left bay
power unit back on & verify all files working fine
power down again
insert other 750 into left bay
power unit back on & sync again.. & verify

if all else fails, i still have the 200gb HD from the left bay with all data on it

does anyone know if the strategy above will work without major issues (eg, data loss) & anyone know how long it will take to sync 200gb from one HD to another?

cheers

Offline

 

#2 2008-01-31 00:30:01

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

Re: how long to sync 250gb HD

It'll be interesting to see what happens - in a hardware RAID environment, if you replaced a 200GB disk with a 750GB one, you would typically lose the remaining 550GB of space, although I believe some of the newer RAID controllers do allow the "container" to be expanded as a separate operation once all of the original members have been replaced with the larger ones.

Apart from the situation described above - which could force you to reformat to recover the missing space - it should work.  I have done something similar with an IBM xSeries server, replacing three drives in a RAID5 array, one by one, each time waiting for the rebuild to complete, before replacing the next drive - the purpose of the exercise in this case was the "pre-emptive" replacement of a suspected defective drives - we had had an unusually high number of failures and the decision was made to replace all the drives of a particular part number.

There should be no need to swap the 750 from left to right (step #6), as the unit should rebuild from either bay - also - if you look at steps 3 & 4 - you're apparently inserting a 750 GB drive with the power on - I suspect this is an error in the sequence, rather than the actual plan, but I will tell you - in my experience, the unit will not detect a "hot inserted" drive - yes - I did test that wink

A 250GB drive takes a few hours to resync - I don't recall exactly, but not more than 3 at the most 4 hours.

Last edited by fordem (2008-01-31 00:32:04)

Offline

 

#3 2008-01-31 01:10:44

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

Re: how long to sync 250gb HD

I don't know how software RAID 1, with mdadm, would work with different size partitions??
I believe you will get a 200Gbyte partition to mirror the 200Gbyte drive and an additional
partition (~500Gbyte) on the 750Gbyte drive.  Which in not what you want.

I think you will need to put both 750Gbyte drives in the DNS-323 to setup as RAID 1 and
copy the contents of the 200Gbyte drive to the DNS-323 via a USB connection or network.

This has the added advantage of transferring the data only once. 

Maybe you can use blbrown's BackupNetClone (http://backupnetclone.sourceforge.net/)
to help backup and restore the data?

Last edited by mig (2008-01-31 01:17:34)


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

 

#4 2008-01-31 01:29:40

fickle
Member
From: Melbourne, Australia
Registered: 2007-09-10
Posts: 249

Re: how long to sync 250gb HD

the issue i will have is that the contents of the old HD (to be replaced) have really LOOOOOOOONG file names and a HUMUNGUS folder structure at least 16 tiers down. this causes issues in respect to file copy as i get errors like .. . cannot copy file / folder

can someone advise a way around that long file name / folder issue?

Offline

 

#5 2008-01-31 01:40:10

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

Re: how long to sync 250gb HD

fickle wrote:

...this causes issues in respect to file copy as i get errors like .. . cannot copy file / folder

What method are you using to copy the files when you get these errors?


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

 

#6 2008-01-31 02:03:16

fickle
Member
From: Melbourne, Australia
Registered: 2007-09-10
Posts: 249

Re: how long to sync 250gb HD

standard windows copy

Offline

 

#7 2008-01-31 02:27:43

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

Re: how long to sync 250gb HD

Are you using this standard windows copy?? http://technet.microsoft.com/en-us/libr … 90886.aspx

EDIT: What indication did you get that makes you think it's a path length issue?

Last edited by mig (2008-01-31 02:55:40)


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

 

#8 2008-01-31 04:14:34

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

Re: how long to sync 250gb HD

fickle wrote:

the issue i will have is that the contents of the old HD (to be replaced) have really LOOOOOOOONG file names and a HUMUNGUS folder structure at least 16 tiers down. this causes issues in respect to file copy as i get errors like .. . cannot copy file / folder

can someone advise a way around that long file name / folder issue?

I've come across a related problem using Windows and the DNS-323 built-in samba.  When I tried deleting files (from Windows Explorer), it wouldn't delete anything with a pathname (complete directory names plus filename) longer than 256 characters.  I'm guessing this would be true for a copy also.

Your alternatives are to copy using telnet on the DNS-323, or you might get away with a Windows command-line tool like robocopy (http://en.wikipedia.org/wiki/Robocopy).  It might also occur (from googling quickly about it) if you haven't mapped a drive letter to the DNS-323 shared folder.  This is true in my case--I was just using the UNC path (\\192.168.1.200\Volume_1\...) in Windows Explorer when I came across the problem.

From quickly browsing Google I couldn't tell if this is a Samba problem, a Windows problem, or an Explorer problem.  In any case, telnetting into box allowed me to easily delete the affected files.

If you're really stuck and nothing above helps, and you're trying to copy from the DNS-323 to a Windows PC, you could use SCP (basically a secure version of FTP, but using SSH).  To do that, setup the SSH server (called dropbear) from fonz' fun_plug on the DNS-323.  Then download WinSCP for Windows to connect.  Just post if you need more help.

Last edited by blbrown (2008-01-31 04:17:35)

Offline

 

#9 2008-01-31 06:25:02

fickle
Member
From: Melbourne, Australia
Registered: 2007-09-10
Posts: 249

Re: how long to sync 250gb HD

i may have to do the robocopy thing via the wiki you posted.

i was also thinking of doing the ftp trasnfer from the 323 to an external HD attached to a windows PC but i think i will end up with the same issue of the long path / file name. some mentioned using backup software, but i think the same issue would still occur.

i will give robocopy a shot first & see how that goes. however, this wont happen for another week as my supplier is out of 500gb HD.

cheers

Offline

 

#10 2008-01-31 13:25:02

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: how long to sync 250gb HD

Use telnet and cp or mv commands. Mount your old disk via usb on the DNS-323 and it is as simple as doing:

cp -pr /mnt/USB/dir /mnt/HD_a1/dir

Offline

 

#11 2008-02-01 01:08:12

fickle
Member
From: Melbourne, Australia
Registered: 2007-09-10
Posts: 249

Re: how long to sync 250gb HD

oh sweet frodo.. cheers for that .. now to figure out how to do the USB thing.. ill give it a shot next week and post my challenges (as i normally do) here

Offline

 

#12 2008-02-01 01:10:43

fickle
Member
From: Melbourne, Australia
Registered: 2007-09-10
Posts: 249

Re: how long to sync 250gb HD

oh, btw, i was advised on the dlink forum site that an upgrade of HD's via the method i posted above will not provide full capacity of the additional space. that additional space will be created via JBOD, but id rather do RAID1.. so it seems copy first, then insert, format, copy back

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB