From cd646d42dd74a94f9f914ce840acee95912add6b Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 30 Aug 2008 12:12:47 +0000 Subject: [PATCH] ebl Add tips about lsscsi tool and document the the "status slots storage" command. --- docs/manuals/en/concepts/autochangers.tex | 28 +++++++++++++++++++++++ docs/manuals/en/concepts/tutorial.tex | 2 +- docs/manuals/en/console/bconsole.tex | 12 ++++++---- 3 files changed, 37 insertions(+), 5 deletions(-) diff --git a/docs/manuals/en/concepts/autochangers.tex b/docs/manuals/en/concepts/autochangers.tex index e864f5c9..226e1305 100644 --- a/docs/manuals/en/concepts/autochangers.tex +++ b/docs/manuals/en/concepts/autochangers.tex @@ -128,6 +128,18 @@ to find out how to specify their control address ({\bf /dev/sg0} for the 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. @@ -942,6 +954,22 @@ a Volume name prefix, which if it matches that of the Volume (barcode) will 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} diff --git a/docs/manuals/en/concepts/tutorial.tex b/docs/manuals/en/concepts/tutorial.tex index d0493b56..0505606d 100644 --- a/docs/manuals/en/concepts/tutorial.tex +++ b/docs/manuals/en/concepts/tutorial.tex @@ -198,7 +198,7 @@ files ]; from catalog release release reload reload conf file run run - status status [storage | client]= + status status [[slots] storage | dir | client]= setdebug sets debug level setip sets new client address -- if authorized show show (resource records) [jobs | pools | ... | all] diff --git a/docs/manuals/en/console/bconsole.tex b/docs/manuals/en/console/bconsole.tex index 3fc5ee44..6921dd67 100644 --- a/docs/manuals/en/console/bconsole.tex +++ b/docs/manuals/en/console/bconsole.tex @@ -1034,12 +1034,16 @@ setdebug level=nn [trace=0/1 client=\lt{}client-name\gt{} | dir | director | \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 -- 2.39.5