On Wednesday 25 October 2006 17:47, Greg Little wrote:
> So I have installed bacula-1.38.11
>
> I have a gentoo box with a Dell 124-T attached, LTO-2, two magazines
> ... SNIP ...
> I have tried changing sg0 to nst0 and st0, the best I can get is a 3903
> ERR.
>
> For some reason I can't write to the tape. I am running udev, and with
> the config set to sg0/sg1, bacula waits for a mount request and then
> times out.
Keep the changer on the sg1 device, but do change the tapes to nst?.
If you are getting a 3903, you probably need to work with the installed
mtx-changer script. I must apply the attached patch to the installed
mtx-changer to get it to work with one of my autochangers. YMMV, but you
might want to try these changes to see if that helps. This patch is against
1.39.26, which incidentally is recommended by now, so the lines may be off a
bit but it will give you an idea of the changes.
--
-- Michael
--- mtx-changer.orig 2006-10-15 11:13:00.000000000 -0500
+++ mtx-changer 2006-10-15 11:15:55.000000000 -0500
@@ -152,7 +152,7 @@
debug "Doing mtx -f $ctl unload $slot $drive"
#
# enable the following line if you need to eject the cartridge
-# mt -f $device offline
+ mt -f $device offline
# sleep 10
${MTX} -f $ctl unload $slot $drive
;;
@@ -164,8 +164,8 @@
#
# Increase the sleep time if you have a slow device
# or remove the sleep and add the following:
-# wait_for_drive $device
- sleep 15
+ wait_for_drive $device
+# sleep 60
exit $rtn
;;
@@ -173,7 +173,7 @@
debug "Doing mtx -f $ctl -- to list volumes"
make_temp_file
# Enable the following if you are using barcodes and need an inventory
-# ${MTX} -f $ctl inventory
+ ${MTX} -f $ctl inventory
${MTX} -f $ctl status >${TMPFILE}
rtn=$?
cat ${TMPFILE} | grep " *Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"
-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users