From owner-freebsd-questions Fri Jan 10 17:47:27 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB91537B401 for ; Fri, 10 Jan 2003 17:47:25 -0800 (PST) Received: from mcambria.fid4.com (h006097296569.ne.client2.attbi.com [66.30.202.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3632743E4A for ; Fri, 10 Jan 2003 17:47:25 -0800 (PST) (envelope-from cambria@fid4.com) Received: from fid4.com (h006097296569.fid4.com [66.30.202.75]) by mcambria.fid4.com (8.12.6/8.11.6) with ESMTP id h0B1gOX4004604; Fri, 10 Jan 2003 20:42:25 -0500 (EST) (envelope-from cambria@fid4.com) Message-ID: <3E1F7680.4671FF87@fid4.com> Date: Fri, 10 Jan 2003 20:42:24 -0500 From: "Michael C. Cambria" X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Konrad Heuer Cc: freebsd-questions@freebsd.org Subject: Re: Restoring /usr from a remote tape References: <20030108084221.W61455-100000@gwdu60.gwdg.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Konrad Heuer wrote: > > On Wed, 8 Jan 2003, Michael C. Cambria wrote: > > > Is it possible to restore a local filesystem such as / or /usr > > from a remote tape? > > > > I'm assuming that one would need to be in single user mode or > > boot from fixit floppy/CD. So I'm trying to test accessing > > the remote tape from both single user mode or fixit with no > > luck. I can get the LAN up, and the two machines can ping > > each other. > > > > Things look like they fail when restore trys to run rsh. > > > > Before I guess at modifying the fixit floppy or the script in > > the handbook to try to allow for a remote tape restore, I'd > > like to know what others have done. > > It is possible by using a fixit CD which is the second one of the four > FreeBSD CDs because all necessary binaries and libraries are available > there. I've done it some time ago; maybe you need to create links from > /usr/bin to /mnt2/usr/bin and /usr/lib to /mnt2/usr/lib to get things > working. I needed to link /mnt2/usr/bin to /usr/bin and everything worked fine. Specifically: cd /usr mkdir bin ln -s /mnt2/usr/bin /usr/bin I can now dump and restore in single user mode just fine from the FixIt CD. Thanks, MikeC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message