Clearing the 'Dead Disk' error

This forum will be deprecated soon. Please post issues pertaining to boot, installation, upgrade, and expansion in the appropriate forums above.

Moderators: chirpa, c3po

Similar topics


Clearing the 'Dead Disk' error

Postby Sheaf » Mon Feb 01, 2010 3:31 pm

I have a readyNAS duo, it came driveless and I borrowed a 500GB drive to get it going (in bay 1). It's been working fine for a few weeks.

Today the free 500GB Seagate drive arrived from Netgear. I popped it in (bay 2), it syn'd with the drive in there and was working fine. Great.

So, I removed the original drive I borrowed in order to return it.

Ah.

It now comes up saying drive 1 is dead.

How do I remove this error warning and stop the NAS trying to find drive 1 (the green light for drive 1 is constantly flashing)?
I only want to run on one drive for now, the one I got free.

I tried running it in bay 1, however it comes up saying 'corrupt root' as apparently you cant swap bays.

I'm guessing there's a way to clear the error somehow, I just cant see it on frontview.

The NAS is working fine on one drive incidentally, the files are all there etc, it's just saying drive 1 is there and is dead, when it's not there and wont be again.

Cheers.
Sheaf
ReadyNAS Newbie
 
Posts: 7
Joined: Mon Feb 01, 2010 3:20 pm
ReadyNAS: Duo

Re: Clearing the 'Dead Disk' error

Postby mdgm » Tue Feb 02, 2010 12:43 am

I recommend getting another 500GB drive (or greater capacity drive). Your options are to do that, put up with disk 1 showing up as dead, or backup all your data, factory default and then copy data back.

You can't clear this 'error' without doing a factory default. The ReadyNas expects you to replace disks that fail (or are removed).
ReadyNas User.
ReadyNas - 2x RND4000 - ReadyNas NV+ Hard Drives: 4x ST31500341AS RAM: 256MB - 1x RNDU6000 - Ultra 6 Hard Drives: 6x ST31500341AS RAM: 1GB.
Useful links: FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
Please look at useful links and search for other posts. If you have a question chances are someone else has posted on it previously. You know the saying: "Two great minds think alike"
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Toggle ReadyNAS Remote Firewall Unofficial Guide for moving from Sparc ReadyNAS to x86 ReadyNAS
If you like my add-ons or guides, please donate:
Image
User avatar
mdgm
ReadyNAS Groupie
 
Posts: 10838
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: Ultra

Re: Clearing the 'Dead Disk' error

Postby phiral » Fri Apr 02, 2010 3:52 am

I went trough the same problem and managed to work around it:

When you add a second disk to a Flex/RAID0 setup the root partition and the swap partition will be mirrored
to the second disk.

The knowledge of the missing disk is stored in 3 places (that i could find), in /etc/frontview/raid.conf the raid config, and
/etc/frontview/volume/hd/hde (in my case) and /etc/frontview/volume/hd/.hdsize the disk details.

raid.conf:
Code: Select all
/dev/md0,root!!number=0,chan=1,dev=/dev/hdc1,model=Seagate ST31000520AS,sectors=1953508784!!number=1,chan=2,dev=/dev/hde1,model=WDC WD15EADS-00P8B0,sectors=2930260784
/dev/md1,swap!!number=0,chan=1,dev=/dev/hdc2,model=Seagate ST31000520AS,sectors=1953508784!!number=1,chan=2,dev=/dev/hde2,model=WDC WD15EADS-00P8B0,sectors=2930260784
/dev/md2,C!!number=0,chan=1,dev=/dev/hdc3,model=Seagate ST31000520AS,sectors=1953508784


You will need to have root ssh enabled on readynas.

So basically remove the second disk from the raid configuration of md0 and md1:

vi /etc/frontview/raid.conf
Code: Select all
/dev/md0,root!!number=0,chan=1,dev=/dev/hdc1,model=Seagate ST31000520AS,sectors=1953508784
/dev/md1,swap!!number=0,chan=1,dev=/dev/hdc2,model=Seagate ST31000520AS,sectors=1953508784
/dev/md2,C!!number=0,chan=1,dev=/dev/hdc3,model=Seagate ST31000520AS,sectors=1953508784


Also remove the line corresponding to the old disk from /etc/frontview/volume/hd/.hdsize and delete the
file /etc/frontview/volume/hd/hde (in my case).

The faulty state will stop immediately in frontview, as well the Failing rq 90167bb8 on hde errors in syslog.

I guess it is unnecessary to emphasize how unsupported this is, and its your own responsibility if you loose your data or
your house explodes while doing this
phiral
ReadyNAS Newbie
 
Posts: 1
Joined: Fri Apr 02, 2010 3:20 am
ReadyNAS: Duo


Return to General Issues with Boot, Installation, Upgrade, and Expansion

Similar topics


Who is online

Users browsing this forum: nstiglitz, SANhacker and 2 guests