]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/bacula-sd.conf.in
Fix build without sd lock debug
[bacula/bacula] / bacula / src / stored / bacula-sd.conf.in
index 6b4cec289a37e199ce1e688dcbaa4da883a2f909..3ca34340be1534f51d13fc4f6ba8db4d8f9f3e2a 100644 (file)
@@ -74,7 +74,10 @@ Device {
 #  RemovableMedia = yes;
 #  RandomAccess = no;
 #  AutoChanger = yes
+#  # 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'"  
 #}
 
 #Device {
@@ -87,7 +90,10 @@ Device {
 #  RemovableMedia = yes;
 #  RandomAccess = no;
 #  AutoChanger = yes
+#  # 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'"  
 #}
 
 #
@@ -104,7 +110,10 @@ Device {
 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
 ## Changer Device = /dev/sg0
 ## AutoChanger = yes
+#  # 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'"  
 #}
 
 #
@@ -123,6 +132,8 @@ Device {
 #  Backward Space Record = no
 #  Fast Forward Space File = no
 #  TWO EOF = yes
+#  If you have smartctl, enable this, it has more info than tapeinfo 
+#  Alert Command = "sh -c 'smartctl -H -l error %c'"  
 #}
 
 #
@@ -141,14 +152,17 @@ Device {
 ## 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'"  
 #}
  
 #
 # A DVD device
 #
 #Device {
-#  Name = "DVD-WRITER"
+#  Name = "DVD Writer"
 #  Media Type = DVD
+#  Device Type = DVD
 #  Archive Device = /dev/hdc
 #  LabelMedia = yes;                   # lets Bacula label unlabeled media
 #  Random Access = Yes;
@@ -161,8 +175,8 @@ Device {
 #  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
 #  UnmountCommand = "/bin/umount %m";
 #  SpoolDirectory = /tmp/backup;
-#  WritePartCommand = "/etc/bacula/dvd-writepart %e %a %v"
-#  FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %e"
+#  WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
+#  FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
 #}
 
 #
@@ -179,6 +193,8 @@ Device {
 #  AlwaysOpen = yes;
 #  RemovableMedia = yes;
 #  RandomAccess = no;
+#  If you have smartctl, enable this, it has more info than tapeinfo 
+#  Alert Command = "sh -c 'smartctl -H -l error %c'"  
 #}
 
 #
@@ -193,6 +209,8 @@ Device {
 #  AlwaysOpen = Yes;
 #  RemovableMedia = yes;
 #  RandomAccess = no;
+#  If you have smartctl, enable this, it has more info than tapeinfo 
+#  Alert Command = "sh -c 'smartctl -H -l error %c'"  
 #}
 
 #