From owner-freebsd-fs@FreeBSD.ORG Sat Dec 18 19:59:02 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31E381065670; Sat, 18 Dec 2010 19:59:02 +0000 (UTC) (envelope-from alteriks@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id BAB3B8FC19; Sat, 18 Dec 2010 19:59:01 +0000 (UTC) Received: by qyk36 with SMTP id 36so1655578qyk.13 for ; Sat, 18 Dec 2010 11:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=bygcB+Uaihq6uZ+MFHMQjUKdtkLHnFyMXX+CVkvoxr0=; b=qjgec5kORj6G8LxxxeYEATrMjViu5vKDXC8HZ1cx/ycl+x5mC0Gia6wFUwOZ8echOH y2AZh2aYJ5wcunlsWOWTp5hLB1F6ALnbcb2nvdlsuePLSsTC8Yac6nUkwYYIRGjR4NrP VdsiUTEkNxPv+61Nt3zEuvi1oHOrwpfgaqOe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=VjnEtDG93gHYlOyR8dmUS4x4QZ9xmKOpC+/kCgQBBDijKK/IJX5tDlKd1fkbz4D6vg 9VBt92sTqQoSPJtiMHByKJY8x8Ex8RCiqtPRrFkpJwZePCavKAUbaogRSS+h3uYtcqWS Dg9htxzCcfZMk0h/ZDAnFmJw2ijVEDohEixro= Received: by 10.224.73.137 with SMTP id q9mr2363130qaj.53.1292702340999; Sat, 18 Dec 2010 11:59:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.87.4 with HTTP; Sat, 18 Dec 2010 11:58:40 -0800 (PST) In-Reply-To: <4D0D0BC6.8090607@FreeBSD.org> References: <4D0A09AF.3040005@FreeBSD.org> <4D0D0BC6.8090607@FreeBSD.org> From: Krzysztof Dajka Date: Sat, 18 Dec 2010 19:58:40 +0000 Message-ID: To: Martin Matuska Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org Subject: Re: New ZFSv28 patchset for 8-STABLE X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2010 19:59:02 -0000 On Sat, Dec 18, 2010 at 7:30 PM, Martin Matuska 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 :)