Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2010 14:24:17 +0000
From:      krad <kraduk@googlemail.com>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        George Liaskos <geo.liaskos@gmail.com>, Ross Penner <ross.penner@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Help booting FreeBSD with a ZFS root filesystem
Message-ID:  <d36406631001260624v6a988263t1acd95c51de6f248@mail.gmail.com>
In-Reply-To: <4B5EE153.9050402@ibctech.ca>
References:  <f80199c41001251331q1552da27v7c3c87096118311c@mail.gmail.com> <a57b43541001251729t7476aaftcf4a8c91364b2a6e@mail.gmail.com> <f80199c41001260051w7a7b4854t4ef31d53c6b0a79f@mail.gmail.com> <d36406631001260403i7acf19f2q6dba65bc2fe9820a@mail.gmail.com> <4B5EE153.9050402@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/1/26 Steve Bertrand <steve@ibctech.ca>

> krad wrote:
> > 2010/1/26 Ross Penner <ross.penner@gmail.com>
> >
> >> That seems to have been the problem.
> >>
> >> Thanks for the help.
> >>
> >> On Mon, Jan 25, 2010 at 5:29 PM, George Liaskos <geo.liaskos@gmail.com>
> >> wrote:
> >>> I had the same issue because i forgot to copy the zpool.cache under
> >>> /zroot/boot/zfs.
>
> > once you have generated the zpool.cache never never never export the boot
> > pool again. Exporting isnt the same as unmounting (a common
> misconception).
> > If you do export it the pool will become unbootable.
>
> Out of curiosity (because I had this problem a few weeks back), how does
> one move a bootable pool into another physical server in order to be
> able to see the pool as a 'data' set without exporting/importing, and
> then moving the pool back to the hardware that it normally boots from?
>
> Perhaps I was lucky when copying the cache back onto itself worked...
>
> Steve
>

with difficulty i suspect. You will probably have to specify an alternate
root and zpool.cache file. Then copy the cache file onto the zpool before
powering down, and NOT exporting.

If you don't use an alternate zpool.cache file I suspect you will get issues
as the test systems zpools will be referenced in there, and will cause a
pickle when you bring the broken system up.

Its probably best to use a non zfs based rescue system just to keep things
simpler.



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