Storage { # definition of myself
Name = @hostname@-sd
- SDPort = 8103 # Director's port
+ SDPort = @sdport@ # Director's port
WorkingDirectory = "@working_dir@"
Pid Directory = "@piddir@"
Subsys Directory = "@subsysdir@"
Name = DDS-4
Changer Device = @disk_drive@/conf
Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
- Device = Drive-0
+ Device = Drive-0, Drive-1
}
Device {
# Maximum File Size = 1000000
}
+Device {
+ Name = Drive-1 #
+ Device Type = File
+ Media Type = DDS-4
+ Archive Device = @disk_drive@/drive0
+ AutomaticMount = yes; # when device opened, read it
+ Autochanger = yes
+ Drive Index = 1
+ AlwaysOpen = yes;
+ RemovableMedia = yes;
+# Maximum File Size = 1000000
+}
+
+
+Autochanger {
+ Name = Virtual
+ Changer Device = /dev/null
+ Changer Command =""
+ Device = Virtual-1, Virtual-2
+}
+
+Device {
+ Name = Virtual-1
+ Device Type = File
+ Media Type = Disk
+ Archive Device = @tmpdir@
+ AutomaticMount = yes; # when device opened, read it
+ Autochanger = yes
+ Drive Index = 0
+ AlwaysOpen = yes;
+ RemovableMedia = yes;
+# Maximum File Size = 1000000
+}
+
+Device {
+ Name = Virtual-2
+ Device Type = File
+ Media Type = Disk
+ Archive Device = @tmpdir@
+ AutomaticMount = yes; # when device opened, read it
+ Autochanger = yes
+ Drive Index = 1
+ AlwaysOpen = yes;
+ RemovableMedia = yes;
+# Maximum File Size = 1000000
+}
+
Device {
Name = FileStorage
Media Type = FileMedia