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-08-28 19:01:55

TexanAviator
Member
Registered: 2008-07-24
Posts: 17

Upgrading to larger drives?

I was wondering if anyone here has tried upgrading to larger drives using only the DNS-323 1.05

I am running Raid1 and was thinking about doing the following:

1. Take both old drives out, install/format new drives
2. Put one old drive back in, run a map of both drives and simply copy over all the data to the second drive
3. Once data is on new larger drive, slip in the other larger drive so the two new ones are in, and run a Raid1 mirror to copy the data over.

Is this at all possible?

Thank you in advance for the help. Great forum here.

edit- what is the largest drive I can go with?

Last edited by TexanAviator (2008-08-28 19:02:19)

Offline

 

#2 2008-08-28 19:49:45

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Upgrading to larger drives?

Largest drive - I am using 2x1tb drives in a raid1, many people are using 1tb drives, look at the sticky post on drive compatability to see what people are using.  I did what you are suggesting 250gb -> 1tb by:
pulling drives (both) from the dns323, installing new ones (format & setup raid1)
installing ffp and running unfsd on new setup
installing and mounting one of the old drives on a linux machine
mounting the dns323 with new drives (in raid1 config) via nfs
cp'ing everything from old drive to dns over the network, performance was ok, and I only have a 100mb network.
lu

Offline

 

#3 2008-08-28 21:42:20

TexanAviator
Member
Registered: 2008-07-24
Posts: 17

Re: Upgrading to larger drives?

Thanks for getting back to me with that information. I was afraid I might have to use another box to mount one of the drives to. I have a desktop but it is running winxp... Ill try and find if there is a way to mount it up to copy over.

Offline

 

#4 2008-08-28 21:55:21

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Upgrading to larger drives?

Offline

 

#5 2008-08-28 22:55:27

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Upgrading to larger drives?

If you have a SATA to USB, you can plug the old drive into the back of the DNS and copy the info over to your new larger RAID.  If you want to do it natively on the DNS, but do not have a USB enclosure, it can be done in a more round about way if you set up your system as individual drive.  This would be the process:
1) Remove the left original drive and boot up the unit (with ffp already installed)
2) Insert a new drive into the left bay (with power on) and partition and format the drive (NOT FROM THE WEB INTERFACE)
2) Mount the new drive and copy the data over
3) Set-up the RAID1 on the left (new) drive with only 1 drive
4) Shutdown and remove the right (original) drive
5) Boot up the unit with only the left drive installed
6) Insert the new drive in the right bay, partition and format
7) Setup configuration files
8) Add the new drive to the array.
9) Wait for sync to finish
10) Reboot

This is only a list of steps, NOT instructions.  I have automated most of this with scripts.  Anyway, I just wanted to shoot out some options.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#6 2008-08-29 01:07:47

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Upgrading to larger drives?

TexanAviator wrote:

Thanks for getting back to me with that information. I was afraid I might have to use another box to mount one of the drives to. I have a desktop but it is running winxp... Ill try and find if there is a way to mount it up to copy over.

You could burn an ubuntu live cd - (available from their website) which will let you boot ubuntu linux off the cd.  I couldn't get copying to work this way, maybe because /tmp was in ram - with the live cd the whole OS is loaded in ram - so it won't make any changes to your winxp system.  A much easier solution for copying your data has already been suggested - the installable fs driver for windows - I have used it - it works great.
lu

Offline

 

#7 2008-08-29 02:01:34

TexanAviator
Member
Registered: 2008-07-24
Posts: 17

Re: Upgrading to larger drives?

bq041 wrote:

If you have a SATA to USB, you can plug the old drive into the back of the DNS and copy the info over to your new larger RAID.  If you want to do it natively on the DNS, but do not have a USB enclosure, it can be done in a more round about way if you set up your system as individual drive.  This would be the process:
1) Remove the left original drive and boot up the unit (with ffp already installed)
2) Insert a new drive into the left bay (with power on) and partition and format the drive (NOT FROM THE WEB INTERFACE)
2) Mount the new drive and copy the data over
3) Set-up the RAID1 on the left (new) drive with only 1 drive
4) Shutdown and remove the right (original) drive
5) Boot up the unit with only the left drive installed
6) Insert the new drive in the right bay, partition and format
7) Setup configuration files
8) Add the new drive to the array.
9) Wait for sync to finish
10) Reboot

This is only a list of steps, NOT instructions.  I have automated most of this with scripts.  Anyway, I just wanted to shoot out some options.

Wow that seems really easy... So basically I could borrow or buy a cheap external HD enclosure, plug it in the back and have at it?

So basically I would take the two old drives out. Put one in the enclosure. Stick the new ones in and then transfer over? Will the DNS software prompt me to move the information over and automatically mirror it if formatted to RAID1?

Thanks!

Offline

 

#8 2008-08-29 06:39:05

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Upgrading to larger drives?

No, you will have to do it manually from the shell prompt.  The dns does not support USB drives without fun_plug.

To do it that method, you will take out you 2 old drives and put 1 in the usb case.  Safguard the other one for now.  Insert your 2 new drives and set them up.  This is the step that may cause you heartache.  The DNS is hit or miss on setting up raid1 using the web interface.  I usually do it manually.  Anyway, let's assume the web interface gets it all set-up no problem.  The first thing after that is to install ffp.  I use 0.5 (see the wiki).  You will also need to copy the attached usb-storage.ko module to the root of the drive (the same place as the fun_plug).  After reboot, you will have telnet access (putty is a good telnet client, google it).  Establish telnet access to the DNS and do the following:

Code:

/ # insmod /mnt/HD_a2/usb-storage.ko

This will allow the USB hard drive to work with the dns.  Now, plug in the USB enclosure with your old drive in it.  Wait about 15 seconds.  Now you will need to mount it so you can have access to it.  Do this:

Code:

/ # mkdir /mnt/USB
/ # mount /dev/sdc2 /mnt/USB

This should have just mounted your USB drive on /mnt/USB.  You can CD into it if you want and your data should all be there.  To copy your data, run:

Code:

 cp -dprf /mnt/USB/* /mnt/HD_a2

This can take several hours to copy.  Do not interupt the process or use the DNS during this time.  If you have a UPS, you may want to put the DNS on it before you start, just in case of the unforseen power outage.  On the other hand, you still have that second copy of your data on the other old drive.

Once the copying is done (you will get the prompt back), do the following to make sure all copy jobs are closed and unmount your USB:

Code:

/ # sync
/ # umount /mnt/USB

You can the use the exit command to exit the telnet session.

This may sound kind of complecated, but it is actually very easy and fast.  Here is the log of me doing it on my computer.  There is only feedback if there are errors.  If there are, stop where you are, copy them and post them here.  This is exactly what my telnet session looks like with everything going perfect:

Code:

/ # insmod /mnt/HD_a2/usb-storage.ko
/ # mkdir /mnt/USB
/ # mount /dev/sdc2 /mnt/USB
/ # cp -dprf /mnt/USB/* /mnt/HD_a2
/ # sync
/ # umount /mnt/USB
/ # exit

Attachments:
Attachment Icon usb-storage.ko, Size: 44,215 bytes, Downloads: 256

DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#9 2008-08-29 07:37:26

TexanAviator
Member
Registered: 2008-07-24
Posts: 17

Re: Upgrading to larger drives?

wow thanks alot!! Too bad it is not sort of a plug and play sort of thing. Oh well. Do you think that method would be the easiest way? Or would you mount it in a desktop and transfer that way if you had that option?

Also, how does this drive look to you x2

http://www.newegg.com/Product/Product.a … 6822136284

Offline

 

#10 2008-08-29 15:41:20

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Upgrading to larger drives?

The problem with copying from a windows machine is that windows will reset all of your file permissions when you copy.  By doing it natively, you can preserve these things.  It really becomes important if you ever decide to run extra software off the DNS.  It is your choice.  I have never gotten the software that mounts ext2 partitions in Windows to work, but I think it has to do with Vista.  There are a ton of people who have gotten it to work on XP here on the forum.  The other thing with doing it over the network is that it is slower and prone to more errors, as you have now introduced another machine, and all the network hardware in between the drives.  It is your choice, but I personally prefer to do things with as little in the middle. 

In my opinion, I do think copying it natively is the easiest, because it only involves copying 3 files, rebooting, and typing a few commands, where as using a desktop involves a little more work of installing and configuring.  I don't have a problem using a command prompt, though.  You could think of it as an opportunity to start learning how Linux works, and the DNS can become a very powerful little device, if you so choose.


The drive looks fine.  I like WD drives.  I am running 2 of the WD Green 1TB drives in mine.  I would recommend them for this device, as you will see no performance increase by using the higher end drives you listed.  The Green drives are usually less expensive.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#11 2009-03-31 06:17:34

TexanAviator
Member
Registered: 2008-07-24
Posts: 17

Re: Upgrading to larger drives?

Old bump, I know. Finally filled up my old drives so I am needing to do this.

Any "updated" or easier ways to do this that have surfaced over the past few months?

Offline

 

#12 2009-03-31 16:53:49

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Upgrading to larger drives?

If you have access to an imaging software such as symantec ghost...


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#13 2009-04-01 01:27:49

TexanAviator
Member
Registered: 2008-07-24
Posts: 17

Re: Upgrading to larger drives?

bq041 wrote:

If you have access to an imaging software such as symantec ghost...

I do, how would this process work?

Thanks for your help.

Offline

 

#14 2009-04-02 19:16:42

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Upgrading to larger drives?

Power down the unit and take out the drive.  Connect the old drive and the new drive to another computer you have that has the imaging software on it.  Do a local disk to disk image transfer from the old disk to the new disk.  With ghost, for example, I would use ghost32.exe run on my Vista machine with the drives hooked up via USB, but they can be connected via SATA, ESATA, USB, Firewire, etc.

Your imaging software should have instructions on how to use it.  Also, do not confuse norton ghost with symantec ghost.  Norton ghost is a consumer version of symantec ghost that does not contain all the features.

You may get an error saying that the new drive is a different size than the new one.  That is no problem, it will copy the partitions as is.  You may want to check with a partiton software to verify the sizes.  The other option is to create the new partition structure on your new disk and then do partition to partition image transfers which will keep the the same.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#15 2009-09-25 04:28:56

TexanAviator
Member
Registered: 2008-07-24
Posts: 17

Re: Upgrading to larger drives?

BUMP...

I have two WD 2TB Green drives coming in. Has any easier way to transfer these drives developed  yet? I saw some sort of option in the 323 settings to backup files to another drive but not sure if that would work.

Anyhow, any help appreciated. I'd like to keep this as simple as possible.

Thanks all,

Texan

Offline

 

#16 2009-09-28 06:20:48

tharsis
New member
Registered: 2009-02-21
Posts: 4

Re: Upgrading to larger drives?

TexanAviator wrote:

I have two WD 2TB Green drives coming in. Has any easier way to transfer these drives developed  yet?
Texan

Care to share your experiences on whether the 2tb disks work okay, once they arrive?
I've yet to find any indications of how well the 2tb WDs work in a dns-323 anywhere.

Offline

 

#17 2009-09-28 06:22:25

TexanAviator
Member
Registered: 2008-07-24
Posts: 17

Re: Upgrading to larger drives?

tharsis wrote:

TexanAviator wrote:

I have two WD 2TB Green drives coming in. Has any easier way to transfer these drives developed  yet?
Texan

Care to share your experiences on whether the 2tb disks work okay, once they arrive?
I've yet to find any indications of how well the 2tb WDs work in a dns-323 anywhere.

Will do once I get them installed. I don't see why they would be an issue. Just wishing Dlink had an easier way to upgrade drives. Should have the option to copy from one to another nativley.

Offline

 

#18 2009-09-29 07:11:28

kennethxu
Member
Registered: 2009-09-18
Posts: 12

Re: Upgrading to larger drives?

To my experience. USB mount to DNS-323 is the best option.
1. I had bad experience with ghost to a different size partition. If you use same size, then you'll need to enlarge the partition use some other software.
2. Copy from windows was my worst experience. Ext2 file system driver from fs-driver.org won't support size 256 inode so it cannot mount my 200GB old drive. I used one from http://sourceforge.net/projects/ext2fsd/ and it worked. Then Windows XP copy failed with the infamous path file name too long error! Yes and I have tried TeraCopy, it hanged in the middle of the copy and it doesn't handle international characters in file name.

Enough said. The direct USB mount to DNS-323 sounds complicated. But it worked and it was not that difficult.

Enjoy you new 2TB drives!

Offline

 

#19 2009-09-29 16:56:28

dmulligan2
New member
Registered: 2009-09-29
Posts: 1

Re: Upgrading to larger drives?

Am I missing something? I'm not using RAID 1, so I just...

- removed one of my old 750GB drives (in my case the first drive, Volume1)
- installed a new 1.5TB drive and format using the web interface,
- setup telnet
- telnet in and type the following command to copy everything from the smaller drive to the newer bigger drive
    cp -Rp /mnt/HD_b2/* /mnt/HD_a2/

I wanted to copy everything from both of my 750GB drives onto one of my new 1.5TB drives, so I also removed the second old 750GB drive (Volume2) and replace it with the ealier removed 750GB drive and repeated the command
    cp -Rp /mnt/HD_b2/* /mnt/HD_a2/

Now, everything from my smaller two 750GB drives is on my new 1.5TB drive. I can now put in my second 1.5TB drive. All done!

It took a while, but I guess it was quicker than doing everything over the network.

Last edited by dmulligan2 (2009-09-29 16:57:01)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB