Hello, If you upgraded from an older Bacula, and have not recently done an "update slots", your catalog database probably does not have a storageid associated with your autochanger. This can be checked by doing the following:
llist volume=xxx where xxx is one of the appendable volumes in your changer. If the StorageId field (the last line) is zero, then you need to do an "update slots" and it should be corrected. You can see what Storage resource the StorageId corresponds to by doing: sql select * from Storage; The StorageId field was added to handle multiple autochangers at the same time -- otherwise one gets "conflicts" with slot numbers. On Thursday 04 May 2006 08:25, Mindaugas wrote: > Hello, > > Recently upgraded to Bacula 1.38.8. And today got report that bacula > needs tape which > currently isn't in the changer. But there are two empty tapes in changer > for the Daily pool? > > If I manually unloaded Daily-02-02 tape and loaded and mounted > Daily-02-03 backup went > smoothly from there. > > Database is PostgreSQL. > > Mindaugas > > 04-May 06:59 bh1-sd: nimsdb.2006-05-04_01.08.09 Warning: Director wanted > Volume "Daily-01-03" for device "LTO-2" (/dev/nst0). > Current Volume "Daily-02-02" not acceptable because: > 1998 Volume "Daily-02-02" status is Full, but should be Append, Purged > or Recycle. > 04-May 06:59 bh1-sd: Please mount Volume "Daily-01-03" on Storage Device > "LTO-2" (/dev/nst0) for Job nimsdb.2006-05-04_01.08.09 > > *list media pool=Daily > +---------+-------------+-----------+-----------------+----------+--------- >- ----+---------+------+-----------+-----------+---------------------+ > > | mediaid | volumename | volstatus | volbytes | volfiles | > > volretention | recycle | slot | inchanger | mediatype | lastwritten > > +---------+-------------+-----------+-----------------+----------+--------- >- ----+---------+------+-----------+-----------+---------------------+ > > | 13 | Daily-01-03 | Append | 71,776,112,996 | 73 | > > 1,209,600 | 1 | 14 | 0 | LTO-2 | 2006-04-28 03:27:02 | > > | 21 | Daily-02-01 | Purged | 478,144,503,575 | 486 | > > 1,209,600 | 1 | 2 | 1 | LTO-2 | 2006-04-09 02:52:49 | > > | 22 | Daily-01-02 | Append | 104,302,460,392 | 106 | > > 1,209,600 | 1 | 11 | 0 | LTO-2 | 2006-04-27 05:53:59 | > > | 23 | Daily-01-01 | Recycle | 1 | 0 | > > 1,209,600 | 1 | 13 | 0 | LTO-2 | | > > | 25 | Daily-02-02 | Full | 416,624,052,719 | 421 | > > 1,209,600 | 1 | 6 | 1 | LTO-2 | 2006-05-04 03:59:05 | > > | 26 | Daily-01-04 | Append | 17,812,836,381 | 18 | > > 1,209,600 | 1 | 9 | 0 | LTO-2 | 2006-04-26 13:19:12 | > > | 28 | Daily-02-03 | Append | 1 | 0 | > > 1,209,600 | 1 | 4 | 1 | LTO-2 | | > > | 29 | Daily-02-04 | Append | 1 | 0 | > > 1,209,600 | 1 | 5 | 1 | LTO-2 | | > +---------+-------------+-----------+-----------------+----------+--------- >- ----+---------+------+-----------+-----------+---------------------+ > > > > ------------------------------------------------------- > 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 -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- 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