From owner-freebsd-questions Thu Sep 27 2:32:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rush.telenordia.se (mail.telenordia.se [194.213.64.42]) by hub.freebsd.org (Postfix) with SMTP id 7765B37B421 for ; Thu, 27 Sep 2001 02:32:17 -0700 (PDT) Received: (qmail 26032 invoked from network); 27 Sep 2001 11:32:15 +0200 Received: from bb-62-5-36-29.bb.tninet.se (HELO there) (62.5.36.29) by mail.telenordia.se with SMTP; 27 Sep 2001 11:32:15 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Mark Rowlands To: Heinrich Rebehn Subject: Re: PLEASE HELP: Problem backing up multiple filesystems on tape Date: Thu, 27 Sep 2001 11:32:15 +0200 X-Mailer: KMail [version 1.3] Cc: questions@FreeBSD.ORG References: <3BB1AFE6.4040106@comm.uni-bremen.de> <3BB2D618.1040705@comm.uni-bremen.de> <20010927085741.4970937B40C@hub.freebsd.org> In-Reply-To: <20010927085741.4970937B40C@hub.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010927093217.7765B37B421@hub.freebsd.org> 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 On Thursday 27 September 2001 10:57 am, Mark Rowlands wrote: > On Thursday 27 September 2001 9:32 am, Heinrich Rebehn wrote: > > Hi, > > > > since i did not receive any reply to my post below, i repost. > > Does nobody on the list backup his or her data to tape? > > Or are you using other tools than dump? > > yes, tar! > > > Please help, since my new server is useless if i cannot back it up! > > ok ...send it to me then > > > The question again: How can i write and retrieve more than one filesystem > > to one tape? > > hang on and I'll try it here > > > TIA > > > > Heinrich Rebehn wrote: > > > Hi list, > > > > > > I have successfully set up our new department server using 4.3-RELEASE. > > > I attached our DLT1 tape drive to the system and tried to do a backup. > > > However i am unable to write and retrieve multiple filesystems to one > > > tape. I had no problems with that under Solaris, Linux and OpenBSD , > > > but under FreeBSD things seem to be a bit different. > > > > > > What i tried was: > > > > > > ----------------------------------------------------------------- > > > > > > root@antsrv1 [~] # mt rewind > > > root@antsrv1 [~] # dump 0caf /dev/nrsa0 / > > why c? > > > > DUMP: Date of this level 0 dump: Wed Sep 26 12:29:25 2001 > > > DUMP: Date of last level 0 dump: the epoch > > > DUMP: Dumping /dev/ad0s1a (/) to /dev/nrsa0 > > > DUMP: mapping (Pass I) [regular files] > > > DUMP: mapping (Pass II) [directories] > > > DUMP: estimated 49239 tape blocks. > > > DUMP: dumping (Pass III) [directories] > > > DUMP: dumping (Pass IV) [regular files] > > > DUMP: DUMP: 49254 tape blocks on 1 volume > > > DUMP: finished in 31 seconds, throughput 1588 KBytes/sec > > > DUMP: Closing /dev/nrsa0 > > > DUMP: DUMP IS DONE > > > > > > root@antsrv1 [~] # dump 0caf /dev/nrsa0 /var > > > > > > DUMP: Date of this level 0 dump: Wed Sep 26 12:30:15 2001 > > > DUMP: Date of last level 0 dump: the epoch > > > DUMP: Dumping /dev/ad0s1e (/var) to /dev/nrsa0 > > > DUMP: mapping (Pass I) [regular files] > > > DUMP: mapping (Pass II) [directories] > > > DUMP: estimated 4495 tape blocks. > > > DUMP: dumping (Pass III) [directories] > > > DUMP: dumping (Pass IV) [regular files] > > > DUMP: DUMP: 4489 tape blocks on 1 volume > > > DUMP: finished in 1 seconds, throughput 4489 KBytes/sec > > > DUMP: Closing /dev/nrsa0 > > > DUMP: DUMP IS DONE > > > > > > root@antsrv1 [~] # mt rewind > > > root@antsrv1 [~] # restore tf /dev/nrsa0 > /dev/null > > > > > > Level 0 dump of / on antsrv1.comm.uni-bremen.de:/dev/ad0s1a > > > Label: none > > > > > > root@antsrv1 [~] # restore tf /dev/nrsa0 > /dev/null > > > > > > Tape is not a dump tape <===! > > > > > > root@antsrv1 [~] # > > > > > > ----------------------------------------------------------------- > > > > > > Why am i unable to retrieve the second dump? I also played with > > > filemarks, but to no avail. > > > Any suggestions? dump -0 -a -f /dev/nrsa0 /var dump -0 -a -f /dev/nrsa0 /spare mt -f /dev/nrsa0 rewind restore -t -f /dev/nrsa0 bunch of stuff indicating data from /var mt -f /dev/nrsa0 rewind mt -f /dev/nrsa0 fsf 1 restore -t -f /dev/nrsa0 bunch of stuff indicating data from /spare so it works here - minus that funny little "c" option :- -c Change the defaults for use with a cartridge tape drive, with a density of 8000 bpi, and a length of 1700 feet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message