Here is where I am at now. I can use mt and tar and dump to the tape, but bconsole shows:
Device status: Autochanger "turing" with devices: "LTO-2" (/dev/nst0) Device "FileStorage" (/bacula/FileVol) is not open or does not exist. Device "LTO-2" (/dev/nst0) open but no Bacula volume is mounted. Slot 6 is loaded in drive 0. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 When I tried to spool to tape, it asks to mount the volume, although the tape is already in there and I can write to it with mt and tar. So how do I mount a Bacula volume? Running Jobs: JobId Level Name Status ====================================================================== 3020 Increme fluffy.2006-10-30_11.36.24 is waiting for a mount request ==== *mount The defined Storage resources are: 1: File 2: turing Select Storage resource (1-2): . Selection aborted, nothing done. *mount storage=turing 3001 OK mount. Device="LTO-2" (/dev/nst0) * But still I get *mount The defined Storage resources are: 1: File 2: turing Select Storage resource (1-2): . Selection aborted, nothing done. *mount storage=turing 3001 OK mount. Device="LTO-2" (/dev/nst0) * How do I label the mounted volume as a the tape that bacula is looking for? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Little Sent: Wednesday, October 25, 2006 6:13 PM To: Michael Brennen; bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Can't write to the tape 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="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. So if I upgrade to 1.39.26, am I going to have to dump my database and then import it back in? I thought that there are a lot of changes between 38 and 39 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. Is there an upgrade from 38 to 39 doc? I looked and couldn't find one. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Brennen Sent: Wednesday, October 25, 2006 4:16 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Can't write to the tape On Wednesday 25 October 2006 17:47, Greg Little wrote: > So I have installed bacula-1.38.11 > > I have a gentoo box with a Dell 124-T attached, LTO-2, two magazines > ... SNIP ... > I have tried changing sg0 to nst0 and st0, the best I can get is a 3903 > ERR. > > For some reason I can't write to the tape. I am running udev, and with > the config set to sg0/sg1, bacula waits for a mount request and then > times out. Keep the changer on the sg1 device, but do change the tapes to nst?. If you are getting a 3903, you probably need to work with the installed mtx-changer script. I must apply the attached patch to the installed mtx-changer to get it to work with one of my autochangers. YMMV, but you might want to try these changes to see if that helps. This patch is against 1.39.26, which incidentally is recommended by now, so the lines may be off a bit but it will give you an idea of the changes. -- -- Michael ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------- 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