[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sony StorStation LIB-81 bacula Konfiguration



Hallo,

ich versuche verzweifelt unter Debian Etch eine Bandsicherung mit einer
Sony StorStation LIB-81 (200GB/520GB) (Autochanger 8 Slots) mit Hilfe
von bacula einzurichten.

Kann mir da jemand weiterhelfen, wie ich bacula und den Autochanger
einrichten muss?

Danke schon im Voraus.

Gruß
Stefan


Die Definition in der bacula-sd.conf sieht folgendermaßen aus:

[...]
#
# Sony StorStation LIB-81 tape library
#

Device {
  Name = "Sony LIB-81 AIT4"
  Description = "Sony StorStation LIB-81 tape library"
  Media Type = AIT4
  Archive Device = /dev/sg3
  LabelMedia = yes
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg3
  AutoChanger = yes
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
[...]



Informationen zum Device:

tapeinfo -f /dev/sg3:

Product Type: Medium Changer
Vendor ID: 'SONY    '
Product ID: 'LIB-81          '
Revision: '0109'
Attached Changer: No
SerialNumber: '02535256'
SCSI ID: 0
SCSI LUN: 0
Ready: yes


tapeinfo -f /dev/sg4:

Product Type: Tape Drive
Vendor ID: 'SONY    '
Product ID: 'SDX-900V        '
Revision: '0105'
Attached Changer: No
SerialNumber: '0001056686'
MinBlock:2
MaxBlock:8388608
SCSI ID: 1
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x33
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x3
DeCompType: 0x3
BOP: yes
Block Position: 0


lsscsi:

[0:0:0:0]    disk    Areca    ARC-1261-VOL#00  R001  /dev/sda
[0:0:0:1]    disk    Areca    ARC-1261-VOL#01  R001  /dev/sdb
[0:0:16:0]   process Areca    RAID controller  R001  -
[1:0:0:0]    mediumx SONY     LIB-81           0109  /dev/sch0
[1:0:1:0]    tape    SONY     SDX-900V         0105  /dev/st0

lsscsi -g:

[0:0:0:0]    disk    Areca    ARC-1261-VOL#00  R001  /dev/sda  /dev/sg0
[0:0:0:1]    disk    Areca    ARC-1261-VOL#01  R001  /dev/sdb  /dev/sg1
[0:0:16:0]   process Areca    RAID controller  R001  -         /dev/sg2
[1:0:0:0]    mediumx SONY     LIB-81           0109  /dev/sch0  /dev/sg3
[1:0:1:0]    tape    SONY     SDX-900V         0105  /dev/st0  /dev/sg4

lsscsi -v:

[0:0:0:0]    disk    Areca    ARC-1261-VOL#00  R001  /dev/sda
  dir: /sys/bus/scsi/devices/0:0:0:0
[/sys/devices/pci0000:00/0000:00:1c.0/0000:03:00.0/host0/target0:0:0/0:0:0:0]
[0:0:0:1]    disk    Areca    ARC-1261-VOL#01  R001  /dev/sdb
  dir: /sys/bus/scsi/devices/0:0:0:1
[/sys/devices/pci0000:00/0000:00:1c.0/0000:03:00.0/host0/target0:0:0/0:0:0:1]
[0:0:16:0]   process Areca    RAID controller  R001  -
  dir: /sys/bus/scsi/devices/0:0:16:0
[/sys/devices/pci0000:00/0000:00:1c.0/0000:03:00.0/host0/target0:0:16/0:0:16:0]
[1:0:0:0]    mediumx SONY     LIB-81           0109  /dev/sch0
  dir: /sys/bus/scsi/devices/1:0:0:0
[/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:04.0/host1/target1:0:0/1:0:0:0]
[1:0:1:0]    tape    SONY     SDX-900V         0105  /dev/st0
  dir: /sys/bus/scsi/devices/1:0:1:0
[/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:04.0/host1/target1:0:1/1:0:1:0]



Reply to: