From owner-freebsd-questions Wed Sep 26 3:39:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from amerika.comm.uni-bremen.de (amerika.comm.uni-bremen.de [134.102.176.15]) by hub.freebsd.org (Postfix) with ESMTP id AEA2D37B405 for ; Wed, 26 Sep 2001 03:39:08 -0700 (PDT) Received: from oslo.comm.uni-bremen.de ([134.102.176.80] helo=comm.uni-bremen.de ident=rebehn) by amerika.comm.uni-bremen.de with esmtp (Exim 3.16 #1) id 15mC3t-0005cj-00; Wed, 26 Sep 2001 12:37:05 +0200 Message-ID: <3BB1AFE6.4040106@comm.uni-bremen.de> Date: Wed, 26 Sep 2001 12:37:26 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801 X-Accept-Language: en-us MIME-Version: 1.0 To: questions@freebsd.org Subject: Problem backing up multiple filesystems on tape Content-Type: text/plain; charset=us-ascii; format=flowed 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 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 / 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? Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:rebehn@comm.uni-bremen.de Phone : +49/421/218-4664 Fax : -3341 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message