Hello,
I upgraded my bacula from 1.32f to 1.36.2, Debian unstable.
After adapting the configuration (filesets), no more tapes cant be
mounted.
*mount
Automatically selected Storage: Tape
3901 open device failed: ERR=dev.c:289 stored: unable to open device
/dev/st0: ERR=Input/output error
If I mount them manually, via "mtx load", its ok.
When I start a backup, I get this:
24-May 14:54 HOST-dir: No prior Full backup Job record found.
24-May 14:54 HOST-dir: No prior or suitable Full backup found. Doing FULL
backup.
24-May 14:54 HOST-dir: Start Backup JobId 869,
Job=full_mpls_TESTSET-mpls.2005-05-24_14.52.29
24-May 14:56 HOST-fd: full_mpls_TESTSET-mpls.2005-05-24_14.52.29 Fatal error:
job.c:1665 Bad response to Append Data command. Wanted 3000 OK data, got 3903
Error append data
24-May 14:56 HOST-sd: full_mpls_TESTSET-mpls.2005-05-24_14.52.29 Fatal error:
device.c:317 Unable to open device /dev/st0. ERR=dev.c:289 stored: unable to
open device /dev/st0: ERR=Input/output error
[bacula-sd.conf]
Device {
Name = Tape
Media Type = DDS-4
Changer Device = /dev/sg2
Label media = no;
Archive Device = /dev/st0;
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
AutomaticMount = Yes;
Autochanger = Yes;
AlwaysOpen = No;
RemovableMedia = yes;
RandomAccess = no;
# TWO EOF = yes;
}
[bacula-dir.conf]
Storage {
Name = Tape
Address = mpls
SDPort = 9103
Password = "iK5bnqhr4n1KZJxgKKfBFy3dM3HAqh7iRqjGCb1nH"
Autochanger = Yes
Device = Tape
Media Type = DDS-4
}
And mtx-changer has
# $Id: mtx-changer.in,v 1.11.2.1 2004/11/05 21:53:52 kerns Exp $
I also tried to insert some debug statements to the mtx-changer-script - but it
is not called.
mpls:/etc/bacula# ls -l /dev/st0 /dev/sg2
crw-rw---- 1 bacula bacula 21, 2 2002-03-14 22:51 /dev/sg2
crw-rw---- 1 bacula tape 9, 0 2002-03-14 22:51 /dev/st0
HOST:/etc/bacula# ps aux | grep bacula
root 3493 0.0 0.0 27564 1472 ? Ss 13:42 0:00
/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
bacula 5381 0.0 0.1 27760 1696 ? Ss 14:49 0:00
/usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape
bacula 4516 0.0 0.1 46748 2628 ? Ss 14:08 0:00
/usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g bacula
root 5713 0.0 0.0 2300 780 pts/5 S+ 15:07 0:00 grep bacula
Can anyone help me please? Thanks. I assume that is a permission problem.
Greets,
Thomas
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users