From 5e085fb7882075ec9b6235acd9127db5613f7381 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 28 Oct 2010 23:14:42 +0200 Subject: [PATCH] add listall and transfer command to mtx-changer doc --- docs/manuals/en/main/autochangers.tex | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/manuals/en/main/autochangers.tex b/docs/manuals/en/main/autochangers.tex index d3fa47e0..8df9e710 100644 --- a/docs/manuals/en/main/autochangers.tex +++ b/docs/manuals/en/main/autochangers.tex @@ -726,6 +726,36 @@ you must resolve the problem (e.g. try a different SCSI control device name if {\bf /dev/sg0} is incorrect). For example, on FreeBSD systems, the autochanger SCSI control device is generally {\bf /dev/pass2}. +\item [/etc/bacula/mtx-changer \ /dev/sg0 \ listall \ 0 \ /dev/nst0 \ 0] +\index[sd]{mtx-changer listall} + +This command should print: + +\footnotesize +\begin{verbatim} + Drive content: D:Drive num:F:Slot loaded:Volume Name + D:0:F:2:vol2 or D:Drive num:E + D:1:F:42:vol42 + D:3:E + + Slot content: + S:1:F:vol1 S:Slot num:F:Volume Name + S:2:E or S:Slot num:E + S:3:F:vol4 + + Import/Export tray slots: + I:10:F:vol10 I:Slot num:F:Volume Name + I:11:E or I:Slot num:E + I:12:F:vol40 + +\end{verbatim} +\normalsize + +\item [/etc/bacula/mtx-changer \ /dev/sg0 \ transfer \ 1 \ 2] +\index[sd]{mtx-changer listall} + +This command should transfer a volume from source (1) to destination (2) + \item [/etc/bacula/mtx-changer \ /dev/sg0 \ slots ] \index[sd]{mtx-changer slots} -- 2.39.2