/usr/share/doc/bacula-common/examples/devices/OnStream.conf is in bacula-common 5.2.6+dfsg-9.1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #
# A OnStream tape drive.
# You need the kernel osst driver 0.9.14 or later, and
# do "mt -f /dev/nosst0 defblksize 32768" once as root.
#
Device {
Name = OnStream
Description = "OnStream drive on Linux"
Media Type = OnStream
Archive Device = @TAPEDRIVE@
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes
Offline On Unmount = no
# The min/max blocksizes of 32768 are *required*
Minimum Block Size = 32768
Maximum Block Size = 32768
If you have smartctl, enable this, it has more info than tapeinfo
Alert Command = "sh -c 'smartctl -H -l error %c'"
}
|