zroot won't mount after 9.0-RC2 -> 9.0-RELEASE upgrade

Daniel Shahaf danielsh at apache.org
Wed Feb 15 03:09:49 UTC 2012


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 at r228325) with a zfs
> >root.
> >
> >It fails to boot the 9.0-RELEASE (releng/9.0 at r229305) GENERIC kernel
> >(self compiled) with a mountfrom error:
> >
> >    http://people.apache.org/~danielsh/infra/loki-20120215-mountfrom.png
> >    mountfrom> zfs:zroot
> >    Trying to mount root from zfs:zroot []...
> >    Mounting from zfs:zroot failed with error 2.
> >
> >We've tried to upgrade the zpool format 15->28; the symptoms are
> >unchanged.  (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?  Depending 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

    gpart bootcode -p /boot/gptzfsboot -i 1 ${devices}

as instructed in /usr/src/UPDATING.  I did not pass -b.

> Daniel T. Staal
> 
> ---------------------------------------------------------------
> This email copyright the author.  Unless otherwise noted, you
> are expressly allowed to retransmit, quote, or otherwise use
> the contents for non-commercial purposes.  This copyright will
> expire 5 years after the author's death, or in 30 years,
> whichever is longer, unless such a period is in excess of
> local copyright law.
> ---------------------------------------------------------------
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list