Bacula-users

Re: [Bacula-users] VXA2 config on Solaris

2008-08-12 10:14:42
Subject: Re: [Bacula-users] VXA2 config on Solaris
From: Martijn de Munnik <martijn AT youngguns DOT nl>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 12 Aug 2008 16:14:24 +0200
I was wrong about the restore, it failed:

12-Aug 14:59 chet-dir JobId 89: Start Restore Job RestoreFiles. 
2008-08-12_14.59.31
12-Aug 14:59 chet-dir JobId 89: Using Device "ExabyteVXA-2Drive"
12-Aug 14:59 chet-sd JobId 89: 3307 Issuing autochanger "unload slot  
5, drive 0" command.
12-Aug 15:00 chet-sd JobId 89: 3304 Issuing autochanger "load slot 1,  
drive 0" command.
12-Aug 15:01 chet-sd JobId 89: 3305 Autochanger "load slot 1, drive  
0", status is OK.
12-Aug 15:01 chet-sd JobId 89: 3301 Issuing autochanger "loaded? drive  
0" command.
12-Aug 15:01 chet-sd JobId 89: 3302 Autochanger "loaded? drive 0",  
result is Slot 1.
12-Aug 15:01 chet-sd JobId 89: Ready to read from volume "A0000001" on  
device "Exabyte VXA-2 Drive" (/dev/rmt/0cbn).
12-Aug 15:01 chet-sd JobId 89: Forward spacing Volume "A0000001" to  
file:block 125:0.
12-Aug 15:50 chet-sd JobId 89: End of file 126 on device "Exabyte  
VXA-2 Drive" (/dev/rmt/0cbn), Volume "A0000001"
12-Aug 15:50 chet-sd JobId 89: End of Volume at file 126 on device  
"Exabyte VXA-2 Drive" (/dev/rmt/0cbn), Volume "A0000001"
12-Aug 15:50 chet-sd JobId 89: 3301 Issuing autochanger "loaded? drive  
0" command.
12-Aug 15:50 chet-sd JobId 89: 3302 Autochanger "loaded? drive 0",  
result is Slot 1.
12-Aug 15:50 chet-sd JobId 89: 3307 Issuing autochanger "unload slot  
1, drive 0" command.
12-Aug 15:53 chet-sd JobId 89: 3304 Issuing autochanger "load slot 5,  
drive 0" command.
12-Aug 15:54 chet-sd JobId 89: 3305 Autochanger "load slot 5, drive  
0", status is OK.
12-Aug 15:54 chet-sd JobId 89: 3301 Issuing autochanger "loaded? drive  
0" command.
12-Aug 15:54 chet-sd JobId 89: 3302 Autochanger "loaded? drive 0",  
result is Slot 5.
12-Aug 15:54 chet-sd JobId 89: Ready to read from volume "A0000005" on  
device "Exabyte VXA-2 Drive" (/dev/rmt/0cbn).
12-Aug 15:54 chet-sd JobId 89: Forward spacing Volume "A0000005" to  
file:block 0:1.
12-Aug 15:55 stevie-fd JobId 89: Error: attribs.c:421 File size of  
restored file /tmp/bacula-restores/export/home/large/ 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx not correct. Original 66390932,  
restored 66455396.
12-Aug 15:59 chet-sd JobId 89: End of file 1 on device "Exabyte VXA-2  
Drive" (/dev/rmt/0cbn), Volume "A0000005"
12-Aug 15:59 chet-sd JobId 89: End of Volume at file 1 on device  
"Exabyte VXA-2 Drive" (/dev/rmt/0cbn), Volume "A0000005"
12-Aug 15:59 chet-sd JobId 89: End of all volumes.
12-Aug 15:59 chet-dir JobId 89: Error: Bacula chet-dir 2.2.8  
(26Jan08): 12-Aug-2008 15:59:50
  Build OS:               i386-pc-solaris2.8 solaris 5.8
  JobId:                  89
  Job:                    RestoreFiles.2008-08-12_14.59.31
  Restore Client:         stevie-fd
  Start time:             12-Aug-2008 14:59:17
  End time:               12-Aug-2008 15:59:50
  Files Expected:         488
  Files Restored:         488
  Bytes Restored:         790,320,291
  Rate:                   217.5 KB/s
  FD Errors:              1
  FD termination status:  Error
  SD termination status:  OK
  Termination:            *** Restore Error ***

12-Aug 15:59 chet-dir JobId 89: Begin pruning Jobs.
12-Aug 15:59 chet-dir JobId 89: No Jobs found to prune.
12-Aug 15:59 chet-dir JobId 89: Begin pruning Files.
12-Aug 15:59 chet-dir JobId 89: No Files found to prune.
12-Aug 15:59 chet-dir JobId 89: End auto prune.
On Aug 12, 2008, at 3:02 PM, Martijn de Munnik wrote:


I replaced the original filename with xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Martijn
> Hi,
>
> I've updated bacula to version 2.2.8 (using blastwave). Still I  
> can't use the entire tape and I'm getting these errors:
>
> In dmesg:
> Aug 12 00:10:31 chet genunix: [ID 408822 kern.info] NOTICE: mpt1:  
> fault detected in device; service still available
> Aug 12 00:10:31 chet genunix: [ID 611667 kern.info] NOTICE: mpt1:  
> Disconnected command timeout for Target 1
> Aug 12 00:10:38 chet scsi: [ID 107833 kern.warning] WARNING: / 
> pci@0,0/pci1022,7450@a/pci1000,7130@5/st@1,0 (st17):
> Aug 12 00:10:38 chet    SCSI transport failed: reason 'reset':  
> giving up
>
> And this is the bacula error:
> 12-Aug 00:05 chet-dir JobId 78: Start Backup JobId 78,  
> Job=Home_Directories_Job_Chet.2008-08-12_00.05.18
> 12-Aug 00:05 chet-dir JobId 78: Using Device "ExabyteVXA-2Drive"
> 12-Aug 00:10 chet-sd JobId 78: Error: block.c:569 Write error at  
> 125:3674 on device "Exabyte VXA-2 Drive" (/dev/rmt/0cbn). ERR=I/O  
> error.
> 12-Aug 00:10 chet-sd JobId 78: Error: Error writing final EOF to  
> tape. This Volume may not be readable.
> dev.c:1669 ioctl MTWEOF error on "Exabyte VXA-2 Drive" (/dev/rmt/ 
> 0cbn). ERR=I/O error.
> 12-Aug 00:10 chet-sd JobId 78: End of medium on Volume "A0000001"  
> Bytes=70,649,607,168 Blocks=1,095,138 at 12-Aug-2008 00:10.
> 12-Aug 00:10 chet-sd JobId 78: 3307 Issuing autochanger "unload slot  
> 1, drive 0" command.
> 12-Aug 00:13 chet-sd JobId 78: 3304 Issuing autochanger "load slot  
> 5, drive 0" command.
> 12-Aug 00:14 chet-sd JobId 78: 3305 Autochanger "load slot 5, drive  
> 0", status is OK.
> 12-Aug 00:14 chet-sd JobId 78: 3301 Issuing autochanger "loaded?  
> drive 0" command.
> 12-Aug 00:14 chet-sd JobId 78: 3302 Autochanger "loaded? drive 0",  
> result is Slot 5.
> 12-Aug 00:14 chet-sd JobId 78: Recycled volume "A0000005" on device  
> "Exabyte VXA-2 Drive" (/dev/rmt/0cbn), all previous data lost.
> 12-Aug 00:14 chet-sd JobId 78: New volume "A0000005" mounted on  
> device "Exabyte VXA-2 Drive" (/dev/rmt/0cbn) at 12-Aug-2008 00:14.
> 12-Aug 00:20 chet-sd JobId 78: Job write elapsed time = 00:11:28,  
> Transfer rate = 1.148 M bytes/second
> 12-Aug 00:20 chet-dir JobId 78: Bacula chet-dir 2.2.8 (26Jan08): 12- 
> Aug-2008 00:20:23
>
> The job continues on the next available tape and I'm able to do a  
> restore.
>
> I cleaned the tape drive before I ran this job.
>
> Why can't store at least 80GB on a tape, what is causing the error?
>
> Martijn
>
> On Jul 30, 2008, at 8:21 PM, John Drescher wrote:
>
>> On Wed, Jul 30, 2008 at 2:19 PM, Martijn de Munnik <martijn AT youngguns DOT 
>> nl 
>> > wrote:
>>> dmesg output;
>>>
>>> Jul 24 05:37:03 chet genunix: [ID 408822 kern.info] NOTICE: mpt1:  
>>> fault
>>> detected in device; service still available
>>> Jul 24 05:37:03 chet genunix: [ID 611667 kern.info] NOTICE: mpt1:
>>> Disconnected command timeout for Target 1
>>> Jul 24 05:37:17 chet scsi: [ID 107833 kern.warning] WARNING:
>>> /pci@0,0/pci1022,7450@a/pci1000,7130@5/st@1,0 (st17):
>>> Jul 24 05:37:17 chet    SCSI transport failed: reason 'reset':  
>>> giving up
>>>
>>> I'll put a cleaning tape in the drive. Is there an easy way to do  
>>> this with
>>> bacula (cleaning tape is in slot 10).
>>>
>> I believe there was a feature request for this but it is not
>> implemented yet. I just load and unload the cleaning tape via the
>> changer itself.
>>
>> John
>>
>


-------------------------------------------------------------------------
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