Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2012 17:35:35 +0200
From:      George Kontostanos <gkontos.mail@gmail.com>
To:        Daniel Shahaf <d.s@daniel.shahaf.name>
Cc:        infrastructure-private@apache.org, questions@freebsd.org
Subject:   Re: zroot won't mount after 9.0-RC2 -> 9.0-RELEASE upgrade
Message-ID:  <CA%2BdUSypa8fpVeTkwVmNcoVJpUrwdY9V5WJjz8HDbeoObMDX7_Q@mail.gmail.com>
In-Reply-To: <20120215152632.GA12344@daniel3.local>
References:  <20120214044816.GA18161@daniel3.local> <20120215003110.GA32543@daniel3.local> <2F0AA9C8CF16B52E168F9E05@mac-pro.magehandbook.com> <20120215030934.GA7135@daniel3.local> <CA%2BdUSyquwm%2B%2B%2BcjWusfCBwbYO8yN-55xZAjfdAR4sjo3685Vww@mail.gmail.com> <CA%2BdUSyp1GqvZxL9mPtSUC%2Bd3uRVdmqd6Qup-c%2B%2BbcdNaDQZ1LQ@mail.gmail.com> <20120215152632.GA12344@daniel3.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 15, 2012 at 5:26 PM, Daniel Shahaf <d.s@daniel.shahaf.name> wro=
te:
> George Kontostanos wrote on Wed, Feb 15, 2012 at 12:56:33 +0200:
>> On Wed, Feb 15, 2012 at 12:15 PM, George Kontostanos
>> <gkontos.mail@gmail.com> wrote:
>> > On Wed, Feb 15, 2012 at 5:09 AM, Daniel Shahaf <danielsh@apache.org> w=
rote:
>> >> 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 z=
fs
>> >>> >root.
>> >>> >
>> >>> >It fails to boot the 9.0-RELEASE (releng/9.0@r229305) GENERIC kerne=
l
>> >>> >(self compiled) with a mountfrom error:
>> >>> >
>> >>> > =A0 =A0http://people.apache.org/~danielsh/infra/loki-20120215-moun=
tfrom.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 th=
e
>> >>> 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.
>>
>
> *nod* trying 'gpart bootcode -b' is on the list still, though. =A0It
> shouldn't hurt.
>
>> Was this a new 9.0-RC2 install?
>
> No, it was an upgrade from 8.2-RELEASE.
>
>> Also, how many devices are in the pool that you are trying to boot from?
>>
>
> Six: mfid[0-5]p3.
>
>> --
>> George Kontostanos
>> Aicom telecoms ltd
>> http://www.aisecure.net
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.=
org"

Try loading geom_part_gpt.ko to see if it helps.

--=20
George Kontostanos
Aicom telecoms ltd
http://www.aisecure.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdUSypa8fpVeTkwVmNcoVJpUrwdY9V5WJjz8HDbeoObMDX7_Q>