From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 08:40:09 2003 Return-Path: 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 C341116A4BF for ; Mon, 1 Sep 2003 08:40:09 -0700 (PDT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 650E144008 for ; Mon, 1 Sep 2003 08:40:05 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp104-131.lns1.adl1.internode.on.net [150.101.104.131])h81Fe3ia073072; Tue, 2 Sep 2003 01:10:03 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Michael Alestock , questions@freebsd.org Date: Tue, 2 Sep 2003 01:10:02 +0930 User-Agent: KMail/1.4.3 References: <200309011015.09771.michaela@maa-net.net> In-Reply-To: <200309011015.09771.michaela@maa-net.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200309020110.02687.malcolm.kay@internode.on.net> Subject: Re: Dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 15:40:09 -0000 On Mon, 1 Sep 2003 23:45, Michael Alestock wrote: > I had a question.... > > I have 4 filesystems that I want to dump(8) to my SCSI Tape backup driv= e > (Travan 4GB uncompressed). The filesystems are, "/", "/usr", "/var", a= nd > "/usr/home." All four filesystems equal about 2.5Gigs of data. > > I dumped the first filesystem "/" by executing, "dump -0uf /dev/sa0 / " > ....then executed, "mt -f /dev/sa0 eom" to move the tape to the end of = the Not sure that this is good; especially if it is not a new tape. Try: # mt -f /dev/nsa0 fsf 1 Or write dumps to /dev/nsa0 which leaves the tape positioned for next fil= e. > backup (to append to the tape), then dumped the second filesystem (/usr= ) > using,"dump -0uf /dev/sa0 /usr". Then once again I executed, "mt -f > /dev/sa0" to move the tape to the end (to append to it). > > When I go to execute, "restore -if /dev/sa0" to confirm that both > filesystems were saved so far, there's only ONE filesystem saved to the > tape "/". I can't 'cd' to /var because it's not on the tape. What am = I > doing wrong??? I know I still have plenty of tape left to save other > filesystems, but it's not dumping anything after the first filesystem. > When invoked restore will only look at one dump. You need to move past the first dump file before invoking restore=20 on say /usr. If your end-of-file marks are correctly written you should be able to do = this with: # mt -f /dev/nsa0 fsf 1 Now invoke restore -if /dev/sa0 -- should find /usr Malcolm