Hi,

Does your autochanger normally change tapes OK? Has it definitely worked since you upgraded to 1.38.8?

Bacula looks for the appendable volume with the lowest media ID which is why it asked for the one it did.

As you pointed out tho, it should be preferring volumes with inchanger = 1 over those with inchanger = 0.

Points to the autochanger not being setup/working properly.

Also, if you've taken Daily-01-03 out as part of some sort of tape rotation policy should look into marking it as 'Used' - this will prevent Bacula trying to append to it before it's recyle period is up. Assuming you want that behaviour prevented of course.

Under bconsole this is done with  the 'update volume' command.

Hope this helps,


Troy.

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


-------------------------------------------------------
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

Reply via email to