That's correct.  If you specify "Always Open = no" and "Offline On Unmount =
yes" then every time bacula wants to write to the tape it will rewind first.

Thanks,
Chris  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Ryan Novosielski
> Sent: Monday, 08 August, 2005 10:01
> To: Sven Carstens
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Tape rewinds during idle times?
> 
> Not sure if it's related or not, but there is a place to 
> define whether 
> or not to keep the device open. In the manual, there is a note that 
> mentions should you decide not to keep the device open, you 
> run the risk 
> of extraneous rewinds. If you haven't already seen that, take 
> a look and 
> see if it applies.
> 
> ---- _  _ _  _ ___  _  _  _
> |Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support 
> Spec. III
> |$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 
> 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science 
> Bldg - C630 
> 
> 
> 
> Sven Carstens wrote:
> 
> >Hi List,
> >
> >my problem seems to be that the tape rewinds during idle times.
> >That is during spooling to disk before writing to tape.
> >
> >Two short jobs completed, third job is spooling 38 GB to 
> disk and takes
> >about 1h45m for this. Then it tries to write to the tape.
> >
> >Debugging output from storage demon
> >--------------------------------------------------
> >epistaxis-sd: mem_pool.c:111 sm_get_pool_memory reuse 
> 80ab508 to ../lib/berrno.h:61
> >epistaxis-sd: mem_pool.c:221 free_pool_memory 80ab508 pool=4 
> from ../lib/berrno.h:66
> >epistaxis-sd: message.c:1005 Enter Jmsg type=4
> >epistaxis-sd: message.c:573 Enter dispatch_msg type=4 
> msg=epistaxis-sd: Troglodyte.2005-08-08_12.46.14 Error: Error 
> writing final EOF to tape. This tape may not be readable.
> >dev.c:1213 ioctl MTWEOF error on /dev/scsi/nsth1-c800c0i6l0. 
> ERR=Input/output error.
> >
> >epistaxis-sd: message.c:731 DIRECTOR for following msg: 
> epistaxis-sd: Troglodyte.2005-08-08_12.46.14 Error: Error 
> writing final EOF to tape. This tape may not be readable.
> >dev.c:1213 ioctl MTWEOF error on /dev/scsi/nsth1-c800c0i6l0. 
> ERR=Input/output error.
> >epistaxis-sd: block.c:680 WEOF error.
> >epistaxis-sd: askdir.c:229 Update cat VolFiles=3
> >epistaxis-sd: askdir.c:247 update_volume_info(): CatReq 
> Job=Troglodyte.2005-08-08_12.46.14 UpdateMedia 
> VolName=FULL_03 VolJobs=0 VolFiles=3 VolBlocks=61999 
> VolBytes=3999679298 VolMounts=3 VolErrors=3 VolWrites=1178726 
> MaxVolBytes=0 EndTime=1123504567 VolStatus=Append Slot=6 
> relabel=0 InChanger=1 VolReadTime=0 VolWriteTime=0
> >epistaxis-sd: askdir.c:91 Get vol info=1000 OK 
> VolName=FULL_03 VolJobs=0 VolFiles=3 VolBlocks=61999 
> VolBytes=3999679298 VolMounts=3 VolErrors=3 VolWrites=1178726 
> MaxVolBytes=0 VolCapacityBytes=0 VolStatus=Append Slot=6 
> MaxVolJobs=0 MaxVolFiles=0 InChanger=1 VolReadTime=0 
> VolWriteTime=0 EndFile=3 EndBlock=15499
> >epistaxis-sd: askdir.c:112 do_reqest_vol_info got slot=6 
> Volume=FULL_03
> >epistaxis-sd: askdir.c:255 get_volume_info(): 1000 OK 
> VolName=FULL_03 VolJobs=0 VolFiles=3 VolBlocks=61999 
> VolBytes=3999679298 VolMounts=3 VolErrors=3 VolWrites=1178726 
> MaxVolBytes=0 VolCapacityBytes=0 VolStatus=Append Slot=6 
> MaxVolJobs=0 MaxVolFiles=0 InChanger=1 VolReadTime=0 
> VolWriteTime=0 EndFile=3 EndBlock=15499
> >epistaxis-sd: block.c:686 dir_update_volume_info terminate 
> writing -- ERROR
> >epistaxis-sd: block.c:711 Leave terminate_writing_volume -- ERROR
> > EOD EOF Bacula status: file=3 block=15500
> > Device status: ONLINE IM_REP_EN file=3 block=15500
> >epistaxis-sd: device.c:97 ======= Got EOD ========
> >epistaxis-sd: device.c:414 block set 3 from device.c:99
> >epistaxis-sd: device.c:400 unlock from device.c:101
> >epistaxis-sd: device.c:105 Call update_vol_info Stat=Full Vol=FULL_03
> >epistaxis-sd: askdir.c:229 Update cat VolFiles=3
> >----------------------------------------------------------
> >
> >Bacula label on this tape is overwritten with EOF and 
> destroyed. So I think
> >that somehow the tape was rewound to the start.
> >
> >Bacula is 1.36.3 and uses the tape exclusively. System is 
> SuSE 9.0 with Kernel-2.4.21-286.
> >
> >Changer is:
> >----------------------------------------------------------
> >scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
> >        <Adaptec 2940 Ultra SCSI adapter>
> >        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
> >
> >  Vendor: SEAGATE   Model: LTO LDR CLL1600   Rev: S17r
> >  Type:   Medium Changer                     ANSI SCSI revision: 02
> >(scsi1:A:6): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
> >  Vendor: SEAGATE   Model: ULTRIUM06242-XXX  Rev: 1542
> >  Type:   Sequential-Access                  ANSI SCSI revision: 03
> >----------------------------------------------------------
> >
> >Any suggestions where to look for the culprit?
> >Anymore Info needed?
> >
> >CU Sven
> >
> >
> >-------------------------------------------------------
> >SF.Net email is Sponsored by the Better Software Conference & EXPO
> >September 19-22, 2005 * San Francisco, CA * Development 
> Lifecycle Practices
> >Agile & Plan-Driven Development * Managing Projects & Teams 
> * Testing & QA
> >Security * Process Improvement & Measurement * 
> http://www.sqe.com/bsce5sf
> >_______________________________________________
> >Bacula-users mailing list
> >Bacula-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/bacula-users
> >  
> >
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development 
> Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * 
> Testing & QA
> Security * Process Improvement & Measurement * 
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to