Next run btape again except enter 'fill' at the prompt

[EMAIL PROTECTED] wrote:
> Great ! It seems like it's working :
>
>
> C:\Program Files\Bacula\bin>mt -f Tape0 setblk 0
>
> C:\Program Files\Bacula\bin>btape -c "C:\Documents and Settings\All 
> Users\Applic
> ation Data\Bacula\bacula-sd.conf" Tape0
> Tape block granularity is 1024 bytes.
> btape: ../../stored/butil.c:286 Using device: "Tape0" for writing.
> 26-Mar 15:51 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> 26-Mar 15:51 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1.
> 26-Mar 15:51 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> 26-Mar 15:51 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1.
> btape: ../../stored/btape.c:368 open device "HPStorageTape0" (Tape0): 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: ../../stored/btape.c:825 Wrote 1000 blocks of 64412 bytes.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:841 Wrote 1000 blocks of 64412 bytes.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:850 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: ../../stored/btape.c:937 Wrote 1000 blocks of 64412 bytes.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:953 Wrote 1000 blocks of 64412 bytes.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:962 Rewind OK.
> Reposition to file:block 0:4
> Block 5 re-read correctly.
> Reposition to file:block 0:200
> Block 201 re-read correctly.
> Reposition to file:block 0:999
> Block 1000 re-read correctly.
> Reposition to file:block 1:0
> Block 1001 re-read correctly.
> Reposition to file:block 1:600
> Block 1601 re-read correctly.
> Reposition to file:block 1:999
> Block 2000 re-read correctly.
> === Test Succeeded. End Write, rewind, and re-read test ===
>
>
>
> === Append files test ===
>
> This test is essential to Bacula.
>
> I'm going to write one record  in file 0,
>                    two records in file 1,
>              and three records in file 2
>
> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> 26-Mar 15:52 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> 26-Mar 15:52 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1.
> btape: ../../stored/btape.c:368 open device "HPStorageTape0" (Tape0): OK
> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1091 Now moving to end of medium.
> btape: ../../stored/btape.c:520 Moved to end of medium.
> We should be in file 3. I am at file 3. This is correct!
>
> Now the important part, I am going to attempt to append to the tape.
>
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0)
> Done appending, there should be no I/O errors
>
> Doing Bacula scan of blocks:
> 1 block of 64448 bytes in file 1
> End of File mark.
> 2 blocks of 64448 bytes in file 2
> End of File mark.
> 3 blocks of 64448 bytes in file 3
> End of File mark.
> 1 block of 64448 bytes in file 4
> End of File mark.
> Total files=4, blocks=7, bytes = 451,136
> End scanning the tape.
> We should be in file 4. I am at file 4. This is correct!
>
> The above Bacula scan should have output identical to what follows.
> Please double check it ...
> === Sample correct output ===
> 1 block of 64448 bytes in file 1
> End of File mark.
> 2 blocks of 64448 bytes in file 2
> End of File mark.
> 3 blocks of 64448 bytes in file 3
> End of File mark.
> 1 block of 64448 bytes in file 4
> End of File mark.
> Total files=4, blocks=7, bytes = 451,136
> === End sample correct output ===
>
> If the above scan output is not identical to the
> sample output, you MUST correct the problem
> or Bacula will not be able to write multiple Jobs to
> the tape.
>
>
> === Write, backup, and re-read test ===
>
> I'm going to write three records and an EOF
> then backup over the EOF and re-read the last record.
> Bacula does this after writing the last block on the
> tape to verify that the block was written correctly.
>
> This is not an *essential* feature ...
>
> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:704 Wrote first record of 64412 bytes.
> btape: ../../stored/btape.c:715 Wrote second record of 64412 bytes.
> btape: ../../stored/btape.c:726 Wrote third record of 64412 bytes.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:742 Backspaced over EOF OK.
> btape: ../../stored/btape.c:747 Backspace record OK.
> btape: ../../stored/btape.c:765
> Block re-read correct. Test succeeded!
> === End Write, backup, and re-read test ===
>
>
>
> === Forward space files test ===
>
> This test is essential to Bacula.
>
> I'm going to write five files then test forward spacing
>
> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1571 Wrote one record of 64412 bytes.
> btape: ../../stored/btape.c:1573 Wrote block to device.
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1305 Now forward spacing 1 file.
> We should be in file 1. I am at file 1. This is correct!
> btape: ../../stored/btape.c:1317 Now forward spacing 2 files.
> We should be in file 3. I am at file 3. This is correct!
> btape: ../../stored/btape.c:469 Rewound "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1330 Now forward spacing 4 files.
> We should be in file 4. I am at file 4. This is correct!
>
> btape: ../../stored/btape.c:1348 Now forward spacing 1 more file.
> We should be in file 5. I am at file 5. This is correct!
>
> === End Forward space files test ===
>
>
> Ah, I see you have an autochanger configured.
> To test the autochanger you must have a blank tape
>  that I can write on in Slot 1.
>
> Do you wish to continue with the Autochanger test? (y/n): y
>
>
> === Autochanger test ===
>
> 3301 Issuing autochanger "loaded" command.
> Slot 1 loaded. I am going to unload it.
> 3302 Issuing autochanger "unload 1 0" command.
> unload status=OK 0
> 3303 Issuing autochanger "load 1 0" command.
> 3303 Autochanger "load 1 0" status is OK.
> 26-Mar 15:55 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> 26-Mar 15:55 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1.
> btape: ../../stored/btape.c:368 open device "HPStorageTape0" (Tape0): OK
> btape: ../../stored/btape.c:1235 Rewound "HPStorageTape0" (Tape0)
> btape: ../../stored/btape.c:1242 Wrote EOF to "HPStorageTape0" (Tape0)
>
> The test autochanger worked!!
>
> *
>
> Euuh.. !  What I have to do now.. ?
>
> Nawfel
>
> ----- Message d'origine ----
> De : Brian Debelius <[EMAIL PROTECTED]>
> À : [EMAIL PROTECTED]
> Cc : bacula-users@lists.sourceforge.net
> Envoyé le : Lundi, 26 Mars 2007, 15h44mn 34s
> Objet : Re: Re : Re : [Bacula-users] Re : Windows::Permission denied
>
> run this
> mt -f  Tape0 setblk 0
>
> then run btape again.
>
> [EMAIL PROTECTED] wrote:
> > I've commented the min and max lines.. ran the btape command but I
> > think there is a problem :
> >
> > C:\Program Files\Bacula\bin>btape -c "C:\Documents and Settings\All
> > Users\Applic
> > ation Data\Bacula\bacula-sd.conf" Tape0
> > Tape block granularity is 1024 bytes.
> > btape: ../../stored/butil.c:286 Using device: "Tape0" for writing.
> > 26-Mar 15:33 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> > 26-Mar 15:33 btape: 3302 Autochanger "loaded? drive 0", result is 
> Slot 1.
> > 26-Mar 15:33 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> > 26-Mar 15:33 btape: 3302 Autochanger "loaded? drive 0", result is 
> Slot 1.
> > btape: ../../stored/btape.c:368 open device "HPStorageTape0" (Tape0): 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 ...
> >
> > 26-Mar 15:33 btape: btape Error: ../../stored/block.c:569 Write error
> > at 0:0 on
> > device "HPStorageTape0" (Tape0). ERR=Input/output error.
> > 26-Mar 15:33 btape: btape Error: Backspace record at EOT failed.
> > ERR=Input/outpu
> > t error
> > btape: ../../stored/btape.c:821 Error writing block to device.
> > *
> >
> >
> > ----- Message d'origine ----
> > De : Brian Debelius <[EMAIL PROTECTED]>
> > À : [EMAIL PROTECTED]
> > Cc : bacula-users@lists.sourceforge.net
> > Envoyé le : Lundi, 26 Mars 2007, 15h23mn 38s
> > Objet : Re: Re : [Bacula-users] Re : Windows::Permission denied
> >
> > Nawfel, you are getting ahead of yourself.  Try taking out the min and
> > max like kern suggested.
> >
> > after you make the changes, load a tape into Tape0
> > goto your bacula program directory and run
> > btape -c "c:\program files\all users\application
> > data\bacula\bacula-sd.conf" Tape0
> > enter 'test' at the prompt
> >
> >
> > [EMAIL PROTECTED] wrote:
> > > with or without the Min/Max block size params I get the following
> > > message :
> > >
> > > ilemma009-sd Version: 2.0.3 (06 March 2007) Linux Cross-compile Win32
> > > Daemon started 26-Mar-07 15:08, 1 Job run since started.
> > >  Heap: bytes=18,066 max_bytes=114,757 bufs=80 max_bufs=93
> > >
> > > Running Jobs:
> > > No Jobs running.
> > > ====
> > >
> > > Jobs waiting to reserve a drive:
> > > ====
> > >
> > > Terminated Jobs:
> > >  JobId  Level    Files      Bytes   Status   Finished        Name
> > > ===================================================================
> > >     22  Full          0         0   Error    26-Mar-07 15:04 Client1
> > >     24  Full          0         0   Error    26-Mar-07 15:10 Client1
> > > ====
> > >
> > > Device status:
> > > Autochanger "HPStorageAutochanger" with devices:
> > >    "HPStorageTape0" (Tape0)
> > >    "HPStorageTape1" (Tape1)
> > > Device "HPStorageTape0" (Tape0) is not open.
> > >     Slot 1 is loaded in drive 0.
> > > Device "HPStorageTape1" (Tape1) is not open.
> > >     Drive 1 status unknown.
> > > ====
> > >
> > > In Use Volume status:
> > > ====
> > >
> > >
> > > when I type "messages " in the bconsole I get the following : (sorry
> > > for the lenth ! and thank you for your interest)
> > >
> > > 23-Mar 03:03 ilemma009-sd: Job Client1.2007-03-23_02.03.00 waiting.
> > > Cannot find
> > > any appendable volumes.
> > > Please use the "label"  command to create a new Volume for:
> > >     Storage:      "HPStorageTape0" (Tape0)
> > >     Media type:   damnedHPUltriumTape
> > >     Pool:         Default
> > > 23-Mar 03:03 ilemma009-dir: Client1.2007-03-23_02.03.00 Error:
> > > ../../lib/message
> > > .c:713 Operator mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Intervention needed for Client1.2007-03-23_02.03.00"
> > > Administrato
> > > r
> > > ERR=Unknown error
> > > 23-Mar 05:03 ilemma009-sd: Job Client1.2007-03-23_02.03.00 waiting.
> > > Cannot find
> > > any appendable volumes.
> > > Please use the "label"  command to create a new Volume for:
> > >     Storage:      "HPStorageTape0" (Tape0)
> > >     Media type:   damnedHPUltriumTape
> > >     Pool:         Default
> > > 23-Mar 05:03 ilemma009-dir: Client1.2007-03-23_02.03.00 Error:
> > > ../../lib/message
> > > .c:713 Operator mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Intervention needed for Client1.2007-03-23_02.03.00"
> > > Administrato
> > > r
> > > ERR=Unknown error
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error:
> > > Network err
> > > or with FD during Backup: ERR=Broken pipe
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error:
> > > No Job stat
> > > us returned from FD.
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error:
> > > ../../cats/sql_up
> > > date.c:194 ../../cats/sql_update.c:194 update UPDATE Job SET
> > > JobStatus='f',EndTi
> > > me='2007-03-23
> > > 18:32:37',ClientId=1,JobBytes=0,JobFiles=0,JobErrors=3,VolSession
> > >
> > 
> Id=1,VolSessionTime=1174650862,PoolId=1,FileSetId=1,JobTDate=1174674757,RealEndT
> > > ime='2007-03-23 18:32:37',PriorJobId=0 WHERE JobId=20 failed:
> > > Can't connect to MySQL server on 'localhost' (10061)
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error
> > > updating
> > > job record. ../../cats/sql_update.c:194 update UPDATE Job SET
> > > JobStatus='f',EndT
> > > ime='2007-03-23
> > > 18:32:37',ClientId=1,JobBytes=0,JobFiles=0,JobErrors=3,VolSessio
> > >
> > 
> nId=1,VolSessionTime=1174650862,PoolId=1,FileSetId=1,JobTDate=1174674757,RealEnd
> > > Time='2007-03-23 18:32:37',PriorJobId=0 WHERE JobId=20 failed:
> > > Can't connect to MySQL server on 'localhost' (10061)
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error:
> > > ../../cats/
> > > sql_get.c:288 ../../cats/sql_get.c:288 query SELECT
> > > VolSessionId,VolSessionTime,
> > >
> > 
> PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus,Type,Level,Cli
> > > entId,Name,PriorJobId,RealEndTime,JobId FROM Job WHERE JobId=20 
> failed:
> > > Can't connect to MySQL server on 'localhost' (10061)
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error
> > > getting j
> > > ob record for stats: ../../cats/sql_get.c:288 query SELECT
> > > VolSessionId,VolSessi
> > >
> > 
> onTime,PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus,Type,Le
> > > vel,ClientId,Name,PriorJobId,RealEndTime,JobId FROM Job WHERE JobId=20
> > > failed:
> > > Can't connect to MySQL server on 'localhost' (10061)
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error:
> > > ../../cats/
> > > sql_get.c:663 ../../cats/sql_get.c:663 query SELECT
> > > ClientId,Name,Uname,AutoPrun
> > > e,FileRetention,JobRetention FROM Client WHERE
> > > Client.Name='ilemma009-fd' failed
> > > :
> > > Can't connect to MySQL server on 'localhost' (10061)
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Warning: Error
> > > getting c
> > > lient record for stats: Client record not found in Catalog.
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error:
> > > ../../cats/
> > > sql.c:233 ../../cats/sql.c:233 query SELECT count(*) from Media 
> failed:
> > > Can't connect to MySQL server on 'localhost' (10061)
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Fatal error:
> > > ../../cats/
> > > sql_get.c:351 ../../cats/sql_get.c:351 query SELECT
> > > VolumeName,MAX(VolIndex) FRO
> > > M JobMedia,Media WHERE JobMedia.JobId=20 AND
> > > JobMedia.MediaId=Media.MediaId GROU
> > > P BY VolumeName ORDER BY 2 ASC failed:
> > > Can't connect to MySQL server on 'localhost' (10061)
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error: Bacula
> > > 2.0.3 (06M
> > > ar07): 23-Mar-2007 18:32:37
> > >   JobId:                  20
> > >   Job:                    Client1.2007-03-23_02.03.00
> > >   Backup Level:           Full
> > >   Client:                 "ilemma009-fd"
> > >   FileSet:                "Test Set" 2007-03-08 23:05:00
> > >   Pool:                   "Default" (From Job resource)
> > >   Storage:                "HPTape" (From Job resource)
> > >   Scheduled time:         23-Mar-2007 02:03:00
> > >   Start time:             23-Mar-2007 02:03:03
> > >   End time:               23-Mar-2007 18:32:37
> > >   Elapsed time:           16 hours 29 mins 34 secs
> > >   Priority:               10
> > >   FD Files Written:       0
> > >   SD Files Written:       0
> > >   FD Bytes Written:       0 (0 B)
> > >   SD Bytes Written:       0 (0 B)
> > >   Rate:                   0.0 KB/s
> > >   Software Compression:   None
> > >   VSS:                    no
> > >   Encryption:             no
> > >   Volume name(s):
> > >   Volume Session Id:      1
> > >   Volume Session Time:    1174650862
> > >   Last Volume Bytes:      0 (0 B)
> > >   Non-fatal FD errors:    4
> > >   SD Errors:              0
> > >   FD termination status:  Error
> > >   SD termination status:  Error
> > >   Termination:            *** Backup Error ***
> > >
> > > 23-Mar 18:32 ilemma009-dir: Client1.2007-03-23_02.03.00 Error:
> > > ../../lib/message
> > > .c:492 Mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator
> > > ERR=Unknown error
> > > 26-Mar 11:33 ilemma009-dir: Start Backup JobId 21,
> > > Job=Client1.2007-03-26_11.33.
> > > 00
> > > 26-Mar 11:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting.
> > > Cannot find
> > > any appendable volumes.
> > > Please use the "label"  command to create a new Volume for:
> > >     Storage:      "HPStorageTape0" (Tape0)
> > >     Media type:   damnedHPUltriumTape
> > >     Pool:         Default
> > > 26-Mar 11:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error:
> > > ../../lib/message
> > > .c:713 Operator mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00"
> > > Administrato
> > > r
> > > ERR=Unknown error
> > > 26-Mar 12:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting.
> > > Cannot find
> > > any appendable volumes.
> > > Please use the "label"  command to create a new Volume for:
> > >     Storage:      "HPStorageTape0" (Tape0)
> > >     Media type:   damnedHPUltriumTape
> > >     Pool:         Default
> > > 26-Mar 12:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error:
> > > ../../lib/message
> > > .c:713 Operator mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00"
> > > Administrato
> > > r
> > > ERR=Unknown error
> > > 26-Mar 14:33 ilemma009-sd: Job Client1.2007-03-26_11.33.00 waiting.
> > > Cannot find
> > > any appendable volumes.
> > > Please use the "label"  command to create a new Volume for:
> > >     Storage:      "HPStorageTape0" (Tape0)
> > >     Media type:   damnedHPUltriumTape
> > >     Pool:         Default
> > > 26-Mar 14:33 ilemma009-dir: Client1.2007-03-26_11.33.00 Error:
> > > ../../lib/message
> > > .c:713 Operator mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Intervention needed for Client1.2007-03-26_11.33.00"
> > > Administrato
> > > r
> > > ERR=Unknown error
> > > 26-Mar 15:04 ilemma009-dir: Start Backup JobId 22,
> > > Job=Client1.2007-03-26_15.04.
> > > 00
> > > 26-Mar 15:04 ilemma009-sd: Failed command:
> > > 26-Mar 15:04 ilemma009-sd: Client1.2007-03-26_15.04.00 Fatal error:
> > >      Device "HPStorageAutochanger" with MediaType
> > > "damnedHPUltriumTape" requeste
> > > d by DIR not found in SD Device resources.
> > > 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Fatal error:
> > >      Storage daemon didn't accept Device "HPStorageAutochanger" 
> because:
> > >      3924 Device "HPStorageAutochanger" not in SD Device resources.
> > > 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Error: Bacula
> > > 2.0.3 (06M
> > > ar07): 26-Mar-2007 15:04:02
> > >   JobId:                  22
> > >   Job:                    Client1.2007-03-26_15.04.00
> > >   Backup Level:           Full
> > >   Client:                 "ilemma009-fd" 2.0.3 (06Mar07)
> > > Linux,Cross-compile,Win
> > > 32
> > >   FileSet:                "Test Set" 2007-03-08 23:05:00
> > >   Pool:                   "Default" (From Job resource)
> > >   Storage:                "HPTape" (From Job resource)
> > >   Scheduled time:         26-Mar-2007 15:04:00
> > >   Start time:             26-Mar-2007 15:04:02
> > >   End time:               26-Mar-2007 15:04:02
> > >   Elapsed time:           0 secs
> > >   Priority:               10
> > >   FD Files Written:       0
> > >   SD Files Written:       0
> > >   FD Bytes Written:       0 (0 B)
> > >   SD Bytes Written:       0 (0 B)
> > >   Rate:                   0.0 KB/s
> > >   Software Compression:   None
> > >   VSS:                    no
> > >   Encryption:             no
> > >   Volume name(s):
> > >   Volume Session Id:      1
> > >   Volume Session Time:    1174921327
> > >   Last Volume Bytes:      0 (0 B)
> > >   Non-fatal FD errors:    0
> > >   SD Errors:              0
> > >   FD termination status:
> > >   SD termination status:
> > >   Termination:            *** Backup Error ***
> > >
> > > 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error
> > > 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:302 Retrying connection using "localhost".
> > > 26-Mar 15:04 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error
> > > 26-Mar 15:04 ilemma009-dir: Client1.2007-03-26_15.04.00 Error:
> > > ../../lib/message
> > > .c:492 Mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator
> > > ERR=Unknown error
> > > 26-Mar 15:07 ilemma009-dir: Start Backup JobId 23,
> > > Job=Client1.2007-03-26_15.07.
> > > 00
> > > 26-Mar 15:07 ilemma009-sd: Failed command:
> > > 26-Mar 15:07 ilemma009-sd: Client1.2007-03-26_15.07.00 Fatal error:
> > >      Device "HPStorageAutochanger" with MediaType
> > > "damnedHPUltriumTape" requeste
> > > d by DIR not found in SD Device resources.
> > > 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Fatal error:
> > >      Storage daemon didn't accept Device "HPStorageAutochanger" 
> because:
> > >      3924 Device "HPStorageAutochanger" not in SD Device resources.
> > > 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Error: Bacula
> > > 2.0.3 (06M
> > > ar07): 26-Mar-2007 15:07:02
> > >   JobId:                  23
> > >   Job:                    Client1.2007-03-26_15.07.00
> > >   Backup Level:           Full
> > >   Client:                 "ilemma009-fd" 2.0.3 (06Mar07)
> > > Linux,Cross-compile,Win
> > > 32
> > >   FileSet:                "Test Set" 2007-03-08 23:05:00
> > >   Pool:                   "Default" (From Job resource)
> > >   Storage:                "HPTape" (From Job resource)
> > >   Scheduled time:         26-Mar-2007 15:07:00
> > >   Start time:             26-Mar-2007 15:07:02
> > >   End time:               26-Mar-2007 15:07:02
> > >   Elapsed time:           0 secs
> > >   Priority:               10
> > >   FD Files Written:       0
> > >   SD Files Written:       0
> > >   FD Bytes Written:       0 (0 B)
> > >   SD Bytes Written:       0 (0 B)
> > >   Rate:                   0.0 KB/s
> > >   Software Compression:   None
> > >   VSS:                    no
> > >   Encryption:             no
> > >   Volume name(s):
> > >   Volume Session Id:      1
> > >   Volume Session Time:    1174921579
> > >   Last Volume Bytes:      0 (0 B)
> > >   Non-fatal FD errors:    0
> > >   SD Errors:              0
> > >   FD termination status:
> > >   SD termination status:
> > >   Termination:            *** Backup Error ***
> > >
> > > 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error
> > > 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:302 Retrying connection using "localhost".
> > > 26-Mar 15:07 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error
> > > 26-Mar 15:07 ilemma009-dir: Client1.2007-03-26_15.07.00 Error:
> > > ../../lib/message
> > > .c:492 Mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator
> > > ERR=Unknown error
> > > 26-Mar 15:10 ilemma009-dir: Start Backup JobId 24,
> > > Job=Client1.2007-03-26_15.10.
> > > 00
> > > 26-Mar 15:10 ilemma009-sd: Failed command:
> > > 26-Mar 15:10 ilemma009-sd: Client1.2007-03-26_15.10.00 Fatal error:
> > >      Device "HPStorageAutochanger" with MediaType
> > > "damnedHPUltriumTape" requeste
> > > d by DIR not found in SD Device resources.
> > > 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Fatal error:
> > >      Storage daemon didn't accept Device "HPStorageAutochanger" 
> because:
> > >      3924 Device "HPStorageAutochanger" not in SD Device resources.
> > > 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Error: Bacula
> > > 2.0.3 (06M
> > > ar07): 26-Mar-2007 15:10:02
> > >   JobId:                  24
> > >   Job:                    Client1.2007-03-26_15.10.00
> > >   Backup Level:           Full
> > >   Client:                 "ilemma009-fd" 2.0.3 (06Mar07)
> > > Linux,Cross-compile,Win
> > > 32
> > >   FileSet:                "Test Set" 2007-03-08 23:05:00
> > >   Pool:                   "Default" (From Job resource)
> > >   Storage:                "HPTape" (From Job resource)
> > >   Scheduled time:         26-Mar-2007 15:10:00
> > >   Start time:             26-Mar-2007 15:10:02
> > >   End time:               26-Mar-2007 15:10:02
> > >   Elapsed time:           0 secs
> > >   Priority:               10
> > >   FD Files Written:       0
> > >   SD Files Written:       0
> > >   FD Bytes Written:       0 (0 B)
> > >   SD Bytes Written:       0 (0 B)
> > >   Rate:                   0.0 KB/s
> > >   Software Compression:   None
> > >   VSS:                    no
> > >   Encryption:             no
> > >   Volume name(s):
> > >   Volume Session Id:      1
> > >   Volume Session Time:    1174921699
> > >   Last Volume Bytes:      0 (0 B)
> > >   Non-fatal FD errors:    0
> > >   SD Errors:              0
> > >   FD termination status:
> > >   SD termination status:
> > >   Termination:            *** Backup Error ***
> > >
> > > 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:300 Error unknown mail host "@smtp_host@": ERR=No error
> > > 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:302 Retrying connection using "localhost".
> > > 26-Mar 15:10 ilemma009-dir: ../../lib/message.c:481 Mail prog: bsmtp:
> > > ../../tool
> > > s/bsmtp.c:329 Fatal connect error to localhost: ERR=No error
> > > 26-Mar 15:10 ilemma009-dir: Client1.2007-03-26_15.10.00 Error:
> > > ../../lib/message
> > > .c:492 Mail program terminated in error.
> > > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> > > Administrato
> > > r" -s "Bacula: Backup Fatal Error of ilemma009-fd Full" Administrator
> > > ERR=Unknown error
> > > *
> > >
> > > ----- Message d'origine ----
> > > De : Kern Sibbald <[EMAIL PROTECTED]>
> > > À : bacula-users@lists.sourceforge.net
> > > Cc : Brian Debelius <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
> > > Envoyé le : Lundi, 26 Mars 2007, 14h40mn 00s
> > > Objet : Re: [Bacula-users] Re : Windows::Permission denied
> > >
> > > I don't think that will work.  I recommend that you do not put min/max
> > > block
> > > size directives unless you are forced to, and almost certainly Bacula
> > > will
> > > not work with those values, which are what the drive supports but not
> > > approprate for Bacula blocks.
> > >
> > > On Monday 26 March 2007 15:53, Brian Debelius wrote:
> > > > Changes below in bold
> > > >
> > > >
> > > > Device {
> > > > Name = HPStorageTape0
> > > > Archive Device = Tape0
> > > > Drive Index = 0
> > > > Device Type = Tape
> > > > Changer Device = 4:0:5:1
> > > > Media Type = "*HPUltriumTape*"
> > > > Autochanger = yes
> > > > *LabelMedia = yes
> > > > AutomaticMount = yes*
> > > > Alert Command = "tapeinfo -f %c | findstr TapeAlert"
> > > > Autoselect = yes
> > > > Always Open = *no*
> > > > Removable media = yes
> > > > Random access = no
> > > > Requires Mount = no
> > > > Minimum block size = *1*
> > > > Maximum block size = *16777215*
> > > > }
> > > >
> > > > Device {
> > > > Name = HPStorageTape1
> > > > Archive Device = Tape1
> > > > Drive Index = 1
> > > > Device Type = Tape
> > > > Changer Device = 4:0:5:1
> > > > Media Type = "*HPUltriumTape*"
> > > > Autochanger = yes
> > > > *LabelMedia = yes
> > > > AutomaticMount = yes*
> > > > Alert Command = "tapeinfo -f %c | findstr TapeAlert"
> > > > Autoselect = yes
> > > > Always Open = *no*
> > > > Removable media = yes
> > > > Random access = no
> > > > Requires Mount = no
> > > > Minimum block size = *1*
> > > > Maximum block size = *16777215*
> > > >
> > > > }
> > > >
> > > > Autochanger {
> > > > Name = HPStorageAutochanger
> > > > Device = HPStorageTape0,HPStorageTape1
> > > > Changer Command = "mtx-changer %c %o %S %a %d"
> > > > Changer Device = 4:0:5:1
> > > > #  Label media = yes
> > > > #  Automatic mount = yes
> > > > }
> > > > [EMAIL PROTECTED] wrote:
> > > > > C:\Program Files\Bacula\bin>tapeinfo -f Tape0
> > > > > Product Type: Tape Drive
> > > > > Vendor ID: 'HP      '
> > > > > Product ID: 'Ultrium 1-SCSI  '
> > > > > Revision: 'P54W'
> > > > > Attached Changer API: No
> > > > > SerialNumber: 'HU10628AN8'
> > > > > MinBlock:1
> > > > > MaxBlock:16777215
> > > > > SCSI ID: 0
> > > > > SCSI LUN: 0
> > > > > Ready: no
> > > > >
> > > > > Device {
> > > > > Name = HPStorageTape0Archive Device = Tape0
> > > > > Device Type = Tape
> > > > > Media Type = "*HPUltriumTape*"
> > > > > Autochanger = yes
> > > > > Changer Device = 4:0:5:1
> > > > > Alert Command = "tapeinfo -f %c | findstr TapeAlert"
> > > > >
> > > > > Autoselect = yes
> > > > > Always Open = yes
> > > > > Removable media = yes
> > > > > Random access = no
> > > > > Requires Mount = no
> > > > > Minimum block size = 100
> > > > > Maximum block size = 100
> > > > > }
> > > > >
> > > > > Device {
> > > > > Name = HPStorageTape1
> > > > > Archive Device = Tape1
> > > > > Device Type = Tape
> > > > > Media Type = "damnedHPUltriumTape"
> > > > > Autochanger = yes
> > > > > Changer Device = 4:0:5:1
> > > > > Alert Command = "tapeinfo -f %c | findstr TapeAlert"
> > > > > Drive Index = 1
> > > > > Autoselect = yes
> > > > > Always Open = yes
> > > > > Removable media = yes
> > > > > Random access = no
> > > > > Requires Mount = no
> > > > > Minimum block size = 100
> > > > > Maximum block size = 100
> > > > > }
> > > > >
> > > > > Autochanger {
> > > > > Name = HPStorageAutochanger
> > > > > Device = HPStorageTape0,HPStorageTape1
> > > > > Changer Command = "mtx-changer %c %o %S %a %d"
> > > > > Changer Device = 4:0:5:1
> > > > > #  Label media = yes
> > > > > #  Automatic mount = yes
> > > > > }
> > > >
> > > >
> > >
> > >
> > > 
> ------------------------------------------------------------------------
> > > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
> > > questions ! Profitez des connaissances, des opinions et des
> > > expériences des internautes sur Yahoo! Questions/Réponses
> > > <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>.
> >
> >
> >
> > ------------------------------------------------------------------------
> > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
> > questions ! Profitez des connaissances, des opinions et des
> > expériences des internautes sur Yahoo! Questions/Réponses
> > <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>.
>
>
>
> ------------------------------------------------------------------------
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos 
> questions ! Profitez des connaissances, des opinions et des 
> expériences des internautes sur Yahoo! Questions/Réponses 
> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to