On Tue, Dec 18, 2007 at 09:15:09AM -0500, Robin Blanchard wrote: > > [EMAIL PROTECTED] ~]# /usr/local/bacula-2.2.6/sbin/btape -v -c > > /usr/local/bacula-2.2.6/etc/bacula-sd.conf /dev/nst0 > > Tape block granularity is 1024 bytes. > > btape: butil.c:285 Using device: "/dev/nst0" for writing. > > 18-Dec 08:54 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" > > command. > > 18-Dec 08:54 btape JobId 0: 3302 Autochanger "loaded? drive 0", result > > is Slot 1. > > 18-Dec 08:54 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" > > command. > > 18-Dec 08:54 btape JobId 0: 3302 Autochanger "loaded? drive 0", result > > is Slot 1. > > btape: btape.c:368 open device "LTO3-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 ... > > > > 18-Dec 08:55 btape JobId 0: Error: block.c:569 Write error at 0:1 on > > device "LTO3-1" (/dev/nst0). ERR=Input/output error. > > 18-Dec 08:56 btape JobId 0: Error: Backspace record at EOT failed. > > ERR=Input/output error > > btape: btape.c:823 Error writing block to device. > > > Hmmm.... > > # mt -f /dev/st0 rewind > > # tar cvf /dev/st0 /root/ > tar: Removing leading `/' from member names > /root/ > /root/.my.cnf > /root/anaconda-ks.cfg > /root/.rnd > /root/.cshrc > /root/.tcshrc > /root/scripts/ > /root/scripts/bootstrap2.sh > tar: /dev/st0: Cannot write: Input/output error > tar: Error is not recoverable: exiting now > > # tail /var/log/messages > Dec 18 09:13:23 lewis kernel: st0: Current: sense key: Aborted Command > Dec 18 09:13:23 lewis kernel: Add. Sense: Data phase error >
i suggest loading a different tape and retrying the tar. make sure that tar can write and read correctly. i went through something similar with my new spectra T50 and it ended up i needed to modify the scsi bios in my scsi controller. if tar can write/read correctly, then procede to btape test without the autochanger part, if that works correctly integrate the changer. -- michael ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users