From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 12:35:42 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 ED1922384 for ; Wed, 17 Jun 2015 12:35:42 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (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 A330A964 for ; Wed, 17 Jun 2015 12:35:42 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from [192.168.0.175] (laptop1.herveybayaustralia.com.au [192.168.0.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 8C1A561F87 for ; Wed, 17 Jun 2015 21:19:32 +1000 (EST) Message-ID: <558157C3.3090004@herveybayaustralia.com.au> Date: Wed, 17 Jun 2015 21:19:31 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ZFS passdevgonecb References: <557F90DB.80601@herveybayaustralia.com.au> <7869b17a.63033ffe@fabiankeil.de> In-Reply-To: <7869b17a.63033ffe@fabiankeil.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 12:35:43 -0000 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 with usb and sd cards, but this one is actually an ada device (hdd). Also I couldn't find kern.geom.mountver at all - unknown oid. What are you using? Is that a device specific? > >> Dmesg shows that the device is removed from the devfs with a >> passdevgonecb/lost device message. This apparently occurs right at boot >> too, as it shows amongst the usual scrolling during boot. >> >> I had a chat with someone and they mentioned the cable and/or controller >> could be the issue. Could anyone add any insight or tests I could do? > Scrubbing the pool with one of the workarounds mentioned above might > be a good start. Scrub is ok, but still no device in the raid - REMOVED. Thanks for the help, but so far still no go.