So I have installed bacula-1.38.11 I have a gentoo box with a Dell 124-T attached, LTO-2, two
magazines ~ # mtx -f /dev/sg1 status Storage Changer /dev/sg1:1 Drives, 16 Slots ( 0
Import/Export ) Data Transfer Element 0:Full (Storage Element 6
Loaded):VolumeTag =
LD0012L2
Storage Element 1:Full
:VolumeTag=LD0009L2 Storage Element 2:Full
:VolumeTag=LD0029L2
Storage Element 3:Full
:VolumeTag=LD0001L2
Storage Element 4:Full
:VolumeTag=LD0011L2
Storage Element 5:Empty Storage Element 6:Empty Storage Element 7:Full
:VolumeTag=LD0003L2
Storage Element 8:Full
:VolumeTag=LD0015L2
Storage Element 9:Full
:VolumeTag=LD0021L2
Storage Element 10:Full
:VolumeTag=LD0027L2
Storage Element 11:Empty Storage Element 12:Full
:VolumeTag=LD0007L2
Storage Element 13:Full
:VolumeTag=LD0026L2
Storage Element 14:Full
:VolumeTag=LD0024L2
Storage Element 15:Full
:VolumeTag=LD0005L2
Storage Element 16:Full
:VolumeTag=CLNU00L2 mt -f /dev/nst0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x42 (no translation). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN ~ # mt -f /dev/sg0 status /dev/sg0: Operation not permitted tapeinfo -f /dev/sg0 Product Type: Tape Drive Vendor ID: 'CERTANCE' Product ID: 'ULTRIUM 2 ' Revision: '1826' Attached Changer: No SerialNumber: 'JK00W0G' MinBlock:1 MaxBlock:16777215 SCSI ID: 6 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: Not Loaded Density Code: 0x42 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x1 DeCompType: 0x1 BOP: yes Block Position: 0 bacula-sd.conf Autochanger { #Name = "Dell-124T" Name = turing Device = LTO-2 Changer Command = "/var/lib/bacula/mtx-changer
%c %o %S %a %d" Changer Device = /dev/sg1 } Device { Name = LTO-2 Drive Index = 0 Media Type = "LTO-2" Archive Device = /dev/sg0 AutomaticMount =
yes;
# when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = yes; AutoChanger = yes; Autoselect = yes; LabelMedia = yes; Spool Directory = /bacula/spool; Maximum Job Spool Size = 1610612736 } I have tried changing sg0 to nst0 and st0, the best I can
get is a 3903 ERR. For some reason I can’t write to the tape. I am
running udev, and with the config set to sg0/sg1, bacula waits for a
mount request and then times out. I have tried using mount and umount, but that just BLOCKED
the media. I have tried so many different combinations I am not sure
what to do next. Ideas? Need more info? I have restarted the tape drive and the
software many times. Also, I thought it might need hald so I installed that but
haven’t rebooted yet. Do I need hald? Thanks. |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users