From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 19:05:50 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A6AAD4D for ; Mon, 3 Nov 2014 19:05:50 +0000 (UTC) Received: from mail-qc0-x229.google.com (mail-qc0-x229.google.com [IPv6:2607:f8b0:400d:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB107BB5 for ; Mon, 3 Nov 2014 19:05:49 +0000 (UTC) Received: by mail-qc0-f169.google.com with SMTP id i17so9751298qcy.28 for ; Mon, 03 Nov 2014 11:05:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:date:to:cc :message-id; bh=Wxfa9bMTSCdgHuEbmISc5zLCEi796QFK/dqxNEcY3Xs=; b=CaRY3gAiI7qJatjjecDcOpwgQXAgpiUOJgGO+/BNGVKpbZI8d7AzgWr5HQAj/gsGP2 RPAVqn/Iz7ym5ggAv4PDtEy1MAjQCZRKHHqKV72DfNOaVSlK5bJLK+o2zERwIAo40OUz y9JDlJz9cM2XWEBlEbaMGIt2mXMZHkfDJVB/K9nT2NEBGtO9FgMZ0JGO8HK34ybczEj7 FEEiJO/rCrD+B0vopPnD2juIRczHc3u9Dkk05e5fczJhwt7FkWOeYCOqbGIR16lmcRii /mSMxz2kzaC2LiKJ/gotIVKjscWUVCvJRBV1Z6plx7RTeFXL+rDvdspFzoWq5Fcf2XKZ 8zeA== X-Received: by 10.140.101.68 with SMTP id t62mr36313478qge.92.1415041548948; Mon, 03 Nov 2014 11:05:48 -0800 (PST) Received: from cyanogenmod.home (pool-71-185-80-109.phlapa.fios.verizon.net. [71.185.80.109]) by mx.google.com with ESMTPSA id r12sm17553997qax.35.2014.11.03.11.05.48 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 11:05:48 -0800 (PST) From: Stephen R Guglielmo X-Google-Original-From: Stephen R Guglielmo User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: ZFS Root Mount Failure Date: Mon, 03 Nov 2014 14:05:44 -0500 To: Erik Gustafson Message-ID: <889081AC-3AD0-403A-82E8-98CCF79F9CC8@gmail.com> Cc: FreeBSD Mailing list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2014 19:05:50 -0000 On October 29, 2014 4:49:55 AM EDT, Erik Gustafson wrote: >On Tue, Oct 28, 2014 at 10:40 PM, Stephen R Guglielmo >> wrote: > >> Hey list, >> >> I have a machine running ZFS on root. It stopped responding this >morning, >> and upon a reboot, it was unable to mount root from zfs:zroot. It >gave the >> explanation of "error 5." >> >> I played with the mount prompt briefly, but didn't get anywhere. Any >tips >> for diagnosing and fixing the problem? >> > >I had a similar issue recently. Error 5 on mount root. This was in >virtaulbox after some sort of unexpected shutdown. >To resolve i first made a snapshot in virtualbox >booted from freebsd-disc1.iso (install dvd) >zpool import >reboot (and boot from zroot) >zpool scrub > >zpool scrub said that i was going to loose some recently written data >(generated by nightly poudrire build) >I don't remember all, probably I needed some parameter to zpool import >but >all error messages were helpful it was quite easy to get it working >again. > >Good luck and don't forget the backup/snapshot Erik, Thanks for the help! I was able to boot from a FreeBSD 10 CD. I got into the LiveCD shell and imported the zpool with no problems. It said my 4 disks were online. I then rebooted, however I got the same error at the mountroot prompt: "Mounting from zfs:zroot failed with error 5." I'll try to play a bit more, maybe scrubbing it or something from the livecd. Thanks, Steve