ZFS passdevgonecb

Fabian Keil freebsd-listen at fabiankeil.de
Wed Jun 17 13:31:24 UTC 2015

Da Rock <freebsd-questions at herveybayaustralia.com.au> wrote:

> On 16/06/2015 19:15, Fabian Keil wrote:
> > Da Rock <freebsd-questions at herveybayaustralia.com.au> 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).

The patch is for ggatel which works for any GEOM device (and common files):

> Also I couldn't find kern.geom.mountver at all - unknown oid. What are 
> you using? Is that a device specific?

The sysctl is created once geom_mountver.ko is loaded. For details see:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150617/e21eb341/attachment.sig>

More information about the freebsd-questions mailing list