Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 20:42:24 -0500
From:      "Michael C. Cambria" <cambria@fid4.com>
To:        Konrad Heuer <kheuer2@gwdg.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Restoring /usr from a remote tape
Message-ID:  <3E1F7680.4671FF87@fid4.com>
References:  <20030108084221.W61455-100000@gwdu60.gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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