From: Kern S. <ke...@si...> - 2004-02-02 20:48:06
|
The behavior you see below is a bug -- fortunately I put in a sanity check that stopped Bacula from looping. This bug has been fixed, when I forget, but it *should* be in the ChangeLog. I'm not convinced that the new slot scheme would solve this problem. If you move tapes around, or if you get the one in the wrong place, Bacula will get confused and require you to do an "update slots" to re-synchronize it. Perhaps if it finds something wrong, it could be smarter but each change needs to be carefully thought out. I've noticed that Bacula is now so complicated that one little change can have unexpected repercussions. Regards, Kern On Mon, 2004-02-02 at 20:38, Dan Langille wrote: > Kern: A while back you spoke about changing the way the slot column > in the media table is used. Today I ecountered a situation where I > wish this was already implemented. I put the wrong tape in the wrong > slot. With the proposed change, this wouldn't have mattered, and the > backups would have proceeded. Am I correct? > > Tape 8 was in slot 1, it should have been in slot 4. Tape11 was in > slot1. > > 02-Feb-2004 13:42 undef-dir: No prior Full backup Job record found. > 02-Feb-2004 13:42 undef-dir: No prior or suitable Full backup found. > Doing FULL backup. > 02-Feb-2004 13:42 undef-dir: Start Backup JobId 1579, Job=xeon.2004- > 02-02_13.41.58 > 02-Feb-2004 13:42 undef-sd: 3301 Issuing autochanger "loaded" > command. > 02-Feb-2004 13:42 undef-sd: xeon.2004-02-02_13.41.58 Warning: > mount.c:226 Director wanted Volume "Tape8". > Current Volume "Tape11" not acceptable because: > 1998 Volume "Tape11" status is Full, but should be Append, Purged > or Recycle. > 02-Feb-2004 13:42 undef-sd: 3301 Issuing autochanger "loaded" > command. > 02-Feb-2004 13:42 undef-sd: xeon.2004-02-02_13.41.58 Warning: > mount.c:226 Director wanted Volume "Tape8". > Current Volume "Tape11" not acceptable because: > 1998 Volume "Tape11" status is Full, but should be Append, Purged > or Recycle. > 02-Feb-2004 13:42 undef-sd: 3301 Issuing autochanger "loaded" > command. > 02-Feb-2004 13:42 undef-sd: xeon.2004-02-02_13.41.58 Warning: > mount.c:226 Director wanted Volume "Tape8". > Current Volume "Tape11" not acceptable because: > 1998 Volume "Tape11" status is Full, but should be Append, Purged > or Recycle. > 02-Feb-2004 13:42 undef-sd: 3301 Issuing autochanger "loaded" > command. > 02-Feb-2004 13:42 undef-sd: xeon.2004-02-02_13.41.58 Warning: > mount.c:226 Director wanted Volume "Tape8". > Current Volume "Tape11" not acceptable because: > 1998 Volume "Tape11" status is Full, but should be Append, Purged > or Recycle. > 02-Feb-2004 13:42 undef-sd: 3301 Issuing autochanger "loaded" > command. > 02-Feb-2004 13:42 undef-sd: xeon.2004-02-02_13.41.58 Warning: > mount.c:226 Director wanted Volume "Tape8". > Current Volume "Tape11" not acceptable because: > 1998 Volume "Tape11" status is Full, but should be Append, Purged > or Recycle. > 02-Feb-2004 13:42 undef-sd: 3301 Issuing autochanger "loaded" > command. > 02-Feb-2004 13:42 undef-sd: xeon.2004-02-02_13.41.58 Warning: > mount.c:226 Director wanted Volume "Tape8". > Current Volume "Tape11" not acceptable because: > 1998 Volume "Tape11" status is Full, but should be Append, Purged > or Recycle. > 02-Feb-2004 13:42 undef-sd: xeon.2004-02-02_13.41.58 Fatal error: Too > many errors trying to mount device /dev/nsa1. |