Hi,
Thanks for your reply. I have changed my bacula-sd.conf configuration since a couple of weeks, and removed the mount.sh and umount.sh scripts. So far I have not received the tape error anymore.
I did run the btape test as suggested, and seems like I have more modification to make. Let me know your thoughts.
# Current bacula-sd.conf:
Device {
Name = ibm-dds6
Media Type = DDS6
Device Type = tape
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = no;
Hardware End of Medium = yes;
Two EOF = Yes
RemovableMedia = yes;
RandomAccess = no;
}
# mt -f /dev/nst0 status
drive type = Generic SCSI-2 tape
drive status = 1207959552
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 0 bytes. Density code 0x48 (DAT160).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
# tapeinfo -f /dev/nst0
Product Type: Tape Drive
Vendor ID: 'IBM '
Product ID: 'DDS Gen6 '
Revision: 'WU04'
Attached Changer API: No
SerialNumber: 'HU14246VM2'
MinBlock: 1
MaxBlock: 16777215
SCSI ID: 0
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x48
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x20
DeCompType: 0x0
BOP: yes
Block Position: 0
Partition 0 Remaining Kbytes: 86814000
Partition 0 Size in Kbytes: 86814000
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 1
Thanks.