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

Re: Sony StorStation LIB-81 bacula Konfiguration



Hi

> irgendwie kann ich keine Labels anlegen. In der Bacula Konsole kommt die
> Meldung, dass keine Slots gefunden werden, aber wenn ich
> 
>  mtx -f /dev/sg3 status
>   Storage Changer /dev/sg3:1 Drives, 8 Slots ( 0 Import/Export )
> Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = A0ECXL
>       Storage Element 1:Empty
>       Storage Element 2:Full :VolumeTag=A0ECXR
>       Storage Element 3:Full :VolumeTag=A0ECXQ
>       Storage Element 4:Full :VolumeTag=A0ECXP
>       Storage Element 5:Full :VolumeTag=A0ECXN
>       Storage Element 6:Full :VolumeTag=A0ECXM
>       Storage Element 7:Full :VolumeTag=A0ECXK
>       Storage Element 8:Full
> 
> aufrufe bekomme ich eine korrekte Ausgabe der Slots und auch ein
> 
> sh /etc/bacula/scripts/mtx-changer /dev/sg3 slots
> 8
> 
> gibt die korrekte Anzahl von Slots zurück.
> 

das Problem mit den Slots und dem Befehl update slots scan scheint
gelöst zu sein. Ich habe im Skript mtx-changer das Verzeichnis zum
Erstellen der temp. Datei nach /tmp geändert und bei MTX=/usr/sbin/mtx
eingetragen.

Danach kann ich das Skript nun ausführen und es findet wohl in der Tat
die Slots und die Bänder.

Was ich nun nicht verstehe ist, dass bei Slot 5,7 und 8 eine
Fehlermeldung erscheint. Slot 8 ist ok. Da ist das Reinigungsband ohne
Barcode geladen. Aber 5 und 7 sind nagelneue, leere Bänder, so wie die
anderen auch.

Ausgaben weiter unten...

Gruß
Stefan


*update slots scan
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
     1: File
     2: LIB-81
Select Storage resource (1-2): 2
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3306 Issuing autochanger "slots" command.
Device "LIB-81" has 8 slots.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3306 Issuing autochanger "list" command.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3304 Issuing autochanger "load slot 1, drive 0" command.
3305 Autochanger "load slot 1, drive 0", status is OK.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 1.
3001 Volume=TestVolume1 Slot=1
Catalog record for Volume "TestVolume1" updated to reference slot 1.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 1.
3307 Issuing autochanger "unload slot 1, drive 0" command.
3304 Issuing autochanger "load slot 2, drive 0" command.
3305 Autochanger "load slot 2, drive 0", status is OK.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 2.
block.c:944 Read error at file:blk 0:0 on device "Drive-0" (/dev/nst0).
ERR=Eingabe-/Ausgabefehler.
3902 Cannot mount Volume on Storage Device "Drive-0" (/dev/nst0) because:
Requested Volume "" on "Drive-0" (/dev/nst0) is not a Bacula labeled
Volume, because: ERR=block.c:944 Read error at file:blk 0:0 on device
"Drive-0" (/dev/nst0). ERR=Eingabe-/Ausgabefehler.
No VolName for Slot=2 InChanger set to zero.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 2.
3307 Issuing autochanger "unload slot 2, drive 0" command.
3304 Issuing autochanger "load slot 3, drive 0" command.
3305 Autochanger "load slot 3, drive 0", status is OK.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 3.
block.c:944 Read error at file:blk 0:0 on device "Drive-0" (/dev/nst0).
ERR=Eingabe-/Ausgabefehler.
3902 Cannot mount Volume on Storage Device "Drive-0" (/dev/nst0) because:
Requested Volume "" on "Drive-0" (/dev/nst0) is not a Bacula labeled
Volume, because: ERR=block.c:944 Read error at file:blk 0:0 on device
"Drive-0" (/dev/nst0). ERR=Eingabe-/Ausgabefehler.
No VolName for Slot=3 InChanger set to zero.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 3.
3307 Issuing autochanger "unload slot 3, drive 0" command.
3304 Issuing autochanger "load slot 4, drive 0" command.
3305 Autochanger "load slot 4, drive 0", status is OK.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 4.
block.c:944 Read error at file:blk 0:0 on device "Drive-0" (/dev/nst0).
ERR=Eingabe-/Ausgabefehler.
3902 Cannot mount Volume on Storage Device "Drive-0" (/dev/nst0) because:
Requested Volume "" on "Drive-0" (/dev/nst0) is not a Bacula labeled
Volume, because: ERR=block.c:944 Read error at file:blk 0:0 on device
"Drive-0" (/dev/nst0). ERR=Eingabe-/Ausgabefehler.
No VolName for Slot=4 InChanger set to zero.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 4.
3307 Issuing autochanger "unload slot 4, drive 0" command.
3304 Issuing autochanger "load slot 5, drive 0" command.
3305 Autochanger "load slot 5, drive 0", status is OK.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 5.
block.c:944 Read error at file:blk 0:0 on device "Drive-0" (/dev/nst0).
ERR=Eingabe-/Ausgabefehler.
3902 Cannot mount Volume on Storage Device "Drive-0" (/dev/nst0) because:
Requested Volume "" on "Drive-0" (/dev/nst0) is not a Bacula labeled
Volume, because: ERR=block.c:944 Read error at file:blk 0:0 on device
"Drive-0" (/dev/nst0). ERR=Eingabe-/Ausgabefehler.
No VolName for Slot=5 InChanger set to zero.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 5.
3307 Issuing autochanger "unload slot 5, drive 0" command.
3304 Issuing autochanger "load slot 6, drive 0" command.
3305 Autochanger "load slot 6, drive 0", status is OK.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 6.
block.c:944 Read error at file:blk 0:0 on device "Drive-0" (/dev/nst0).
ERR=Eingabe-/Ausgabefehler.
3902 Cannot mount Volume on Storage Device "Drive-0" (/dev/nst0) because:
Requested Volume "" on "Drive-0" (/dev/nst0) is not a Bacula labeled
Volume, because: ERR=block.c:944 Read error at file:blk 0:0 on device
"Drive-0" (/dev/nst0). ERR=Eingabe-/Ausgabefehler.
No VolName for Slot=6 InChanger set to zero.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 6.
3307 Issuing autochanger "unload slot 6, drive 0" command.
3304 Issuing autochanger "load slot 7, drive 0" command.
3305 Autochanger "load slot 7, drive 0", status is OK.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 7.
block.c:944 Read error at file:blk 0:0 on device "Drive-0" (/dev/nst0).
ERR=Eingabe-/Ausgabefehler.
3902 Cannot mount Volume on Storage Device "Drive-0" (/dev/nst0) because:
Requested Volume "" on "Drive-0" (/dev/nst0) is not a Bacula labeled
Volume, because: ERR=block.c:944 Read error at file:blk 0:0 on device
"Drive-0" (/dev/nst0). ERR=Eingabe-/Ausgabefehler.
No VolName for Slot=7 InChanger set to zero.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 7.
3307 Issuing autochanger "unload slot 7, drive 0" command.
3304 Issuing autochanger "load slot 8, drive 0" command.
3992 Bad autochanger "load slot 8, drive 0": ERR=Child died from signal
15: Termination.
No VolName for Slot=8 InChanger set to zero.


*update slots
The defined Storage resources are:
     1: File
     2: LIB-81
Select Storage resource (1-2): 2
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3306 Issuing autochanger "slots" command.
Device "LIB-81" has 8 slots.
Connecting to Storage daemon LIB-81 at hd-nas-01:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 8.
3307 Issuing autochanger "unload slot 8, drive 0" command.
3306 Issuing autochanger "list" command.
Volume "A0ECXL" not found in catalog. Slot=1 InChanger set to zero.
Volume "A0ECXR" not found in catalog. Slot=2 InChanger set to zero.
Volume "A0ECXQ" not found in catalog. Slot=3 InChanger set to zero.
Volume "A0ECXP" not found in catalog. Slot=4 InChanger set to zero.
Volume "A0ECXN" not found in catalog. Slot=5 InChanger set to zero.
Volume "A0ECXM" not found in catalog. Slot=6 InChanger set to zero.
Volume "A0ECXK" not found in catalog. Slot=7 InChanger set to zero.



Reply to: