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 2011-01-31 19:17:55

tanstaafl1963
Member
Registered: 2009-08-22
Posts: 58

Adding 2TB to replace a single 1TB drive

I apologize in advance if my forum searching sucked and I couldn't piece together the info I need smile

I have a 1TB drive in a DNS-323 and want to install 2 2-TB drives.
DNS FW 1.07 version
I have an external SATA drive enclosure as well.

Goals:
- Keep data from 1TB
- Use one new drive as rsync backup of other drive
- keep existing configurations of transmission, ftp, uPnP, etc.

My thoughts (such as they are):
a) remove the 1TB drive
b) insert new drive 1 and format
c) insert new drive 2 and format
QUESTION 1: Will my users, groups, etc still be saved on the 323? i.e. where is that information stored?  On the hard drive?  Or on the 323 itself?
d) attach the SATA drive enclosure to either Windows 7 laptop or DNS-323
  QUESTION 2:  If I want to use the SATA Drive and attach it directly to the 323, I would need to install fun_plug and configure that first.  Any big performance benefit to going through that exercise?
e) copy data from 1TB to one of the new drives.
  QUESTION 3:  what is the best method to copy the data from the 1TB to one of the new drives and keep all the permissions, etc.

QUESTION 4: Is there any benefit to upgrading from the 1.07 FW to the 'latest (and maybe) greatest' ? smile
QUESTION 5: Any recommendations for formatting the drives? 

Finally, any general idea on the time needed for this?  Ballpark time for the formatting of the the drives? (6 hrs? 2 hrs?).



Thanks very much for any guidance.


DNS-323 FW 1.09
2 2-TB Drives
Automatic  0.7.0 |  Transmission 2.42

Offline

 

#2 2011-02-02 22:35:02

tanstaafl1963
Member
Registered: 2009-08-22
Posts: 58

Re: Adding 2TB to replace a single 1TB drive

Someone....

anyone... ?

... is this thing on?

smile


DNS-323 FW 1.09
2 2-TB Drives
Automatic  0.7.0 |  Transmission 2.42

Offline

 

#3 2011-02-03 01:23:08

alny
Member
Registered: 2009-08-05
Posts: 5

Re: Adding 2TB to replace a single 1TB drive

tanstaafl1963 wrote:

QUESTION 3:  what is the best method to copy the data from the 1TB to one of the new drives and keep all the permissions, etc..

The fastest way is using disk clone tools like Acronis True Image or Norton Ghost. Copy the disk and then resize the partion. Both tools could work with ext2/3 filesystems.
But the safest way is a simple "cp" off course smile.

Offline

 

#4 2011-02-04 04:54:07

ZBB
Member
Registered: 2011-01-11
Posts: 11

Re: Adding 2TB to replace a single 1TB drive

I just upgraded the 1TB drives in my DNS-323 to 2TB about a month ago.

My config was that I have them set as 2 separate volumes -- Volume 1 was the drive used for storing media and other various backups.  A rsync job runs every night to have a backup on Volume 2.

When I got the 2TB drives, I pulled the 1TB drives and formatted both 2TBs in the DNS using the stock web gui.  I then put the "old" Volume 1 back in, leaving one of the 2TBs in the left drive bay.  Since the old drive already had FFP on it, I could SSH into the DNS, so I then did a cp to copy Volume 1 to Volume 2 -- took ~8-10 hours to move over just under 1TB of data.

I then just swapped the 2TB to the right side, and put the other (formatted but otherwise blank) 2TB drive on the left and rebooted the DNS.  The 1TB drives are now offsite.

I could have stopped there, and my old rsync script would have kept working just fine, creating a new backup set on the other 2TB drive.  But I decided to spend some time updating the script to incorporate some of the newer suggestions in the rsync thread (http://dns323.kood.org/forum/viewtopic.php?id=1150) -- my script hadn't been touched in ~2.5 years.  I also decided to use the cp command to create the initial backup set (since cp is 3-4 times faster than rsync for an initial backup set).

Its been running great since I finished around new years...

Edit:  I didn't have to edit the user groups using that method...  Formatting the drives doesn't take that long -- minutes (10?).  Copying the data over takes time -- but doing it within the DNS is relatively fast (ie ~10 hours for 1TB).  But to do that, you do have to FFP.

I've never mounted a USB drive on my DNS, so can't really comment on using that method -- although it really shouldn't be any different than I mentioned above, although probably slower.

One of your questions was on the copy command -- the rsync thread includes the syntax to use to keep all the permissions, etc intact when you copy (look for the cp command -- its in the "restore" section)...

Last edited by ZBB (2011-02-04 05:02:42)

Offline

 

#5 2011-02-04 17:14:19

tanstaafl1963
Member
Registered: 2009-08-22
Posts: 58

Re: Adding 2TB to replace a single 1TB drive

ZBB,
Perfect!  This is the info I was hoping to get.  Now I can plan some down time for this.

Thank you

Last edited by tanstaafl1963 (2011-02-04 20:29:04)


DNS-323 FW 1.09
2 2-TB Drives
Automatic  0.7.0 |  Transmission 2.42

Offline

 

#6 2011-02-06 20:53:18

tanstaafl1963
Member
Registered: 2009-08-22
Posts: 58

Re: Adding 2TB to replace a single 1TB drive

I got everything up and running (Thanks for all the help...)

One final question (for today anyway...)

with the new volumes, I have a mnt/HD_a2 & mnt/HD_b2.

my mnt/HD_a2 looks like this

Code:

/mnt/HD_a2 # ls -al
drwxrwxrwx    7 root     root         4096 Feb  6 10:02 .
drwxr-xr-x    7 root     root         1024 Feb  6 09:44 ..
drwx------    2 root     root         4096 Feb  6 08:34 .systemfile
drwxr-xr-x    2 root     root         4096 Feb  5 16:39 .transmission-daemon
drwxrwxrwx   29 root     root         4096 Feb  5 10:14 HD_b2
drwxr-xr-x   11 root     root         4096 May 22  2008 ffp
-rw-r--r--    1 root     root        50249 Feb  6 09:45 ffp.log
-rwxrwxrwx    1 foley    Parents      1778 Feb  5 09:54 fun_plug
drwxr-xr-x    3 root     root         4096 Feb  5 10:41 working_ffp

with the HD_b2 being the file structure I copied from my older 1TB drive.

In some ways,  I feel like I can start over with my directory structure.

Does anyone have some organizations tips/tricks for storing
1.  fun_plug files (those that I 'wget' to install?)
2.  a directory where I extract those files?

Thanks,

Joe


DNS-323 FW 1.09
2 2-TB Drives
Automatic  0.7.0 |  Transmission 2.42

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB