Hello,

On 2/26/2007 11:27 AM, Andreas Lüdtke wrote:
> Hi,
> 
> my backup strategy is to use one tape per week and after 5 weeks/tapes I 
> re-use the first
> tape.

Ok.

> I do a full backup on Sunday evening and I want to change the tape on Monday 
> morning
> when I'm in the office. I recently changed the config files to automatically 
> eject the
> tape.

I never tried that, but I guess we can be sure it works in principle.

> This was the case this Monday morning, but after I inserted an unused tape (I 
> just
> labeled it last week in advance) and mounted it, the director is still 
> waiting for a tape
> (see below). I use Bacula on Windows 2003 server.

Uuu... ask Robert ;-)

I do think that the windows version is not as well tested as the unix 
one, and I assume that Robert is only waiting to fix the problems that 
come up :-)

> I did already a "purge jobs volume" for the "Tape05" but that didn't help.
> 
> Now I'm somewhat lost. How do I convince Bacula to use "Tape05" ?

More comments below...

> Thanks in advance
> 
>       Andreas
> 
> Device config:
> 
> Device {
>   Name = Quantum
>   Changer Device = tape0
>   Media Type = DLT-V4
>   Device Type = Tape
>   Archive Device = Tape0
>   AutomaticMount = yes
>   AlwaysOpen = yes
>   RemovableMedia = yes
>   RandomAccess = no
>   AutoChanger = no
>   Alert Command = "tapeinfo -f %c | findstr TapeAlert"
>   Spool Directory = "V:\\BaculaSpool"
>   Maximum Spool Size = 2 GB
>   Changer Command = "mtx-changer %o %a %S"
>   Maximum Changer Wait = 4d
>   Offline On Unmount = yes
>   Label media = yes
> }

That configuration looks funny... is that an autochanger or a single 
drive? The configuration looks like a 1.36 one - i.e. no separate 
autochanger section - but that was not ported to windows.

> 
> status storage
> ==========================================================================================
> ======
> Daemon started 19-Feb-07 15:48, 12 Jobs run since started.
>  Heap: bytes=92,775 max_bytes=225,526 bufs=110 max_bufs=119
> 
> Running Jobs:
> No Jobs running.

No jobs running indicates that the SD at least does not actually wait 
for a new tape...

> ====
> 
> Jobs waiting to reserve a drive:

The same applies here.

> ====
> 
> Terminated Jobs:
>  JobId  Level    Files      Bytes   Status   Finished        Name
> ===================================================================
>     87  Incr        133    79.20 M  OK       20-Feb-07 23:06 Srv
>     88  Full          1       432   OK       21-Feb-07 08:40 BackupCatalog
>     89  Incr        193    114.0 M  OK       21-Feb-07 23:06 Srv
>     90  Full          1       432   OK       21-Feb-07 23:10 BackupCatalog
>     91  Incr        146    78.13 M  OK       22-Feb-07 23:06 Srv
>     92  Full          1       432   OK       22-Feb-07 23:10 BackupCatalog
>     93  Incr        168    97.43 M  OK       23-Feb-07 23:06 Srv
>     94  Full          1       432   OK       23-Feb-07 23:10 BackupCatalog
>     95  Incr        154    84.61 M  OK       24-Feb-07 23:06 Srv
>     96  Full          1       432   OK       24-Feb-07 23:10 BackupCatalog
> ====

But then, there's no job from today. So I guess we can assume the SD 
itself has the drive and tape set up correctly but it's the DIR which 
does not know it can continue...

> Device status:
> Device "FileStorage" (V:\BaculaTmp) is not open.
> Device "Quantum" (Tape0) is mounted with Volume="Tape05" Pool="Default"
>     Total Bytes Read=129,024 Blocks Read=2 Bytes/block=64,512
>     Positioned at File=0 Block=0
> ====

Hmmm... that looks like a mounted, empty tape to me, too. The SD read 
the label off the tape an rewound it. No writes yet.

> In Use Volume status:
> Tape05 on device "Quantum" (Tape0)
> ====
> 
> Data spooling: 0 active jobs, 0 bytes; 7 total jobs, 2,000,050,371 max 
> bytes/job.
> Attr spooling: 1 active jobs, 9,135,494 bytes; 6 total jobs, 17,783,343 max 
> bytes.

But there are attributes still spooled... looks like the SD is currently 
despooling attributes after a completed job.

Is that possible, i.e. did the Job finish some time after you wrote your 
mail?

If it did not, I'd like to see the 'sta dir' output, because above you 
state that "the director is still waiting for a tape" but didn't give 
any output showing us how it did wait :-)

Arno

> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to