Hi,
i have trouble getting bareos running correctly under FreeBSD with the
Storage Daemon on FreeBSD too:
i get this output when i run "update slots" in bconsole:
*update slots
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: GALADRIEL
Connecting to Storage daemon GALADRIEL at gimli:9103 ...
3999 Device "/dev/pass16" not found or could not be opened.
Device "/dev/pass16" has 0 slots.
No slots in changer to scan.
and this happens in debug mode in SD:
gimli-sd: bnet.c:763-0 who=client host=172.x.x.x port=9103
gimli-sd: dir_cmd.c:332-0 Conn: Hello Director gimli-dir calling
gimli-sd: dir_cmd.c:350-0 Got a DIR connection at 20-Aug-2014 09:29:27
gimli-sd: jcr.c:980-0 set_jcr_job_status(*System*, C)
gimli-sd: jcr.c:991-0 OnEntry JobStatus=gimli-sd: jcr.c:1001-0 Set new stat.
old: gimli-sd: jcr.c:1006-0 leave setJobStatus old=gimli-sd: sd_plugins.c:403-0
=== enter new_plugins ===
gimli-sd: sd_plugins.c:419-0 sd-plugin-list size=1
gimli-sd: sd_plugins.c:427-0 Instantiate sd-plugin_ctx_list=802c16de8 JobId=0
gimli-sd: watchdog.c:198-0 Registered watchdog 80386a2d8, interval 600 one shot
gimli-sd: btimers.c:180-0 Start bsock timer 80387d0a8 tid=802c06c00 for 600
secs at 1408519767
gimli-sd: cram-md5.c:64-0 send: auth cram-md5 <xxx> ssl=0
gimli-sd: cram-md5.c:123-0 cram-get received: auth cram-md5 <xxx> ssl=0
gimli-sd: cram-md5.c:142-0 sending resp to challenge: xxx
gimli-sd: btimers.c:194-0 Stop bsock timer 80387d0a8 tid=802c06c00 at
1408519767.
gimli-sd: watchdog.c:218-0 Unregistered watchdog 80386a2d8
gimli-sd: dir_cmd.c:239-0 Message channel init completed.
gimli-sd: dir_cmd.c:250-0 <dird: autochanger slots /dev/pass16
gimli-sd: dir_cmd.c:268-0 Do command: autochanger
gimli-sd: sd_plugins.c:252-0 sd-plugin_ctx_list=802c16de8 JobId=0
gimli-sd: sd_plugins.c:207-0 Event 2 disabled for this plugin.
gimli-sd: sd_plugins.c:454-0 Free instance sd-plugin_ctx_list=802c16de8 JobId=0
gimli-sd: message.c:511-0 Close_msg jcr=803831128
gimli-sd: job.c:455-0 Start stored free_jcr
gimli-sd: job.c:456-0 End Job JobId=0 803831128
gimli-sd: job.c:459-0 Send terminate jid=0 803831128
gimli-sd: job.c:567-0 End stored free_jcr
gimli-sd: message.c:511-0 Close_msg jcr=0
gimli-sd: message.c:541-0 ===Begin close msg resource at 802c1a0e8
gimli-sd: message.c:655-0 Done walking message chain.
gimli-sd: message.c:662-0 ===End close msg resource
The Changerdevice is /dev/pass16 (or /dev/ch0)
the Drive Devices are /dev/pass11 till /dev/pass15 (or sa11 till sa15)
the rights:
[root@gimli ~/bareos/src/stored]# ls -l /dev/pass*
crw-rw-rw- 1 root operator 0x61 Aug 19 12:52 /dev/pass11
crw-rw-rw- 1 root operator 0x63 Aug 19 12:52 /dev/pass12
crw-rw-rw- 1 root operator 0x64 Aug 19 12:52 /dev/pass13
crw-rw-rw- 1 root operator 0x65 Aug 19 12:52 /dev/pass14
crw-rw-rw- 1 root operator 0x66 Aug 19 12:52 /dev/pass15
crw-rw-rw- 1 root operator 0x62 Aug 19 12:52 /dev/pass16
crw-rw-rw- 1 root operator 0x67 Aug 19 12:52 /dev/pass21
crw-rw-rw- 1 root operator 0x69 Aug 19 12:52 /dev/pass22
crw-rw-rw- 1 root operator 0x6a Aug 19 12:52 /dev/pass23
crw-rw-rw- 1 root operator 0x6b Aug 19 12:52 /dev/pass24
crw-rw-rw- 1 root operator 0x6c Aug 19 12:52 /dev/pass25
crw-rw-rw- 1 root operator 0x68 Aug 19 12:52 /dev/pass26
mtx-changer is working:
[root@gimli ~/bareos/src/stored]# /opt/bareos/etc/mtx-changer /dev/pass16 slots
0 /dev/nsa11 0
277
mtx is working too:
[root@gimli ~/bareos/src/stored]# mtx -f /dev/pass16 status
Storage Changer /dev/pass16:5 Drives, 277 Slots ( 16 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Data Transfer Element 3:Empty
Data Transfer Element 4:Empty
...
Storage Element 276 IMPORT/EXPORT:Empty:VolumeTag=
Storage Element 277 IMPORT/EXPORT:Empty:VolumeTag=
what am i missing?
Any ideas?
Thanks in Advance
Adam
--
Adam Podstawka
Informatician - Bioinformatics
Leibniz Institute DSMZ-German Collection of Microorganisms and Cell Cultures
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.