Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2010 19:58:40 +0000
From:      Krzysztof Dajka <alteriks@gmail.com>
To:        Martin Matuska <mm@freebsd.org>
Cc:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: New ZFSv28 patchset for 8-STABLE
Message-ID:  <AANLkTi==eVkz9hsQqZA8hoR%2BU7ZQcHmKBEgHPYpfTfcZ@mail.gmail.com>
In-Reply-To: <4D0D0BC6.8090607@FreeBSD.org>
References:  <4D0A09AF.3040005@FreeBSD.org> <AANLkTi=ZYj26=zK09GJ_mTdvGCD23QO1fKQcfCC889J9@mail.gmail.com> <AANLkTik3s8r1yg1xUrXcMR3jd=rKFWs_vy4mqRXcMZLG@mail.gmail.com> <4D0D0BC6.8090607@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 18, 2010 at 7:30 PM, Martin Matuska <mm@freebsd.org> wrote:
> The information about pools is stored in /boot/zfs/zpool.cache
> If this file doesn't contain correct information, your system pools will
> not be discovered.
>
> In v28, importing a pool with the "altroot" option does not touch the
> cache file (it has to be specified manually with a option to zpool import=
).
>
> Regarding rollback - rolling back a live root file system is not
> recommended.
>
> D=C5=88a 18.12.2010 19:43, Krzysztof Dajka =C2=A0wrote / nap=C3=ADsal(a):
>> t my system working
>> again. I did:
>> zpool import -o altroot=3D/tank tank
>> chroot /tank
>> reboot
>>
>> Can anyone explain why chroot to /tank is needed?
>

I used 8.2BETA1 memstick image to import and rollback. Thanks for
explanation, few moments ago I would argue that zpool(1) didn't
mention cachefile :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi==eVkz9hsQqZA8hoR%2BU7ZQcHmKBEgHPYpfTfcZ>