On Tue, Jan 5, 2010 at 12:18 PM, John Drescher <dresche...@gmail.com> wrote: > On Tue, Jan 5, 2010 at 4:26 AM, Javier Barroso <javibarr...@gmail.com> wrote: >> Hi people, >> >> First, I'm using an old bacula version (etch version 1.38.11-8), so I >> now this is a 2006 question :( ... >> # mtx -f /dev/autochanger1 load 4 0 >> * mount >> * status storage >> ... >> Device status: >> Autochanger "Autochanger" with devices: >> "Drive-1" (/dev/st0) >> Device "FileStorage" (/tmp) is not open or does not exist. >> Device "Drive-1" (/dev/st0) open but no Bacula volume is mounted. >> Device is BLOCKED waiting for media. >> Slot 4 is loaded in drive 0. >> Total Bytes Read=0 Blocks Read=0 Bytes/block=0 >> Positioned at File=0 Block=0 >> Device "Drive-2" (/dev/st1) open but no Bacula volume is mounted. >> Total Bytes Read=0 Blocks Read=0 Bytes/block=0 >> Positioned at File=0 Block=0 >> ==== >> >> In Use Volume status: >> ISOLAD01 on device "Drive-1" (/dev/st0) >> ==== >> You have messages >> * >> 05-Jan 10:18 backup-sd: 3301 Issuing autochanger "loaded drive 0" command. >> 05-Jan 10:18 backup-sd: 3302 Autochanger "loaded drive 0", result is Slot 4. >> 05-Jan 10:18 backup-sd: 3301 Issuing autochanger "loaded drive 0" command. >> 05-Jan 10:18 backup-sd: 3302 Autochanger "loaded drive 0", result is Slot 4. >> 05-Jan 10:18 backup-sd: 3301 Issuing autochanger "loaded drive 0" command. >> 05-Jan 10:18 backup-sd: 3302 Autochanger "loaded drive 0", result is Slot 4. >> 05-Jan 10:18 backup-sd: Please mount Volume "ISOLAD01" on Storage >> Device "Drive-1" (/dev/st0) for Job openbravodb.2010-01-04_20.00.06 >> >> # ISOLAD01 is a volume in bacula db >> * list media pool=DiarioLunes >> Pool: DiarioLunes >> +---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+---------------+---------------------+ >> | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | >> VolRetention | Recycle | Slot | InChanger | MediaType | >> LastWritten | >> +---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+---------------+---------------------+ >> | 51 | ISOLAD01 | Append | 371,662,282,376 | 523 | >> 518,400 | 1 | 4 | 1 | Ultrium3-SCSI | 2009-10-20 >> 02:33:52 | >> >> So, what am I missing ? Any help is appreciated. > > Nothing. There are bugs like this in 1.38. > > 1) Change /dev/st0 to /dev/nst0 in your config so bacula does not > accidentally delete one of your volumes. > > 2) Stop bacula-sd > > 3) Manually remove the tape using the autohanger command > > 4) Restart bacula-sd. Your jobs probably will have been terminated by > this action. > Thank you very much, I'll try it the next time it happens (I'll change my config like in your tip) >> >> I would like to ask another question ... How difficult is upgrading >> from 1.38 to 2.4 and then to 3.0? Are there many differences between >> config files between these bacula versions, or are backward compatible >> ? >> >> Thank you very much. >> > > I would go to 2.4 first. There is not that much configuration change > but your database will need to be upgraded. On debian I believe the > installer will auto upgrade the database.
Another (I hope last) Are bacula 1.38 cilents are compatible with bacula 2.4 server?, or I need upgrade all my clients in the same time than the server ? I search in 2.4 manual [1] and in wiki, but didn't find anything Thanks http://www.bacula.org/en/rel-manual/index.html ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users