/dev/sg0} for the Changer Device name. Depending on your exact
configuration, and the number of autochangers or the type of
autochanger, what you specify here can vary. This directive is
- optional. See the \ilink{ Using Autochangers}{AutochangersChapter} chapter
+ optional. See the \ilink{Using Autochangers}{AutochangersChapter} chapter
of this manual for more details of using this and the following
autochanger directives.
for reserving a drive for something special such as a high priority
backup or restore operations.
-\item[Maximum Concurent Jobs = {\it num}]
-\index[sd]{MaximumConcurentJobs}
+\item[Maximum Concurrent Jobs = {\it num}]
+\index[sd]{MaximumConcurrentJobs}
{\bf Maximum Concurrent Jobs} is a directive that permits setting the maximum
number of Jobs that can run concurrently on a specified Device. Using this
\item [Always Open = {\it yes\vb{}no}]
\index[sd]{Always Open}
\index[sd]{Directive!Always Open}
- If {\bf Yes} (default), Bacula will always keep the device open unless
+ If {\bf Yes}, Bacula will always keep the device open unless
specifically {\bf unmounted} by the Console program. This permits
Bacula to ensure that the tape drive is always available, and properly
positioned. If you set
- {\bf AlwaysOpen} to {\bf no} {\bf Bacula} will only open the drive when
- necessary, and at the end of the Job if no other Jobs are using the
- drive, it will be freed. The next time Bacula wants to append to a tape
- on a drive that was freed, Bacula will rewind the tape and position it to
- the end. To avoid unnecessary tape positioning and to minimize
- unnecessary operator intervention, it is highly recommended that {\bf
- Always Open = yes}. This also ensures that the drive is available when
- Bacula needs it.
+ {\bf AlwaysOpen} to {\bf no} (default) {\bf Bacula} will only open the
+ drive when necessary, and at the end of the Job if no other Jobs are
+ using the drive, it will be freed. The next time Bacula wants to append
+ to a tape on a drive that was freed, Bacula will rewind the tape and
+ position it to the end. To avoid unnecessary tape positioning and to
+ minimize unnecessary operator intervention, it is highly recommended
+ that {\bf Always Open = yes}. This also ensures that the drive is
+ available when Bacula needs it.
If you have {\bf Always Open = yes} (recommended) and you want to use the
drive for something else, simply use the {\bf unmount} command in the
such as FreeBSD or Solaris, the Offline On Unmount will leave the drive
with no tape, and Bacula will not be able to properly open the drive and
may fail the job. For more information on this problem, please see the
- \ilink{description of Offline On Unmount}{NoTapeInDrive} in the Tape
- Testing chapter.
+ \borgxrlink{description of Offline On Unmount}{NoTapeInDrive}{problems}{subsection}
+ in the \borgxrlink{Tape Testing}{TapeTestingChapter}{problems}{chapter} of the \problemsman{}.
\item [Close on Poll= {\it yes\vb{}no}]
\index[sd]{Close on Poll}
executed, \%a is replaced with the Archive Device, and \%m with the Mount
Point.
-See the \ilink {Edit Codes}{mountcodes} section below for more details of
+See the \ilink{Edit Codes}{mountcodes} section below for more details of
the editing codes that can be used in this directive.
If you need to specify multiple commands, create a shell script.
\end{verbatim}
\normalsize
-See the \ilink {Edit Codes}{mountcodes} section below for more details of
+See the \ilink{Edit Codes}{mountcodes} section below for more details of
the editing codes that can be used in this directive.
If you need to specify multiple commands, create a shell script.
such as FreeBSD or Solaris, the Offline On Unmount will leave the drive
with no tape, and Bacula will not be able to properly open the drive and
may fail the job. For more information on this problem, please see the
- \ilink{description of Offline On Unmount}{NoTapeInDrive} in the Tape
- Testing chapter.
+ \borgxrlink{description of Offline On Unmount}{NoTapeInDrive}{problems}{subsection}
+ in the \borgxrlink{Tape Testing}{TapeTestingChapter}{problems}{chapter} of the \problemsman{}.
\item [Maximum Concurrent Jobs = \lt{}number\gt{}]
\index[sd]{Device Maximum Concurrent Jobs}
writing to a device that requires mount (USB). The default is to use the
working directory.
-\item [Maximum Part Size = {\it bytes}]
- \index[sd]{Maximum Part Size}
- \index[sd]{Directive!Maximum Part Size}
- This is the maximum size of a volume part file. The default is no limit.
- This directive is implemented only in version 1.37 and later.
-
- If the device requires mount, it is transferred to the device when this size
- is reached. In this case, you must take care to have enough disk space left
- in the spool directory.
-
- Otherwise, it is left on the hard disk.
-
- It is ignored for tape and FIFO devices.
-
-
\end{description}
\label{mountcodes}
\index[general]{Directives!Edit Codes}
\index[general]{Edit Codes for Mount and Unmount Directives }
-Before submitting the {\bf Mount Command}, {\bf Unmount Command},
-{\bf Write Part Command}, or {\bf Free Space Command} directives
+Before submitting the {\bf Mount Command}, {\bf Unmount Command},
+or {\bf Free Space Command} directives
to the operating system, Bacula performs character substitution of the
following characters:
%e = erase (set if cannot mount and first part)
%n = part number
%m = mount point
- %v = last part name (i.e. filename)
\end{verbatim}
\normalsize
All the directives in this section are implemented only in
Bacula version 1.37 and later and hence are available in version 1.38.6.
-As of version 1.39.5, the directives
+The directives:
"Requires Mount", "Mount Point", "Mount Command", and "Unmount Command"
apply to removable filesystems such as USB.
USB unless they are automounted, and to {\bf no} for all other devices
(tapes/files). This directive indicates if the device requires to be
mounted to be read, and if it must be written in a special way. If it
- set, {\bf Mount Point}, {\bf Mount Command}, {\bf Unmount Command} and
- {\bf Write Part Command} directives must also be defined.
+ set, {\bf Mount Point}, {\bf Mount Command}, and {\bf Unmount Command}
+ directives must also be defined.
\item [Mount Point = {\it directory}]
\index[sd]{Mount Point}