From owner-freebsd-current Wed Mar 25 21:30:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA16404 for freebsd-current-outgoing; Wed, 25 Mar 1998 21:30:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mantar.slip.netcom.com (mantar.slip.netcom.com [192.187.167.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA16396 for <"freebsd-current@freebsd.org"@hub.freebsd.org>; Wed, 25 Mar 1998 21:30:43 -0800 (PST) (envelope-from mantar@netcom.com) Received: from dual (DUAL [192.187.167.136]) by mantar.slip.netcom.com (8.8.8/8.8.8) with SMTP id VAA03545; Wed, 25 Mar 1998 21:30:29 -0800 (PST) (envelope-from mantar@netcom.com) Message-Id: <199803260530.VAA03545@mantar.slip.netcom.com> X-Sender: null@mantar.slip.netcom.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Wed, 25 Mar 1998 21:30:28 -0800 To: "Jon E. Mitchiner" , "FreeBSD" <"freebsd-current@freebsd.org"@hub.freebsd.org> From: Manfred Antar Subject: Re: FW: Restore/Dump broken? In-Reply-To: <199803260511.VAA14782@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:10 AM 3/26/98 -0500, Jon E. Mitchiner wrote: > >I have a suspicion that 'restore' is broken somehow as I have a new tape >drive in our web server machine (SONY SDT-7000) and backups work without any >problems. The problem occurs when we try to restore files as we lost a file >today, and bang, restore wouldn't work at all. Below is a list of the >commands I did to test restore on a new clean tape to make sure it's not >something else: > >www# dump -0u -a -f /dev/rst0 /usr/local > DUMP: Date of this level 0 dump: Wed Mar 25 18:52:22 1998 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping /dev/rsd1s1e (/usr/local) to /dev/rst0 > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 84334 tape blocks. > DUMP: dumping (Pass III) [directories] > DUMP: dumping (Pass IV) [regular files] > DUMP: 72.94% done, finished in 0:01 > DUMP: DUMP: 84372 tape blocks on 1 volumes(s) > DUMP: finished in 389 seconds, throughput 216 KBytes/sec > DUMP: level 0 dump on Wed Mar 25 18:52:22 1998 > DUMP: Closing /dev/rst0 > DUMP: DUMP IS DONE >www# mt -f /dev/rst0 rewind >www# restore -f /dev/rst0 -i >tape read error: No such file or directory >www# > >So the last error confuses me. I thought perhaps there was something broken >with the tape drive -- e.g. it not being able to read or something so I went >with tar and was able to write and read back from the tape drive which leads >me to determine 'restore' is not working, atleast not from the current >sources dated around 3/5/98 I believe. > >Is there a known problem/workaround for this? > it may be your command try man restore restore ifsv /dev/rst0 1 works for me (interactive) also restore xfsv /dev/rst0 1 works (the whole thing) I have 3 file systems on one tape. 1 is for / 2 /var 3 /usr |=======================| | mantar@netcom.com | | Ph. (415) 681-6235 | |=======================| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message