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 2009-03-27 10:30:25

frogstomp
Member
Registered: 2009-03-27
Posts: 11

RAID1 shows spare drive

I recently bought a 323 which I have set up with 2x1TB drives in a RAID1 configuration which seemed to work ok.

After a power issue yesterday I turned it back on and it flagged up that a new disk had been inserted. I can still see all my files on the share but whenever I fire up the web configuration interface it prompts me to select the RAID configuration (shows Standard selected) and then insists it is going to reformat the drives (which I cancel). If I then go into the Status page it lists both drives

When I telnet into the box and use mdadm it shows 2 devices, 1 active (RAID1) and 1 spare..

Is there any way (msadm --assemble?) that I can rebuild the array to include both drives without having to reformat the working drive and having to re-copy all my data across?

Offline

 

#2 2009-03-28 17:54:37

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

Re: RAID1 shows spare drive

Sort of; you can always do array work.  You cannot want to use assemble, because you already have a started array.  First, you need to remove the spare drive from being a spare and add it back.  The /dev/sd(x)2 refers to the drive that is the spare.  Replace the (x) with the appropriate letter (i.e. - /dev/sda2)

Code:

mdadm /dev/md0 -r /dev/sd(x)2
mdadm /dev/md0 -a /dev/sd(x)2 &

Yes, there is supposed to be an "&" on the second line.  This will runn the second command in the background so you will not lock up your telnet session for the duration of the sync.

Once the drive is added back in, the sync will begin.  Expect it to take an hour or more for sync.

If you still get the format page in the web GUI after this, then you also have a configuration file problem, and we can address that then.

Last edited by bq041 (2009-03-28 17:56:15)


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

 

#3 2009-03-31 17:36:47

frogstomp
Member
Registered: 2009-03-27
Posts: 11

Re: RAID1 shows spare drive

Thanks for the response.. I actually managed to fix it by selecting the 'reset to factory' option on the web-gui.. will file the info for future reference though.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB