Bacula-users

Re: [Bacula-users] DLT Drive Problem

2008-08-21 10:11:39
Subject: Re: [Bacula-users] DLT Drive Problem
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 21 Aug 2008 10:11:28 -0400
On Thu, Aug 21, 2008 at 10:11 AM, John Drescher <drescherjm AT gmail DOT com> 
wrote:
> On Thu, Aug 21, 2008 at 10:03 AM,  <tjpep2600 AT comcast DOT net> wrote:
>> All,
>>
>>  I've recently setup Bacula on a MAC Xserve running Debian with an HP DLT VS
>> 160 drive attached.  I've since found that although backups work fine it 
>> cannot
>> read from the tapes for a restore.
>>
>>  Using the tests for Bacula I've found that I cannot get past the tar test.
>> Again it appears to write to the tape fine but when I attempt to read the
>> archive I get the following:
>>
>> tar: This does not look like a tar archive
>> tar: Skipping to next header
>> tar: Error exit delayed from previous errors
>>
>> If I attempt the btape test;
>>
>> nas1-noc:~# btape -c /etc/bacula/bacula-sd.conf /dev/st0
>> Tape block granularity is 1024 bytes.
>> btape: butil.c:272 Using device: "/dev/st0" for writing.
>> btape: btape.c:338 open device "Drive-1" (/dev/st0): 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/st0)
>> btape: btape.c:811 Wrote 1000 blocks of 64412 bytes.
>> btape: btape.c:469 Wrote 1 EOF to "Drive-1" (/dev/st0)
>> btape: btape.c:820 Rewind OK.
>> 21-Aug 09:47 btape: btape Error: block.c:253 Volume data error at 0:0! Wanted
>> ID: "BB02", got "BC02". Buffer discarded.
>> btape: btape.c:832 Read block 1 failed! ERR=Input/output error
>>
>> Some other info:
>>
>> nas1-noc:~# mt -f /dev/st0 status
>> SCSI 2 tape drive:
>> File number=0, block number=0, partition=0.
>> Tape block size 0 bytes. Density code 0x50 (no translation).
>> Soft error count since last status=0
>> General status bits on (41010000):
>>  BOT ONLINE IM_REP_EN
>>
>> nas1-noc:~# tapeinfo -f /dev/sg0
>> Product Type: Tape Drive
>> Vendor ID: 'HP   !  '
>> Product ID: 'DLT VS160    !  '
>> Revision: '2400'
>> Attached Changer: No
>> Invalid tapealert page: 262
>>
>> dmesg:
>>
>>  target1:0:5: asynchronous
>>  Vendor: HP   !    Model: DLT VS160    !    Rev: 2400
>>  Type:   Sequential-Access                  ANSI SCSI revision: 02
>>  target1:0:5: Beginning Domain Validation
>>  target1:0:5: Domain Validation Initial Inquiry Failed
>>  target1:0:5: Ending Domain Validation
>>
>> Any help would be appreciated.
>>
>
> I would start off with using nst0 instead of st0. With st0 and bacula
> you could easily corrupt your tapes.
>
> John
>



-- 
John M. Drescher

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>