• April 25, 2024, 01:11:09 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Rebuilding a Raid-1 Mirror  (Read 2698 times)

Warchild

  • Level 1 Member
  • *
  • Posts: 8
Rebuilding a Raid-1 Mirror
« on: November 29, 2010, 11:41:40 AM »

Just a quick question...


When replacing a drive under Raid-1, how do I manually tell it to rebuild the mirror? (Note: Replacement drive is the same size as the one being pulled, I'm not trying to increase or mismatch anything.)

Out of habit, when I first set things up, I disabled the auto-rebuild function. I typically prefer not to have anything set to do something automatically (that usually causes more problems than the convenience merits), but in this instance it probably would have been wiser to leave it on.

Thanks. :)

Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: Rebuilding a Raid-1 Mirror
« Reply #1 on: November 29, 2010, 02:23:04 PM »

On or off it actually makes no difference in the replacement of a failed drive, and there is no way to manually tell the system to rebuild the mirror when replacing a drive.

The steps are ...

1 - power the system off
2 - remove & replace the failed drive
3 - power the system on and log into the web admin page
4 - accept the prompt to format the new drive

when the unit completes the format it will prompt for a reboot and will sync the drives after the reboot.

One last thing - it's a good idea to have a backup before you start this process.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

garyhgaryh

  • Level 3 Member
  • ***
  • Posts: 133
Re: Rebuilding a Raid-1 Mirror
« Reply #2 on: December 05, 2010, 10:19:48 PM »

It's funny, I asked this question about 1.5 years ago on this forum, but if one of my raid 1 drive fails right now, I wouldn't know what to do.

First of all, how do I know which drive will fail? I guess if it fails, I better back it up first then try to resync.

So my general idea of how to do this is as follows.

1. I somehow have to figure out which drive has failed (right or left side)
2. back up the data
3. power off (is this necessary?)
4. remove the failed drive
5. replace with a formatted new drive (does it have to be the same model or make or equal size? Can it just be a bigger HD?
6. boot up.

Now I don't know what happens here.  You mention it will ask me to format it? you mean when I log into the UI? I thought you just go in and manual rebuild it by hitting the [manual rebuild] button.

Gary
Logged

Wiggs

  • Level 3 Member
  • ***
  • Posts: 137
    • dwithers.com
Re: Rebuilding a Raid-1 Mirror
« Reply #3 on: December 08, 2010, 07:10:18 AM »

It has to format the drive with linux filesystems.  I don't think it will accept an already formatted drive - but I am unsure as I have not tried it.


Regards,

Wiggs

Logged
Wiggs,

DNS-323, 2-500GB Seagate Drives, FW 1.08
D-Link DGS-1005G Gigabit Switch
Asus O!Play Air Media Player
WinXP PC
OpenSuse 11.2 PC
Macbook 5,2 - Snow Leopard