command.
first, {\bf /dev/sg1} for the second, ...) on the {\bf Changer Device = }
Bacula directive.
+You can also use the excellent {\bf lsscsi} tool.
+\footnotesize
+\begin{verbatim}
+$ lsscsi -g
+ [1:0:2:0] tape SEAGATE ULTRIUM06242-XXX 1619 /dev/st0 /dev/sg9
+ [1:0:14:0] mediumx STK L180 0315 /dev/sch0 /dev/sg10
+ [2:0:3:0] tape HP Ultrium 3-SCSI G24S /dev/st1 /dev/sg11
+ [3:0:0:0] enclosu HP A6255A HP04 - /dev/sg3
+ [3:0:1:0] disk HP 36.4G ST336753FC HP00 /dev/sdd /dev/sg4
+\end{verbatim}
+\normalsize
+
For more detailed information on what SCSI devices you have please see
the \ilink{Linux SCSI Tricks}{SCSITricks} section of the Tape Testing
chapter of this manual.
cause that Volume to be marked with a VolStatus of {\bf Cleaning}. This will
prevent Bacula from attempting to write on the Volume.
+\section{Use bconsole to display Autochanger content}
+
+The {\bf status slots storage=xxx} command displays autochanger content.
+
+\footnotesize
+\begin{verbatim}
+ Slot | Volume Name | Status | Type | Pool | Loaded |
+------+-----------------+----------+-------------------+----------------+---------|
+ 1 | 00001 | Append | DiskChangerMedia | Default | 0 |
+ 2 | 00002 | Append | DiskChangerMedia | Default | 0 |
+ 3 | | | | | 0 |
+ 4 | | | | | 0 |
+\end{verbatim}
+\normalsize
+
+
\label{interface}
\section{Bacula Autochanger Interface}
release release <storage-name>
reload reload conf file
run run <job-name>
- status status [storage | client]=<name>
+ status status [[slots] storage | dir | client]=<name>
setdebug sets debug level
setip sets new client address -- if authorized
show show (resource records) [jobs | pools | ... | all]
\item [status]
\index[general]{status}
- This command will display the status of the next jobs that are scheduled
- during the next 24 hours as well as the status of currently
- running jobs. The full form of this command is:
+
+ This command will display the status of all components. For the director, it
+ will display the next jobs that are scheduled during the next 24 hours as
+ well as the status of currently running jobs. For the Storage Daemon, you
+ will have drive status or autochanger content. The File Daemon will give you
+ information about current jobs like average speed or file accounting. The
+ full form of this command is:
status [all | dir=\lt{}dir-name\gt{} | director |
- client=\lt{}client-name\gt{} | storage=\lt{}storage-name\gt{} |
+ client=\lt{}client-name\gt{} | [slots] storage=\lt{}storage-name\gt{} |
days=nnn]
If you do a {\bf status dir}, the console will list any currently