From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 10:56:34 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DFC6106566B for ; Wed, 15 Feb 2012 10:56:34 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 339428FC0C for ; Wed, 15 Feb 2012 10:56:34 +0000 (UTC) Received: by iaeo4 with SMTP id o4so1674083iae.13 for ; Wed, 15 Feb 2012 02:56:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=95eo1r9rlwvmYBzSUSldhqxM0S93LttxURrCJoTv9Qk=; b=qM6qCFNps1KEEFaQ95BubUTvANT5fmg10/1EHXgrLHheK0v/fC+JtLk9WiDbUJnpQ+ ig1HRP+RvYA98uwzUqx7yx4/fSAy/LOM5uuqF/oCPm6/YJrxkRXhNb6L5fl6QCBiHIwO gAhzVfhKc2shdZK1kqmV3xLsxk+gSF/j87KeU= MIME-Version: 1.0 Received: by 10.50.153.133 with SMTP id vg5mr10301052igb.8.1329303393800; Wed, 15 Feb 2012 02:56:33 -0800 (PST) Received: by 10.231.231.17 with HTTP; Wed, 15 Feb 2012 02:56:33 -0800 (PST) In-Reply-To: References: <20120214044816.GA18161@daniel3.local> <20120215003110.GA32543@daniel3.local> <2F0AA9C8CF16B52E168F9E05@mac-pro.magehandbook.com> <20120215030934.GA7135@daniel3.local> Date: Wed, 15 Feb 2012 12:56:33 +0200 Message-ID: From: George Kontostanos To: questions@freebsd.org, infrastructure-private@apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: zroot won't mount after 9.0-RC2 -> 9.0-RELEASE upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 10:56:34 -0000 On Wed, Feb 15, 2012 at 12:15 PM, George Kontostanos wrote: > On Wed, Feb 15, 2012 at 5:09 AM, Daniel Shahaf wrot= e: >> Daniel Staal wrote on Tue, Feb 14, 2012 at 21:39:40 -0500: >>> --As of February 15, 2012 2:31:10 AM +0200, Daniel Shahaf is alleged >>> to have said: >>> >>> >One of our amd64 servers runs 9.0-RC2 (releng/9.0@r228325) with a zfs >>> >root. >>> > >>> >It fails to boot the 9.0-RELEASE (releng/9.0@r229305) GENERIC kernel >>> >(self compiled) with a mountfrom error: >>> > >>> > =A0 =A0http://people.apache.org/~danielsh/infra/loki-20120215-mountfr= om.png >>> > =A0 =A0mountfrom> zfs:zroot >>> > =A0 =A0Trying to mount root from zfs:zroot []... >>> > =A0 =A0Mounting from zfs:zroot failed with error 2. >>> > >>> >We've tried to upgrade the zpool format 15->28; the symptoms are >>> >unchanged. =A0(The zroot fs is at version 4.) >>> > >>> >Why does 9.0-RC2 boot while 9.0-RELEASE (as /boot/testkernel) doesn't? >>> >What can do to boot 9.0-RELEASE from our zfs root filesystem? >>> >>> --As for the rest, it is mine. >>> >>> Did you update the bootloader? =A0Depending on when you installed the >>> system, it's possible your upgrading the zpool means the bootloader >>> can't read it. >>> >> >> Immediately after upgrading the zroot zpool I ran >> >> =A0 =A0gpart bootcode -p /boot/gptzfsboot -i 1 ${devices} >> >> as instructed in /usr/src/UPDATING. =A0I did not pass -b. >> >>> Daniel T. Staal > > Hi could you try passing the -b switch like this: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${devices} > On a second look I doubt that this has anything to do with an outdated bootcode. Was this a new 9.0-RC2 install? Also, how many devices are in the pool that you are trying to boot from? --=20 George Kontostanos Aicom telecoms ltd http://www.aisecure.net