From owner-freebsd-current@freebsd.org Mon Jan 16 18:24:11 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 336E9CB214C for ; Mon, 16 Jan 2017 18:24:11 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x22c.google.com (mail-yb0-x22c.google.com [IPv6:2607:f8b0:4002:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E75911478; Mon, 16 Jan 2017 18:24:10 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x22c.google.com with SMTP id 123so36447955ybe.3; Mon, 16 Jan 2017 10:24:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SvWD1Rr42zQWTQlOb66zLMtaKD5HC2G5geuaYZyNu28=; b=PpabUvdMr9i5WBp410OYNVq93m/AOvj6/0QTqc5OZdIUTXk2/DQYyutoBP2JTxr6Y9 KAXcgMD4AmA//vOLJEBSnqTndxqsneGVvgo5uAfrjx6tjNY+dRbfD3LtroLiTht8faS4 DcvYxuv8F+F1grgyzHOETiWfz+leb5XqUCs11ybWPuxr67QAe4/EgqGzKrCHGYJaqkya ZsT8wWHJu7s/AZUeAakRAhPUXUQUglimRhsLkCzAwm3NWB304bGoweBgjgEMso548bOV 3CyoSNlsMMN1l9mfrpGNM2OV5vt1/AvV21LCB7OoDjjmdqZ1L+ZFFxWSQ5fNfr9gihNc HZag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SvWD1Rr42zQWTQlOb66zLMtaKD5HC2G5geuaYZyNu28=; b=nSl1sz69lObcpHYus6Reb5tg5IHOpmamafQduVwFjln7a2HABGrUI894rWcKtGJSwS AUx3yHf/p3mYbTIiuVprn4wswzltADm41eyAjRO0nJqpzl25GKVon5L6YJ+uihMawzHp j6Luo3zbaDsPIhGOBp/RuE+aQNTLH0Mdnw34Mz3+Hl7nzYeKLBrHk0bGA120QfNMSkWz DNAxQS2ZYW74tsBE3M5VOfn0MS7E0ercR3MtNPtHPEufmtfY1YPkZCoYbpBk9xl+DtCG IMTbVYLUOAvhiaJIV5O9oIQc2eUZMi5/ZpWiqsp/AdP7A16xSy4J4cOe66BcFBUMZSCR XBAA== X-Gm-Message-State: AIkVDXJLXsrdVPIN+JWO6LSwhsrjENHP88TxegURlGKSenMuzdwFd7lUh83aw4o9fuOXpSRU93HLzEGByEWurA== X-Received: by 10.37.56.208 with SMTP id f199mr22077226yba.94.1484591049893; Mon, 16 Jan 2017 10:24:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.52.65 with HTTP; Mon, 16 Jan 2017 10:24:09 -0800 (PST) In-Reply-To: References: From: Ultima Date: Mon, 16 Jan 2017 13:24:09 -0500 Message-ID: Subject: Re: zfs zvol's inaccessible after reboot To: Allan Jude Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 18:24:11 -0000 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 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@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@ > freebsd.org" > > > > Is this because they are being used by GEOM? > > Try: zfs set volmode=2 > > Reboot, and see if that solves it > > -- > Allan Jude > >