Hi. i have tested it in gentoo (latest), bacula-2.4.1, bacula-2.4.4, bacula-2.4.4 + patch in bug 1213.
i have an HP LTO-2, and the autochanger script to manage tapes. when i start bacula-sd, he is not aware of tape loaded: -- Drive 0 status unknown. -- i have to mount it manually (mount in bconsole), if i do that bacula run without any pain. the problem is that if i start some task *before* mounting it, i have the script that test for present tape locking at a `grep`. The `grep` refer to device status, doing it manually, bconsole hang at: --- status\n2\n2 [...] Device status: Autochanger "LTO-2" with devices: "LTO-2-Drive" (/dev/nst0) Device "FileStorage" is not open or does not exist. Device "LTO-2-Drive" (/dev/nst0) is mounted with: Volume: CEM8 Pool: Tapes Media type: LTO-2 Device is being initialized. Slot 8 is loaded in drive 0. Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=0 Block=0 ==== Used Volume status: --- This is really annoying, because i have to manually mount a tape any times that i restart SD. bye d. traceback: `kill -SEGV $(pidof bacula-sd)` --- pvsrv01 ~ # cat /var/lib/bacula/bacula.7445.traceback (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb7aef6d0 (LWP 7352)] [New Thread 0xb7abab90 (LWP 7428)] [New Thread 0xb5a9eb90 (LWP 7427)] [New Thread 0xb6ab8b90 (LWP 7408)] [New Thread 0xb72b9b90 (LWP 7356)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xb7f3f402 in __kernel_vsyscall () /usr/libexec/bacula/btraceback.gdb:1: Error in sourced command file: No symbol table is loaded. Use the "file" command. pvsrv01 ~ # --- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users