The dmesg looks great, and the autochanger has a permanent cleaning tape, so I am good there.
I ran the following and btape reported an error. Any suggestions? --begin paste-- storage:/etc/bacula# btape -v -c bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:272 Using device: "/dev/nst0" for writing. 18-Mar 16:11 btape: 3301 Issuing autochanger "loaded drive 0" command. 18-Mar 16:11 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. 18-Mar 16:11 btape: 3301 Issuing autochanger "loaded drive 0" command. 18-Mar 16:11 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. btape: btape.c:338 open device "Drive-1" (/dev/nst0): OK *test === Write, rewind, and re-read test === I'm going to write 1000 records and an EOF then write 1000 records and an EOF, then rewind, and re-read the data to verify that it is correct. This is an *essential* feature ... btape: btape.c:795 Wrote 1000 blocks of 64412 bytes. btape: btape.c:469 Wrote 1 EOF to "Drive-1" (/dev/nst0) btape: btape.c:811 Wrote 1000 blocks of 64412 bytes. btape: btape.c:469 Wrote 1 EOF to "Drive-1" (/dev/nst0) btape: btape.c:820 Rewind OK. 1000 blocks re-read correctly. Got EOF on tape. 1000 blocks re-read correctly. === Test Succeeded. End Write, rewind, and re-read test === === Write, rewind, and position test === I'm going to write 1000 records and an EOF then write 1000 records and an EOF, then rewind, and position to a few blocks and verify that it is correct. This is an *essential* feature ... btape: btape.c:907 Wrote 1000 blocks of 64412 bytes. btape: btape.c:469 Wrote 1 EOF to "Drive-1" (/dev/nst0) btape: btape.c:923 Wrote 1000 blocks of 64412 bytes. btape: btape.c:469 Wrote 1 EOF to "Drive-1" (/dev/nst0) btape: btape.c:932 Rewind OK. Reposition to file:block 0:4 btape: btape.c:1012 Bad data in record. Expected 5, got 1 at byte 0. Test failed! --end paste-- -----Original Message----- From: Thomas Mueller [mailto:tho...@chaschperli.ch] Sent: Tuesday, March 09, 2010 1:25 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] restore error Am Tue, 09 Mar 2010 07:50:50 -0800 schrieb Mark Yarbrough: > I am getting the follwoing errors on restoring any file from tape: > > 09-Mar 07:22 storage-sd: 3302 Autochanger "loaded drive 0", result: > nothing loaded. 09-Mar 07:22 storage-sd: > RestoreFiles.2010-03-09_07.22.19 Warning: acquire.c:146 Couldn't rewind > device "Drive-1" (/dev/nst0): ERR=dev.c:678 Rewind error on "Drive-1" > (/dev/nst0). ERR=No medium found. 09-Mar 07:22 storage-sd: 3301 Issuing > autochanger "loaded drive 0" command. 09-Mar 07:22 storage-sd: 3302 > Autochanger "loaded drive 0", result: nothing loaded. 09-Mar 07:22 > storage-sd: 3304 Issuing autochanger "load slot 1, drive 0" command. > 09-Mar 07:23 storage-sd: RestoreFiles.2010-03-09_07.22.19 Error: > block.c:263 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer > discarded. 09-Mar 07:23 storage-sd: RestoreFiles.2010-03-09_07.22.19 > Warning: acquire.c:146 Requested Volume "000037L3" on "Drive-1" > (/dev/nst0) is not a Bacula labeled Volume, because: ERR=block.c:263 > Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. > 09-Mar 07:23 storage-sd: Please mount Volume "000037L3" on Storage > Device "Drive-1" (/dev/nst0) for Job RestoreFiles.2010-03-09_07.22.19 > > note: the tape is in the drive and ready to go. Nothing has changed > from the backup and the attempted restore process. > > I have tried to restore from other jobs that are older thus different > tapes with the same result. have a look at your kernel messages (dmesg) about messages "st [[:digit:]]" and scsi errors. and maybe you need to clean your drive? have you ever tried to restore before, did you run the "btape" tests? - Thomas ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users