From owner-freebsd-virtualization@freebsd.org Sun Mar 20 03:53:03 2016 Return-Path: Delivered-To: freebsd-virtualization@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 93368AD60E8 for ; Sun, 20 Mar 2016 03:53:03 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from quine.pinyon.org (quine.pinyon.org [65.101.5.249]) (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 626251132 for ; Sun, 20 Mar 2016 03:53:02 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by quine.pinyon.org (Postfix, from userid 122) id 1389F160230; Sat, 19 Mar 2016 20:53:02 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on quine.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Received: from feyerabend.n1.pinyon.org (h5.esturion.net [65.101.5.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by quine.pinyon.org (Postfix) with ESMTPSA id 196A2160160; Sat, 19 Mar 2016 20:52:59 -0700 (MST) Subject: Re: UFS vs. ZFS inside bhyve hosted on ZFS To: Paul Vixie References: <56ECAFEB.8060305@pinyon.org> <56EE1468.5050503@pinyon.org> <56EE1550.4060403@redbarn.org> <56EE19E9.7040403@pinyon.org> <56EE1CC0.9020903@redbarn.org> Cc: freebsd-virtualization@freebsd.org From: "Russell L. Carter" Message-ID: <56EE1E9B.2050101@pinyon.org> Date: Sat, 19 Mar 2016 20:52:59 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <56EE1CC0.9020903@redbarn.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Sun, 20 Mar 2016 03:53:03 -0000 On 03/19/16 20:45, Paul Vixie wrote: > > > Russell L. Carter wrote: >> >> >> On 03/19/16 20:13, Paul Vixie wrote: >>> >>> >>>> root@vm1:~ # ahcich0: Timeout on slot 29 port 0 >>>> ahcich0: is 00000008 cs 00000000 ss 00000000 rs bfffffff tfd 50 serr >>>> 00000000 cmd 0001dd17 >>>> (ada0:ahcich0:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 40 70 dc 3a 40 00 00 >>>> 00 00 00 00 >>>> (ada0:ahcich0:0:0:0): CAM status: Command timeout >>>> (ada0:ahcich0:0:0:0): Retrying command >>> >>> two questions: >>> >>> why ada rather than vtblk? >> >> No idea. I chose the default UFS selection in the iso installer. >> Happy to change it to something better. > > you're starting your bhyve with a -s that specifies the ahci-hd driver. > the guest kernel therefore sees an 'ahcich0' device. > > if you start bhyve with a -s that specifies the virtio-blk driver, then > your guest kernel will see a 'vtblk' device. > > this may matter, since the kernel timeout you showed was in the ahci > driver. i have never used this driver in bhyve. > Ah! Ok, that makes sense. I have been hacking on the script already so it's going to be a day or so before I report back. I want everything easily reproducible. Thanks, Russell