Hello, I'm having some problems with a HP SureStore418 autochanger. The btape autochanger test fails
[EMAIL PROTECTED] bacula]# btape -c /etc/bacula/bacula-sd.conf SureStore1 -d 4 -v Tape block granularity is 1024 bytes. btape: butil.c:272 Using device: "SureStore1" for writing. 05-Jul 13:57 btape: 3301 Issuing autochanger "loaded drive 0" command. 05-Jul 13:57 btape: 3302 Autochanger "loaded drive 0", result: nothing loaded. 05-Jul 13:57 btape: 3301 Issuing autochanger "loaded drive 0" command. 05-Jul 13:57 btape: 3302 Autochanger "loaded drive 0", result: nothing loaded. btape: btape.c:338 open device "SureStore1" (/dev/nst0): OK Copyright (C) 2000-2005 Kern Sibbald. Version: 1.38.11 (28 June 2006) *autochanger Ah, I see you have an autochanger configured. To test the autochanger you must have a blank tape that I can write on in Slot 1. Do you wish to continue with the Autochanger test? (y/n): y === Autochanger test === 3301 Issuing autochanger "loaded" command. Nothing loaded in the drive. OK. 3303 Issuing autochanger "load 1 0" command. 3303 Autochanger "load 1 0" status is OK. 05-Jul 13:57 btape: 3301 Issuing autochanger "loaded drive 0" command. 05-Jul 13:57 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. btape: btape.c:338 open device "SureStore1" (/dev/nst0): OK 05-Jul 13:57 btape: 3301 Issuing autochanger "loaded drive 0" command. 05-Jul 13:57 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. btape: btape.c:1198 Bad status from rewind. ERR=dev.c:678 Rewind error on "SureStore1" (/dev/nst0). ERR=Input/output error. The test failed, probably because you need to put a longer sleep time in the mtx-script in the load) case. Adding a 30 second sleep and trying again ... 3301 Issuing autochanger "loaded" command. Slot 1 loaded. I am going to unload it. The test failed, probably because you need to put a longer sleep time in the mtx-script in the load) case. Adding a 30 second sleep and trying again ... 3301 Issuing autochanger "loaded" command. Slot 1 loaded. I am going to unload it. 3302 Issuing autochanger "unload 1 0" command. unload status=OK 0 3303 Issuing autochanger "load 1 0" command. 3303 Autochanger "load 1 0" status is OK. 05-Jul 14:09 btape: 3301 Issuing autochanger "loaded drive 0" command. 05-Jul 14:09 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. btape: btape.c:338 open device "SureStore1" (/dev/nst0): OK 05-Jul 14:10 btape: 3301 Issuing autochanger "loaded drive 0" command. 05-Jul 14:10 btape: 3302 Autochanger "loaded drive 0", result is Slot 1. 05-Jul 14:10 btape: Fatal Error at dev.c:1525 because: dev.c:1524 Attempt to WEOF on non-appendable Volume btape: btape.c:1198 Bad status from rewind. ERR=dev.c:1524 Attempt to WEOF on non-appendable Volume --> It takes more than 10 minutes before it unloads Slot 1 then reloads Slot 1.. --> From now on, it keeps doing that until I force stop it. bacula-sd.conf ====================================== Director { Name = kl-lx-bacula Password = "xMYA5IG9wyAf7+VTTsmhYoTG5hFxxTsLcFoWZlUHN+9n" } Autochanger { Name = "C6280" Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg1 } Device { Name = SureStore1 Media Type = DLT4000 Archive Device = /dev/nst0 Random Access = no; AlwaysOpen = yes; RemovableMedia = yes; AutoChanger = yes; Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" Hardware End of Medium = no BSF at EOM = no Backward Space Record = no Backward Space File = no Fast Forward Space File = no TWO EOF = no } Messages { Name = Standard director = kl-lx-bacula = all } ================================================= Excerpts from bacula-dir.conf ================================================= Client { Name = kl-lx-bacula Address = localhost Catalog = mySQL Password = "4lSo+eTgOtftol4lbqRJhRr+WR4SqY4cq6g92JaJOi99" } Storage { Name = SureStore1 Address = kl-lx-bacula SDPort = 9103 Password = "xMYA5IG9wyAf7+VTTsmhYoTG5hFxxTsLcFoWZlUHN+9n" Maximum Concurrent Jobs = 20 AutoChanger = yes Media Type = DLT4000 } ================================================= Logs from /var/bacula/mtx.log 20060628-17:53:51 Doing mtx -f /dev/sg1 unload 1 0 20060628-17:54:22 Parms: /dev/sg1 loaded 0 /dev/nst0 0 20060628-17:54:22 Doing mtx -f /dev/sg1 0 -- to find what is loaded 20060628-17:54:22 Parms: /dev/sg1 loaded 0 /dev/nst0 0 20060628-17:54:22 Doing mtx -f /dev/sg1 0 -- to find what is loaded 20060628-17:54:22 Parms: /dev/sg1 loaded 0 /dev/nst0 0 20060628-17:54:22 Doing mtx -f /dev/sg1 0 -- to find what is loaded 20060628-18:03:59 Parms: /dev/sg1 loaded 0 /dev/nst0 0 20060628-18:03:59 Doing mtx -f /dev/sg1 0 -- to find what is loaded 20060628-18:03:59 Parms: /dev/sg1 loaded 0 /dev/nst0 0 20060628-18:03:59 Doing mtx -f /dev/sg1 0 -- to find what is loaded 20060628-18:03:59 Parms: /dev/sg1 loaded 0 /dev/nst0 0 20060628-18:03:59 Doing mtx -f /dev/sg1 0 -- to find what is loaded 20060628-18:05:30 Parms: /dev/sg1 loaded 0 /dev/nst0 1 20060628-18:05:30 Doing mtx -f /dev/sg1 1 -- to find what is loaded 20060628-18:05:31 Parms: /dev/sg1 loaded 0 /dev/nst0 1 20060628-18:05:31 Doing mtx -f /dev/sg1 1 -- to find what is loaded 20060628-18:05:31 Parms: /dev/sg1 loaded 0 /dev/nst0 1 20060628-18:05:31 Doing mtx -f /dev/sg1 1 -- to find what is loaded 20060704-20:48:47 Parms: /dev/sg2 loaded 0 /dev/nst0 0 20060704-20:48:47 Doing mtx -f /dev/sg2 0 -- to find what is loaded --> I read earlier that Keith Hopkins (Bacula)" <[EMAIL PROTECTED]> --> Had similar problems. Anyone solved it? I running on FC5 (latest kernel) previously used 1.38.10 rpm then upgraded to 1.38.11 rpm. I posted some questions but no one replied so I tried compiling from source 1.38.11 and I'm getting the same problem... tapeinfo -f /dev/sg1 Product Type: Medium Changer Vendor ID: 'HP ' Product ID: 'C6280-4000 ' Revision: '2.07' Attached Changer: No SerialNumber: ' TapeAlert[25]:Undefined. SCSI ID: 1 SCSI LUN: 0 Ready: yes tapeinfo -f /dev/sg2 Product Type: Tape Drive Vendor ID: 'Quantum ' Product ID: 'DLT4000 ' Revision: 'D67E' Attached Changer: No SerialNumber: 'CXA32R3864' MinBlock:1 MaxBlock:16777215 SCSI ID: 2 SCSI LUN: 0 Ready: no Can anyone give me some pointers on where to even attempt to trouble-shoot this problem? Regards, Anwar 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