From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 13:31:24 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAC57643 for ; Wed, 17 Jun 2015 13:31:24 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79D722F3 for ; Wed, 17 Jun 2015 13:31:24 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [78.35.158.162] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Z5D7Z-0007vm-Me; Wed, 17 Jun 2015 15:11:14 +0200 Date: Wed, 17 Jun 2015 15:11:13 +0200 From: Fabian Keil To: Da Rock Cc: freebsd-questions@freebsd.org Subject: Re: ZFS passdevgonecb Message-ID: <4895d846.65aa428a@fabiankeil.de> In-Reply-To: <558157C3.3090004@herveybayaustralia.com.au> References: <557F90DB.80601@herveybayaustralia.com.au> <7869b17a.63033ffe@fabiankeil.de> <558157C3.3090004@herveybayaustralia.com.au> Reply-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/5ms7JBh2YhWZwV_HwIfYQxJ"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 13:31:24 -0000 --Sig_/5ms7JBh2YhWZwV_HwIfYQxJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Da Rock wrote: > On 16/06/2015 19:15, Fabian Keil wrote: > > Da Rock wrote: > > > >> I hate jumping in like this out of the blue, but time is not on my > >> side atm with a lot going on. > >> > >> I have a problem with some devices disappearing on various versions of > >> FreeBSD and machines (laptops, workstations/servers). Umass are the > >> norm, with the message occurring most on usb sticks and sd cards. > >> > >> Big problem atm is that my file server has a failed disk in the raid, > >> and I've tried replacing it with a new drive (twice now), and both > >> times it begins to resilver and then it is "REMOVED". If I online it > >> again, it goes for about 10mins then REMOVED again. > > For similar occasions I wrote a ggatel patch as a workaround: > > https://www.fabiankeil.de/sourcecode/electrobsd/ggatel-Optionally-retry= -requests.diff > > > > Later on I stumbled over gmountver which you may want to try > > first. At least on my system it doesn't work unless I disable > > kern.geom.mountver.check_ident (which obviously is dangerous), > > but I didn't have time to investigate this yet. > That appears to be a patch for usb base though, right? I have had issues= =20 > with usb and sd cards, but this one is actually an ada device (hdd). The patch is for ggatel which works for any GEOM device (and common files): https://www.freebsd.org/cgi/man.cgi?query=3Dggatel > Also I couldn't find kern.geom.mountver at all - unknown oid. What are=20 > you using? Is that a device specific? The sysctl is created once geom_mountver.ko is loaded. For details see: https://www.freebsd.org/cgi/man.cgi?query=3Dgmountver Fabian --Sig_/5ms7JBh2YhWZwV_HwIfYQxJ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlWBcegACgkQBYqIVf93VJ3JMACgvwOnk2unc6XBWLpzPcwF2zmk 9G4An1Po2MMG5sNdKOtUpa/8NHRUE0wD =Dad5 -----END PGP SIGNATURE----- --Sig_/5ms7JBh2YhWZwV_HwIfYQxJ--