From: Greg L. <gl...@li...> - 2006-10-26 17:15:28
|
So I issued update slots: 3306 Issuing autochanger "list" command. Invalid Slot number: /var/lib/bacula/mtx-changer: line 156: MTX: command not found Invalid Slot number: /var/lib/bacula/mtx-changer: line 156: -f: command not found Catalog record for Volume "LD0009L2" updated to reference slot 1. Catalog record for Volume "LD0029L2" updated to reference slot 2. Catalog record for Volume "LD0001L2" updated to reference slot 3. Catalog record for Volume "LD0011L2" updated to reference slot 4. Catalog record for Volume "LD0012L2" updated to reference slot 6. Catalog record for Volume "LD0003L2" updated to reference slot 7. Catalog record for Volume "LD0015L2" updated to reference slot 8. Catalog record for Volume "LD0021L2" updated to reference slot 9. Catalog record for Volume "LD0027L2" updated to reference slot 10. Catalog record for Volume "LD0007L2" updated to reference slot 12. Catalog record for Volume "LD0026L2" updated to reference slot 13. Catalog record for Volume "LD0024L2" updated to reference slot 14. Catalog record for Volume "LD0005L2" updated to reference slot 15. Catalog record for Volume "CLNU00L2" updated to reference slot 16. As you can see, the one I am looking for is LD0012L2, which is in slot 6. The error is about the barcode labeler, which was suggested earlier, so I just commented that back out. The tape drive moves the tape into the slot: 26-Oct 10:09 fluffy-sd: 3305 Autochanger "load slot 6, drive 0", status is OK. 26-Oct 10:09 fluffy-sd: 3301 Issuing autochanger "loaded drive 0" command. 26-Oct 10:09 fluffy-sd: 3302 Autochanger "loaded drive 0", result is Slot 6. 26-Oct 10:09 fluffy-sd: Please mount Volume "LD0012L2" on Storage Device "LTO-2" (/dev/nst0) for Job fluffy.2006-10-25_18.07.22 I get an email: 26-Oct 10:09 fluffy-sd: Please mount Volume "LD0012L2" on Storage Device "LTO-2" (/dev/nst0) for Job fluffy.2006-10-25_18.07.22 And I issue another mount command, now the right tape is in the slot, and the status says: 2971 Increme fluffy.2006-10-25_18.07.22 is waiting for a mount request And I get another email about mounting the tape. Is there a deeper level of debugging that I can figure out what the disconnect is here? I set the debug level to 100 on storage, but it doesn't return anything other than what it already says. -----Original Message----- From: bac...@li... [mailto:bac...@li...] On Behalf Of Kern Sibbald Sent: Thursday, October 26, 2006 9:35 AM To: Arno Lehmann Cc: bac...@li... Subject: Re: [Bacula-users] Can't write to the tape > Hi, > > On 10/26/2006 3:13 AM, Greg Little wrote: >> Thanks for the patch, I implemented the changes and set the tapes back >> to nst0 Now I am getting: >> >> waiting for a mount request >> >> so I do a mount, get: >> >> 3001 OK mount. Device=3D"LTO-2" (/dev/nst0) >> >> But it just sits at the waiting for mount request. This is where I >> usually try umount/mount, and then get the BLOCKED media. > > Is it possible that the tape Bacula requests is not in the autochanger? > You should have an operator mail requesting a certain tape. Make sure > you insert a tape from the pool required, and make sure you inform > Bacula of the tape change, i.e. issue an 'update slots' command. > >> >> So if I upgrade to 1.39.26, am I going to have to dump my database and >> then import it back in? > > No. > >> I thought that there are a lot of changes >> between 38 and 39 > > Yes. > >> so I am not sure if I am going to be able to move up, >> and I have a bunch of old backups from 38 that I don't want to lose. > > You won't lose any backups when you follow the documented upgrade path: > Install new Bacula version, run catalog upgrade script, start Bacula, > try if everythin works, if it doesn't restore your old version, your > catalog, and report a bug. > > BTW: I would not recommend 1.39 for production use yet as I see some > issues I find hard to analyze. For example, the DIR seems to have a > serious memory leak in certain situations, Can you explain the above as I don't have any credible reports of memory leaks in the Director (but *possibly* in the tray monitor) -- i.e. there are no open bug reports as of the beginning of my vacation. > and the SD sometimes blocks > waiting for jobs tapes without any possible way of getting it to > continue... I'd also like more information on this, unless you are referring to the bug report open on this which is triggered by "Always Open=3Dno". And I agree with you that 1.39, is not yet ready for critical production. > >> >> Is there an upgrade from 38 to 39 doc? I looked and couldn't find one. > > The ReleaseNotes file, and IIRC there is some documentation of the > catalog upgrade scripts. > > Arno > > -- > IT-Service Lehmann al...@it... > 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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > _______________________________________________ > Bacula-users mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users > Best regards, Kern ------------------------------------------------------------------------ - 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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Bacula-users mailing list Bac...@li... https://lists.sourceforge.net/lists/listinfo/bacula-users |