By the way, I just decided to use my gmail account for subscribing
bacula-users. It`s much reliable than my organization e-mail which was
giving me so much trouble. :D
I have a Seagate Tape Driver DAT72.
In my system it`s referenced as /dev/st0.
So i configured my bacula-sd.conf this way :
Device {
Name = DDS-72 #
Media Type = DDS-72
Archive Device = /dev/st0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = no;
RemovableMedia = yes;
RandomAccess = no;
# Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/st0
AutoChanger = no
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
# Alert Command = "sh -c 'smartctl -H -l error %c'"
}
But it was giving this erros using tapeinfo with that device (/dev/st0) :
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=0 (Unknown?!)
mtx: Request Sense: Sense Key=No Sense
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 00
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
INQUIRY Command Failed
And this was showing after each job of Bacula. Then I discover that my tape
device have another name, /dev/sg4, that shows this when given to tapeinfo :
Product Type: Tape Drive
Vendor ID: 'SEAGATE '
Product ID: 'DAT DAT72-052'
Revision: 'A060'
Attached Changer: No
SerialNumber: 'HV07G3D'
MinBlock:1
MaxBlock:16777215
SCSI ID: 6
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x35
Density Code: 0x47
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x20
DeCompType: 0x20
BOP: yes
Block Position: 0
So I change my storage configuration to that and I`ll be good?
Device {
Name = DDS-72 #
Media Type = DDS-72
Archive Device = /dev/st0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = no;
RemovableMedia = yes;
RandomAccess = no;
# Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg4
AutoChanger = no
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
# Alert Command = "sh -c 'smartctl -H -l error %c'"
}
Am I doing the correct thing? Why is that? Am I supposed to use /dev/sg4 as
my tape device? Cause i`m having problems with it, which I `ll explain in my
next e-mail.
Regards,
Augusto Camarotti
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users