From owner-freebsd-questions Tue Jan 19 10:15:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA18991 for freebsd-questions-outgoing; Tue, 19 Jan 1999 10:15:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gandalf.cc.purdue.edu (gandalf.cc.purdue.edu [128.210.135.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA18985 for ; Tue, 19 Jan 1999 10:15:31 -0800 (PST) (envelope-from jrj@gandalf.cc.purdue.edu) Received: from gandalf.cc.purdue.edu (IDENT:jrj@localhost [127.0.0.1]) by gandalf.cc.purdue.edu (8.9.1/8.9.1) with ESMTP id NAA08828; Tue, 19 Jan 1999 13:14:41 -0500 (EST) Message-Id: <199901191814.NAA08828@gandalf.cc.purdue.edu> To: FreeBSD Questions cc: "amanda-users@amanda.org" , "freebsd-questions@FreeBSD.ORG" Subject: Re: Amanda Experts: amrecover doesn't work? In-reply-to: Your message of "Tue, 19 Jan 1999 09:22:14 EST." <199901191522.JAA06719@mail.netsys.hn> Reply-to: jrj@cc.purdue.edu Date: Tue, 19 Jan 1999 13:14:31 -0500 From: "John R. Jackson" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >1. I do one backup weekly on sundays. After using VOL04 the next amanda run >should go to VOL01. On Monday I went to check how amanda ran but it said >that the tape I had put on the tape drive was not an amanda tape, and of >course was VOL01. I created VOL05 and removed VOL01 from data base. Some >clue on this? Maybe the tape and/or drive is bad? What happens if you mount VOL01 and do: mt -f /dev/nrst0 rewind dd if=/dev/nrst0 bs=32k You should get one record back and it should be an Amanda volume label something like this: AMANDA: TAPESTART DATE 19981127 TAPE B00000/champion >amrestore: 0: skipping start of tape: date 19990117 label VOL02 >amrestore: 1: skipping internet.netsys.hn.sd0a.19990117.0 >amrestore: missing file header block >amrestore: 2: reached end of tape: date 19990117 This says the tape was labeled OK and that the first image was OK (as much as amrestore cared) but after it had done an "fsf 1" to get past that image it got end of tape (zero back from a read). What happens if you mount VOL02 and do this: mt -f /dev/nrst0 rewind dd if=/dev/nrst0 of=/dev/null bs=32k dd if=/dev/nrst0 of=/dev/null bs=32k dd if=/dev/nrst0 of=/dev/null bs=32k dd if=/dev/nrst0 of=/dev/null bs=32k >3. Last question. How can I recover a file that is on an older tape. ... See the "setdate" command in amrecover. >Pablo Quintana John R. Jackson, Technical Software Specialist, jrj@purdue.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message