Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Howdy all,
I currently have 2x500GB drives in a mirrored config in my DNS-323, but at some stage in the next few months I am looking to replace them with a 2x1TB mirrored config.
Searching through the forums, the general consensus seems to be that I have to make an external copy of my current 500GB onto a 500GB external USB drive, setup the 1TB array and then copy it back. Is that right? Do I really have to go an buy another 500GB drive just to temporarily hold the data?!? This means that when I finished I will have three 500GB spare drives just sitting around...
What if I removed the 2nd 500GB drive, formatted it, put it into a USB enclosure and then copied the data from the 500GB drive that is remaining in the DNS-323? Will that work?
Just out of curiosity, what would happen if I removed the 2nd 500GB from the DNS-323 and put the 1TB guy in? Does the DNS-323 handle that scenario?
Sorry to dump a bunch of questions out of the blue... it just seems crazy that I have to go and buy a 500GB drive that will be only used to hold the data temporarily. Any thoughts or advice would be much appreciated...
Cheers,
Edwardaux
Offline
Do not attemp to start an array with 1 500GB and 1 1TB drive. A few things can / will happen. First, the DNS occasionally will format the incorrect drive (the reason I do all my partitioning and formatting manually). Assuming this works, the maximum array that can be set-up is 500 GB because it is the smallest drive. When you try to put in the second 1 TB drive, you risk the incorrect format again, and you will still only have a 500 GB array (since that is what was set-up already).
Here is your easiest solution. Remove both 500 GB drive from your unit. Put 1 of them in a USB enclosure. Put both 1 TB drives in the unit and set up the RAID 1. Plug your USB enclosure into the USB port on the DNS and copy the data onto Volume 1. This, of course assumes you know a little bit about linux (or want to learn) and you setup fun_plug to (probably ffp) for USB disk access. All the info you need is on the wiki.
A slightly more complecated, but more fun (and in my opinion safer if you know what you are doing) is to set them up manually. This would involve setting up the 1TB drive individually, taking 1 out and replacing it with 1 of the 500 GB drives, copying the data, putting back in the 1TB drive, then manually building the RAID 1 array. You can learn a ton doing it this way. I have also written some scripts to make this go very easily and semi-automatically. They were not written specifically for upgrading to larger drives, but could easily be modified for that purpose. They actually were written to upgrade the arrays built under F/W 1.03 to the standard for 1.04 and 1.05. I made them modular so I can move things around easily. Let me know if you are interested.
Offline
> Do not attemp to start an array with 1 500GB and 1 1TB drive <snip>
Thanks, that's good feedback.
> Remove both 500 GB drive from your unit. Put 1 of them in a USB enclosure.
> Put both 1 TB drives in the unit and set up the RAID 1. Plug your USB
> enclosure into the USB port on the DNS and copy the data onto Volume 1.
> This, of course assumes you know a little bit about linux (or want to learn) and
> you setup fun_plug to (probably ffp) for USB disk access.
This sounds like a good option. I already have fun_plug installed (although I can't remember the last time I used it). The absolute worst case scenario here is that I guess I can always plug the USB enclosure into my PC and copy the data across the network. Slow, but it is only a one-off exercise...
> A slightly more complecated, but more fun (and in my opinion safer if you know
> what you are doing) is to set them up manually. <snip>
While I actually love the idea of doing this, my wife probably won't thank me if I lock myself in the study for a few days when I can get the job done based on the simple technique you mentioned above :-)
Thanks for the feedback... I wasn't 100% sure whether the disks in a RAID1 array were able to be used individually (ie. in a USB enclosure), but from what you suggest above, this would appear to be the case. Thanks.
--
Edwardaux
Offline
Yes they can. The issue you will have with plugging the drive into your PC via USB is that it is EXT2 format and you will need yo run another software to get it to work. I have played with it a bit, but have not gotten it to work on my Vista machine. I would do it natively on the DNS.
Here are the crash course instructions:
1) shutdown and remove your drives
2) insert the new drives
3) boot up and get the new raid 1 running
4) install ffp
5) copy the usb-storage.ko file to the DNS Volume_1 (file attached)
6) telnet in and run
insmod /mnt/HD_a2/usb-storage.ko
7) plug in the USB drive (with one of your 500 GB drives in it) and wait 30 seconds
8)run
mkdir /mnt/USB mount /dev/sdc2 /mnt/USB cp -dprf /mnt/USB/* /mnt/HD_a2/
9) wait for the copy to finish. It will probably take several hours. Run
sync
10) unmount the USB drive, then you can unplug it.
Offline
bq041 wrote:
Yes they can. The issue you will have with plugging the drive into your PC via USB is that it is EXT2 format and you will need yo run another software to get it to work. I have played with it a bit, but have not gotten it to work on my Vista machine.
True, but what I neglected to mention is that, while my PC runs XP, my Thinkpad is running Ubuntu :-) While I haven't tried it yet, lsmod reports that the usbcore module is installed (I'm running the 2.6.24-19 kernel), so hopefully I should just be able to mount the USB enclosure and away we go.
BTW, I do appreciate your detailed instructions for doing it on the DNS323 though. I don't really know why, but I am normally fairly conservative when it comes to modifying "devices" (even though both my wireless routers and my DNS323 are running custom firmware! Go figure!). Anyway, if I am unable to easily mount the USB disk on Ubuntu, then you have given me a excellent fallback plan. Thanks a lot.
--
Edwardaux
Offline