From owner-freebsd-questions@freebsd.org Thu Oct 19 10:12:58 2017 Return-Path: Delivered-To: freebsd-questions@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 8691CE3675D for ; Thu, 19 Oct 2017 10:12:58 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 5558B638FF for ; Thu, 19 Oct 2017 10:12:57 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4666020D42 for ; Thu, 19 Oct 2017 06:12:56 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 19 Oct 2017 06:12:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=OTRBcCoYWFc7uCfT8iyqP0IsT6EbOOGSvfMociemTdQ=; b=KFh0D/Uk 4C2caIUt+60EQXZ+l+zQIhWPwmz429iLO64rktaDe2/kvqyWW9+kOFr0P+G4mW7/ zizQJH5RYWL80LPUGt9MnsCUd0iE29weamoKzxqKP+GH8Yr1VfZECubPST70HRq7 vfdGwFF5XSxwYHCSfkJalPQezj+kfLqL3joOoiZde8BU6kkx0ulP4OPEGn8MvpSu 8+PY10fhbLrEy2VfVF1TM1a8ftczeDfmQIoBiQhh+28Ef87R7iWpfqKKB9z1OSgW rwCkU5RA9+bvuXhVIpAOUzMf1eKv3eBK/+KIk7ydhyLXPkmZeO5gF0sJe5eGtSh3 FMfk3G3p9PYxOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=OTRBcCoYWFc7uCfT8iyqP0IsT6EbO OGSvfMociemTdQ=; b=kKVG/vCF5Rlv613jmBajwGx0uZykfjJYGkXbBhb6wClb6 qifWRt/jd8fi76SN+aF7JynAsRYW/mC/CiS28ZKEVRPE7N0enztVxXBrGwSVZuqF A29MIp5bBeE/ndrm6IIvpseKCPfOrxU/p5BnOcPGEhFvW70wmk91TE+qok+6GUsJ IykiExNxbY0P5i6Nw/rbKzZvQZQ1XZnVG8G255JLYtZPBW84LqjUlA8OtuJpH08A HcAVtDiov4o8yQ+k4pumt5dOuqPpLOuQrMfh148W0/Ot0Bz8w0+ag00Wdxk0vprs scOtZThO6bNB5RjTqaQksT50YJSeIHyQ1FMgW0Fjw== X-ME-Sender: Received: from acer (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id C9FEB24767 for ; Thu, 19 Oct 2017 06:12:55 -0400 (EDT) Date: Thu, 19 Oct 2017 11:12:54 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: How to recover data from dead hard drive. Message-ID: <20171019101253.GA23947@acer> Mail-Followup-To: freebsd-questions@freebsd.org References: <59DBA387.4050108@gmail.com> <20171009191435.145c9dd2.freebsd@edvax.de> <72772933-C642-43DB-AFD6-6B5D40EEF39E@fjl.co.uk> <59E21214.4020509@gmail.com> <20171014214926.2fed03aa.freebsd@edvax.de> <20171014202115.GA92751@acer.zyxst.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2017 10:12:58 -0000 On Thu, Oct 19, 2017 at 10:25:31AM +0100, Frank Leonhardt (m) wrote: >If you're lucky this is caused by bhyve. However, by this stage, if >you're booting from a once-working boot drive then the ZFS stuff should >have been brought in by the loader, allowing it to mount the FS >and load the OS. > >Have you tried specifying a different device? (Its safe to guess). > >I'd probably mount the image using mdconfig on a ZFS enabled machine >(type zpool to check it's been compiled with the right modules) and >see if it can auto-mount. Easier than sorting out boot problems, >especially if the boot partition has been clobbered. I'll try again hopefully later today and get back with detailed results. I've tried most of what you've suggested, but not exactly. >ZFS is surprisingly good at reassembling stuff from odd locations using >GUID metadata. Only worry I have is that its part of a striped vdev, >which will allow you to boot that far using code duplicated on each >drive, but then no further. ZFS was installed single-disk root-on-zfs with no other options, so if there is/are vdevs present, it would be something defaulted to. I don't think there's any vdev. Thanks again for taking the time to answer. I'll get back later with better data. -- J.