Strona 1 z 1

bacula i strimer

: 17 sierpnia 2009, 10:52
autor: pracochlik
Mam pewien problem z baculą i strimerem:

moj bacula sd

Kod: Zaznacz cały

Storage {                             # definition of myself
  Name = bacula-sd
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}
Director {
  Name = bacula-dir
  Password = "password"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = bacula-mon
  Password = "password"
#  Monitor = yes;
}

Autochanger {
    Name = Autochanger # nazwa
    Device = Drive-0 # tape-drive 1
    #Device = Drive-1 # tape-drive 2
    #Device = Drive-2 # tape-drive 3
    #Changer Command = "/usr/local/bacula/libexec/mtx-changer %c %o %S %a %d"
    #komenda uruchamiana podczas migracji tasiemek do odpowiednich slotów i urządzeń
    # Changer Device = /dev/sg1 # urządzenie autochangera
}


Device {
   Name = Drive-0 # nazwa tape-drive'a z sekcji autochangera
   Drive Index = 0 # pierwsze urządzenie
   Media Type = LTO # typ tasiemek
   Archive Device = /dev/nst0 # urządzenie tape-drive'a
   Device Type = Tape # typ nośnika
   AutomaticMount = yes; # kiedy urządzenie otwarte, czytaj je.
   AlwaysOpen = no;
   Removable Media = yes #
   RandomAccess = no # dostęp do urządzenia losowy
   AutoChanger = no # wykorzystanie autochangera
#Changer Device = /dev/sg1
#Changer Command = "/usr/local/bacula/libexec/mtx-changer %c %o %S %a %d" #
   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" | informacja o błędzie
#Spool Directory = /stagging2 # katalog na spooling
#AutoSelect = yes # wybieranie automatyczne
}

i wywała mi taki błąd

Kod: Zaznacz cały

17-Aug 10:38 bacula-dir JobId 164: Start Backup JobId 164, Job=tape.2009-08-17_10.38.23.17
17-Aug 10:38 bacula-sd JobId 164: Failed command:
17-Aug 10:38 bacula-sd JobId 164: Fatal error:
     Device "Autochanger" with MediaType "LTO" requested by DIR not found in SD Device resources.
17-Aug 10:38 bacula-dir JobId 164: Fatal error:
     Storage daemon didn't accept Device "Autochanger" because:
     3924 Device "Autochanger" not in SD Device resources.
17-Aug 10:38 bacula-dir JobId 164: Error: Bacula bacula-dir 2.4.4 (28Dec08): 17-Aug-2009 10:38:25
  Build OS:               i486-pc-linux-gnu debian 5.0
  JobId:                  164
  Job:                    tape.2009-08-17_10.38.23.17
  Backup Level:           Full
  Client:                 "tape-fd" 2.4.4 (28Dec08) i486-pc-linux-gnu,debian,5.0
  FileSet:                "tape" 2009-08-13 15:11:35
  Pool:                   "tape" (From Job resource)
  Storage:                "Autochanger" (From Job resource)
  Scheduled time:         17-Aug-2009 10:38:22
  Start time:             17-Aug-2009 10:38:25
  End time:               17-Aug-2009 10:38:25
  Elapsed time:           0 secs
  Priority:               10
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  VSS:                    no
  Storage Encryption:     no
  Volume name(s):
  Volume Session Id:      11
  Volume Session Time:    1250249057
  Last Volume Bytes:      0 (0 B)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:
  SD termination status:
  Termination:            *** Backup Error ***
I nie bardzo to rozumiem, bo niby mam wszytko zdefiniowane ?