sudo camcontrol devlist
turns up nothing...
sudo camcontrol rescan all
now, we have an LTO drive and a changer:
at scbus1 target 9 lun 0 (pass0,sa0) at scbus1 target 9 lun 1 (pass1,ch0)
So far, so good. A restart of bacula-sd should pick up the device, if needed.
sudo service bacula-sd restart
However, I discovered that bacula couldn't see the slots in the changer when I did an update barcode slots
So, I checked the status of the storage daemon:
3301 Issuing autochanger "loaded? drive 0" command.
3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code 127.
Results=mtx: not found
mtx not found! It was installed from ports, so I did a simple fix of
ln -s /usr/local/bin/mtx /usr/bin
and now the command worked:
*update barcode slots
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
1: File
2: LTO3
Select Storage resource (1-2): 2
Connecting to Storage daemon LTO3 at fbsd1:9103 ...
3306 Issuing autochanger "slots" command.
Device "Autochanger" has 8 slots.
Connecting to Storage daemon LTO3 at fbsd1:9103 ...
3306 Issuing autochanger "list" command.
Catalog record for Volume "000150L3" updated to reference slot 1.
Catalog record for Volume "000186L3" updated to reference slot 2.
Catalog record for Volume "000140L3" updated to reference slot 3.
Catalog record for Volume "000138L3" updated to reference slot 4.
Catalog record for Volume "000137L3" updated to reference slot 5.
Catalog record for Volume "000131L3" updated to reference slot 6.
Catalog record for Volume "000136L3" updated to reference slot 7.
Catalog record for Volume "000162L3" updated to reference slot 8.
*exit
No comments:
Post a Comment