Re: zfs zvol's inaccessible after reboot

From: Ultima <ultima1252_at_gmail.com>
Date: Mon, 16 Jan 2017 13:24:09 -0500
The volmode was set to default, which is geom. Setting to 2, dev fixes the
issue! thanks Allan for the speedy solution!

On Mon, Jan 16, 2017 at 1:01 PM, Allan Jude <allanjude_at_freebsd.org> wrote:

> On 2017-01-16 12:59, Ultima wrote:
> > Currently there is a bug with zvols. I have a few Bhyve containers that
> > startup at boot. I'v noticed in middle December of last year that after a
> > restart the zvols become inaccessible to the container. Nothing can be
> done
> > to the zvol, other than rename. It cannot even be destroyed in this
> state.
> > The only way to make it accessible again is to renaming the zvol, after
> > this occurs, functionality is restored.
> >
> > The bug is still present in head r312232.
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_
> freebsd.org"
> >
>
> Is this because they are being used by GEOM?
>
> Try: zfs set volmode=2 <yourzvol>
>
> Reboot, and see if that solves it
>
> --
> Allan Jude
>
>
Received on Mon Jan 16 2017 - 17:24:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC