Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 11:42:21 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Marcelo Gondim <gondim@bsdinfo.com.br>
Cc:        stable@freebsd.org
Subject:   Re: geom_stripe and panic after 16 days (9-stable)
Message-ID:  <20140108194221.GH99167@funkthat.com>
In-Reply-To: <52CD2960.7030805@bsdinfo.com.br>
References:  <52CD2960.7030805@bsdinfo.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcelo Gondim wrote this message on Wed, Jan 08, 2014 at 08:33 -0200:
> I have a mail server with 4 disks. 1 disc with the operating system and 
> 3 disks in raid 0 which is mounted my /var. After 16 or 19 days, I get a 
> kernel panic. Have swapped memories and even then after some time the 
> kernel panic happens. Looking dump below I could be sure that the 
> /dev/ada1is in trouble?
> I've done the fsck -yin single mode several times and did not solve the 
> problem.

This is simply a problem of one of your hd's detaching:
> ada1: <WDC WD10EZEX-00RKKA0 80.00A80> s/n WD-WCC1S2515766 detached
> g_vfs_done():stripe/var[WRITE(offset=426073161728, length=32768)]error = 6
> /dev: got error 6 while accessing filesystem
> panic: softdep_deallocate_dependencies: unrecovered I/O error

And so g_stripe passes the error to ffs and ffs panics because it
can't handle the write error...  I'm not sure if there is work to
make FFS handle disk departers sanely or not...

I've heard that some cables can be bad, if it's the same drive that
keeps detaching, try replacing that cable...

It could also be a bad drive,  I have a pair of drives w/ the same
firmware, and one would like to detach itself every month or so, but
the other drive runs fine...  I know it's the drive since I hotswap
them, and they both have been in the same bay and it's still the one
drive that disconnects...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140108194221.GH99167>