So I figured out a few more things so far, and I'd like to update my post.
> The Unix commands mt and mtx work without problems. I also checked the
> mtx-changer section of the manual
> (http://dna.dbi.udel.edu/manuals/bacula/Autochanger_Support.html#SECTION0002915000000000000000)
> and the commands work OK except for the following:
>
> [EMAIL PROTECTED] bacula]# ./mtx-changer /dev/sg1 unload
> usage: mtx-changer ctl-device command [slot archive-device drive-index]
> Insufficient number of arguments arguments given.
> Command expected 5 arguments
>
This is an error in the manual. The manual says I can run
*/etc/bacula/mtx-changer /dev/sg0 unload
but the actual mtx-changer script requires all 5 params in this case.*
> *mount
> Automatically selected Storage: TapeChanger
> block.c:945 Read error at file:blk 0:0 on device "TapeStorage"
> (/dev/tape). ERR=Input/output error.
> block.c:945 Read error at file:blk 0:0 on device "TapeStorage"
> (/dev/tape). ERR=Input/output error.
> 3902 Cannot mount Volume on Storage Device "TapeStorage" (/dev/tape)
> because:
> Requested Volume "" on "TapeStorage" (/dev/tape) is not a Bacula labeled
> Volume, because: ERR=block.c:945 Read error at file:blk 0:0 on device
> "TapeStorage" (/dev/tape). ERR=Input/output error.
> 3905 Device "TapeStorage" (/dev/tape) open but no Bacula volume is mounted.
> If this is not a blank tape, try unmounting and remounting the Volume.
>
The manual says "the console *mount* command does not cause Bacula to
operate the autochanger, it only tells Bacula to read any tape that may
be in the drive." (
http://dna.dbi.udel.edu/manuals/bacula/Autochanger_Support.html#SECTION000294000000000000000
)
> bacula-dir.conf section
> ===============
> Storage {
> Name = TapeChanger
> Address = pitfall-s89.pcbi.upenn.edu
> SDPort = 9103
> Password = "xxx"
> Device = PowerVault128T
> Media Type = LTO
> Autochanger = Yes
> }
>
>
> bacula-sd.conf whole
> ===============
> Storage { # definition of myself
> Name = pitfall-storage
> SDPort = 9103 # Director's port
> WorkingDirectory = "/var/bacula"
> Pid Directory = "/var/run"
> Maximum Concurrent Jobs = 20
> }
>
The Name= parameter in the above two sections needs to match. I believe
the manual is not clear about this.
Thanks,
Alex
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users