Hi all!
i have a tape library attache:
# cat /proc/scsi/sg/device_strs
HP C1557A U812
HP C1557A U812
i can tar on the tape the changer works fine.
In /etc/bacula/bacula-dir.conf i have this storage and pool definitions
Storage {
Name = PorCheloStorage
Address = 192.168.1.40
SDPort = 9103
Password = karkoma
Device = PorCheloDevice
Autochanger =yes
Media Type = DDS-4
}
Pool {
Name = PorCheloPool
Pool Type = Backup
AutoPrune = yes
# Use Volume Once = yes
Recycle = yes
Volume Retention = 7 days
Maximum Volume Jobs = 1
Maximum Volumes = 7
Accept Any Volume = no
}
and in /etc/bacula/bacula-sd.conf i have this device definition
Device {
Name = PorCheloDevice
Media Type = DDS-4
Archive Device = /dev/st0 # Normal archive device
Changer Device = /dev/sg0 # Generic SCSI device name
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Autochanger = yes
LabelMedia = no;
AutomaticMount = yes;
AlwaysOpen = yes;
# Mount Anonymous Volumes = no;
}
but if i try to label on this storage (i have try with and whithout imt
-f /dev/st0 rewind and weof)i become:
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 1.
3910 Unable to open device /dev/st0. ERR=dev.c:289 stored: unable to
open device /dev/st0: ERR=Device or resource busy
Label command failed for Volume CENSALES.
Do not forget to mount the drive!!!
any idea what i made wrong? :-[
pascal
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users