From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 4 22:45:00 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B60A4B68; Tue, 4 Mar 2014 22:45:00 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ACAD3767; Tue, 4 Mar 2014 22:44:59 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id b8so133740lan.12 for ; Tue, 04 Mar 2014 14:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=RQ627icaWcFVUSb7eENB4s4D1kVzQ1bBcWR7dE86Uzc=; b=MZsxCjuxu5JxF9H+WfCyrQt6UKLHfr6ZmeVahU0Qtb2hqrps74xy5XRpZAJaU6ug/V ewp0sZWYAak9zCsHncxs8+q2NcDx2dHJvRnjECmdBt/pnMTIdsCCAgySmF16ZL03H9eE mQggTO4MMI8L0G1eY22cdQF7LXEsKgJkl1VdHsJBA6NQVQlmlC4ci5uYSBH1+Py0b+e1 RunvI87fAwxaeLDSxyF26emcZUJFMJtLfu4AccP4EhsNkCLjzhHTAQ+Ij8yU09t8ke5P ugOVY3zjTbiKZQLR0c1HrWUCoA7+RS5gEhIUIEla9GjTLH5N3HuKh8LkapvnGRstC6AQ i86A== MIME-Version: 1.0 X-Received: by 10.112.160.200 with SMTP id xm8mr1087961lbb.24.1393973097808; Tue, 04 Mar 2014 14:44:57 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.30.211 with HTTP; Tue, 4 Mar 2014 14:44:57 -0800 (PST) In-Reply-To: <531652AE.9070506@freebsd.org> References: <531652AE.9070506@freebsd.org> Date: Tue, 4 Mar 2014 14:44:57 -0800 X-Google-Sender-Auth: s_v6ZDuPm0-CMxYpL6avjj2UUYQ Message-ID: Subject: Re: Problem with ZFS userboot changes r262331 and VM with mixed partitions From: Craig Rodrigues To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 Cc: "jenkins-admin@freebsd.org" , Xin Li , "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 22:45:00 -0000 On Tue, Mar 4, 2014 at 2:24 PM, Peter Grehan wrote: > Hi Craig, > > >> ZFS: i/o error - all block copies unavailable >> >> I don't fully understand all this logic. Is there a bug that can be fixed >> here? > > > Yes - a flag needs to be passed to userboot to tell it to ignore ZFS > filesystems. This is analogous to the decision to use boot2 (implicit UFS) > vs zfsboot (explicit ZFS) as the 2nd-stage loader on a real disk. > > It didn't look possible to do this without changing the userboot ABI, but, > it's probably time to bump that. Thanks for the explanation. Can this flag be passed via bhyveload, and if so, how? Right now the workaround was to recompile userboot with: cd /usr/src/sys/boot/userboot make clean make WITHOUT_ZFS=yes make WITHOUT_ZFS=yes install -- Craig