Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
My setup is in RAID1 (firmware 1.04) and recently one of my disks died and needed replacing.
Do I need to reformat both drives to have the RAID1 setup or can I plug in the replacement and it should take care of the rest mirroring from the data to the empty drive?
Cheers,
Ernest
Last edited by semerda (2008-08-25 11:41:32)
Offline
Neither - it's not an entirely manual process, nor is it fully automated - please be certain you have a recent backup if you are not using a NEW drive as the replacement, as a matter of fact, please backup before you start - out of an abundance of caution - glitches have been known to happen.
From D-Link's support website
Offline
fordem wrote:
Neither - it's not an entirely manual process, nor is it fully automated - please be certain you have a recent backup if you are not using a NEW drive as the replacement, as a matter of fact, please backup before you start - out of an abundance of caution - glitches have been known to happen.
From D-Link's support website
I'm getting this error from the link you provided:
Provider error '80004005'
Unspecified error
/faq/view.asp, line 13
Do you know what it said to do?
I called D-Link support and they told me I needed to reformat both drives
Offline
How good are your Linux skills? If you can telnet into the system and run a few relatively simple commands, you can manully add in the second drive. The instructions are not to difficult, but may be confusing.
Offline
bq041 wrote:
How good are your Linux skills? If you can telnet into the system and run a few relatively simple commands, you can manully add in the second drive. The instructions are not to difficult, but may be confusing.
Yeah I'm ok using Putty Please tell me what to do.
Cheers,
Ernest
Offline
First thing's are first. Was your original setup from F/W 1.04, or did you setup with a previous version and then upgrade the firmware. This is important as the configurations are different.
Next, which drive failed, the left or the right?
Actually it doesn't matter right now, are both drives still in the unit, or is one removed?
Is the replacement drive the exact same as the original drive? Is the RAID1 setup for the entire drive space or is there a JBOD at the end?
Offline
bq041 wrote:
First thing's are first. Was your original setup from F/W 1.04, or did you setup with a previous version and then upgrade the firmware. This is important as the configurations are different.
Next, which drive failed, the left or the right?
Actually it doesn't matter right now, are both drives still in the unit, or is one removed?
Is the replacement drive the exact same as the original drive? Is the RAID1 setup for the entire drive space or is there a JBOD at the end?
a. I upgraded to F/W 1.04 from 1.03.
b. Left drive.
c. The whole unit has been shut down with the new drive just sitting there (not plugged in).
d. Replacement drive is exactly the same as the other one.
e. RAID1 was setup for the whole lot.
Offline
Okay, this is going to be a little more complecated. F/W 1.04 requires slightly different setup than what you already have. I think the best thing to do is recreate the raid with what you currently have, then you can run my upgrade script if you want to setup to the new configurations.
First, lets just run a check. Boot up the unit with only the original drive in the unit (right bay). What is the result of these two things?
/ # ls -l /mnt / # fdisk -l /dev/sda
Make sure to right down the results.
This will determine if you are still in the 1.03 format or the 1.04 format.
you will then do the following:
1) Insert the new disk into the left bay with the power on.
2) Run
fdisk /dev/sdb
3) Now, set-up the partitions to match the old drive's exactly. This will start out by making sure the new drive has none by hitting d for delete. Next, you will create the new partitions by hitting c and setting the blocks the same as the other drive. Typical withh be partition 1 primary 1-66 blocks, partition 4 primary 67-130 blocks (if used and is under F/W 1.04 or 1.05), and partition 2 primary all remaining blocks.
4) Now, you will need to set the partition 1 to swap, so hit t, 1 for partition 1, and 82 for swap. Now hit p to list the setup. Make sure it is setup exactly as the old drive. When you are sure it is, hit w to write it.
5) Set-up the swap space:
/ # mkswap /dev/sdb1
6) Format the 4th partition (if used)
/ # mke2fs -m 0 /dev/sdb4
7) Format the main partition:
/ # mke2fs -m 0 /dev/sdb2
8) Insert the new drive into the RAID array:
/ # mdadm /dev/md0 -a /dev/sdb2
9) Wait for sync to complete and then run:
/ # do_reboot
10) If you used partitons 4, there is more setup to be done, or the web interface will continue to ask for a format. Even if you did not use partition 4, the web interface may still want you to format. Just ignore this for now, and consider running my upgrade script from the forum: http://dns323.kood.org/forum/t2444-Wiza … -1.05.html
If you do this, make sure you read and fully understand all the instructions first. It takes several hours to complete.
As always, I recommend having a back-up of your data just in case.
Last edited by bq041 (2008-09-01 17:21:22)
Offline