Hi again from Texas, USA.

>-----Original Message-----
>From: Ian [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 05, 2005 10:47 AM
>To: Matt Bettinger
>Cc: bacula-users@lists.sourceforge.net
>Subject: Re: [Bacula-users] Prevent rewind after completetion
>
>On Tue, 5 Apr 2005, Matt Bettinger wrote:
>
>> Hi.
>>
>Hello. :)
>
>> We are still experimenting with bacula on freebsd and mysql database.
>>
>> I have been pleased with the documentation, the mailing lists, and
the
>> software itself but I still have one question when it comes to
>> consecutive jobs.  Is there a way to stop the tape drive from
rewinding
>> the tape after EACH job?  I have 5 consecutive test jobs that take
>quite
>> a long time because the drive rewinds after job 1, forwards to the
last
>> file and starts job 2, rewinds then forwards to the last file for job
3
>> and so on.  Is it possible to 'park' the drive at the end of the last
>> completed job file thus keeping it in a ready position for the next
>job?

Here is the device we are talking about 

8<-------------bacula-sd.conf----------
Device {
  Name = DLT4000
  Media Type = DLT
    Archive Device = /dev/nsa0
  LabelMedia = yes;                   # lets Bacula label unlabeled
media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Offline On Unmount      = no
  Hardware End of Medium  = no
  BSF at EOM              = yes
  Backward Space Record   = no
  Fast Forward Space File = no
  TWO EOF                 = yes
}

8<-------------bacula-sd.conf----------



>Do you have the 'AlwaysOpen' directive set to 'no' in the storage
daemon
>config? I have to use this to get it working ok on NetBSD, and this
>causes
>it to unmount (and rewind) the tape after every job.
>
>Also, what device are you using? Again, I'm only speaking for NetBSD,
but
>there is a difference between /dev/nrst and /dev/rst, with /dev/nrst
>being
>the 'no rewind on close' form.

So,  I am using /dev/nsa0 .  Since you posted me netbsd info I will
display the freebsd way  :

The special files named /dev/[n]sa* refer to SCSI tape drives, which may
     be attached to the system.

...

The rewind devices automatically rewind when the last requested read,
write or seek has finished, or the end of the tape has been reached.
The letter `n' is usually prepended to the name of the no-rewind
devices.


Any other ideas? 

Re,

-mb



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to