Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 01:45:10 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-fs@freebsd.org, Adam Jacob Muller <freebsd-current@adam.gs>, freebsd-current@freebsd.org, Axel <acd@bsd.homelinux.org>
Subject:   Re: ZFS pool not working on boot
Message-ID:  <20070921014243.C33213@woozle.rinet.ru>
In-Reply-To: <20070920150840.GG7562@dan.emsphone.com>
References:  <E6CAB30C-E22C-4C46-8F43-B69A91E71FFF@adam.gs> <m3vea6gtr2.fsf@vecta0.vectavision.com> <EC63F389-A232-4D1C-8542-DE8F954E0D97@adam.gs> <m38x723vsg.fsf@vecta0.vectavision.com> <20070920150840.GG7562@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Sep 2007, Dan Nelson wrote:

DN> > It's a good idea to keep the actual old UFS / directory around 
DN> > although only /boot gets used in there if you mount / from zfs.
DN> 
DN> What I do is populate my UFS /.boot filesystem with /etc, /lib, /libexec,
DN> /bin, and /sbin from my root filesystem, so if zfs fails to load it's
DN> easy to recover.

With small patch to rescue (including zpool and zfs together with libraries 
involved) all that required is copying /rescue and symlinking /bin and /sbin to 
it.

Well, you also have to mkdir dev and possibly have ./etc/{,s}pwd.db to make tar 
happy...

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:				     marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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