浏览代码

define LTO-7 drive and storage type

-add in director and storage
Maximilian Ronniger 9 年之前
父节点
当前提交
db772911f3
共有 4 个文件被更改,包括 24 次插入1 次删除
  1. 2 0
      bareos-dir.conf
  2. 7 0
      bareos-dir.d/tape.conf
  3. 1 1
      bareos-sd.conf
  4. 14 0
      bareos-sd.d/lto7.conf

+ 2 - 0
bareos-dir.conf

@@ -261,6 +261,8 @@ Storage {
   Media Type = File
 }
 
+@/etc/bareos/bareos-dir.d/tape.conf
+
 #
 # Generic catalog service
 #

+ 7 - 0
bareos-dir.d/tape.conf

@@ -0,0 +1,7 @@
+Storage {
+  Name = LTO-7
+  Media Type = LTO-7
+  Address = lto7                # N.B. Use a fully qualified name here
+  Password = "Ia+A/4PGvr4kFgI9CYOZX73qqRXqUi8llZNymggM3k18"
+  Device = tape
+}

+ 1 - 1
bareos-sd.conf

@@ -60,7 +60,7 @@ Device {
 #
 
 # eg.
-#@/etc/bareos/bareos-sd.d/device-gluster.conf
+@/etc/bareos/bareos-sd.d/lto7.conf
 
 
 #

+ 14 - 0
bareos-sd.d/lto7.conf

@@ -0,0 +1,14 @@
+# A Linux LTO-7 tape drive
+
+Device {
+  Name = LTO-7
+  Media Type = LTO-7
+  Device Type = Tape
+  Archive Device = /dev/nst0
+  AutomaticMount = yes;               # when device opened, read it
+  AlwaysOpen = yes;
+  RemovableMedia = yes;
+  RandomAccess = no;
+  Maximum File Size = 50GB
+}
+