Hi,

On 6/27/2006 9:13 PM, Timo Neuvonen wrote:
> I just replaced my Exabyte VXA-2 tape drive with VXA-320 autochanger.
> 
> I can't remember there had ever been any problem with labeling the tapes
> before. Blank brand new tapes could be labeled staright from the package, I
> think. But I haven't labeled tapes with the old drive for a few months.
> 
> Now, label barcodes console command results in the following error message:
> 3912 Failed to label Volume: ERR=dev.c:678 Rewind error on "VXA320"
> (/dev/nst0). ERR=Input/output error.
> 
> If I set autochanger=no, there also is an error message, but labeling seems
> to work anyway.
> 
> And if I run
> mt -f /dev/nst0 rewind
> mt -f /dev/nst0 weof
> labeling (with autochanger=yes) works ok withut any errors. In the
> following, I had written EOF to the tape in slot 1, in slot 2 there is a
> brand new tape.
> Is this spesific to my hardware, or has someone else met the same problem?
> Or is it a requirement that tapes need to be "prepared" with mt?
> Bacula 1.38.10-3 on FC4

<snip console output>
This looks like the tape is not yet logged in by the tape drive.
Have you run the btape tests, and did you make sure in the mtx-changer 
script the timeout after loading a tape is long enough, or the function 
waiting for the tape drive works as it should?

Arno

> *label barcodes
> Using default Catalog name=MyCatalog DB=bacula
> The defined Storage resources are:
>      1: File
>      2: Exabyte Autoloader
> Select Storage resource (1-2): 2
> Connecting to Storage daemon Exabyte Autoloader at dogbert:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Exabyte Autoloader" has 10 slots.
> Connecting to Storage daemon Exabyte Autoloader at dogbert: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.
> 3306 Issuing autochanger "list" command.
> The following Volumes will be labeled:
> Slot  Volume
> ==============
>    1  A0000001
>    2  A0000002
> Do you want to continue? (yes|no): y
> Automatically selected Pool: Default
> Connecting to Storage daemon Exabyte Autoloader at dogbert:9103 ...
> Sending label command for Volume "A0000001" Slot 1 ...
> 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.
> 3000 OK label. Volume=A0000001 Device="VXA320" (/dev/nst0)
> Catalog record for Volume "A0000001", Slot 1  successfully created.
> Sending label command for Volume "A0000002" Slot 2 ...
> 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.
> 3301 Issuing autochanger "loaded drive 0" command.
> 3302 Autochanger "loaded drive 0", result is Slot 2.
> 3912 Failed to label Volume: ERR=dev.c:678 Rewind error on "VXA320"
> (/dev/nst0). ERR=Input/output error.
> 
> Regards,
> Timo
> 
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to