Bacula-users

Re: [Bacula-users] tape has room, but Bacula warning unable to add scratch volume

2010-08-11 11:24:09
Subject: Re: [Bacula-users] tape has room, but Bacula warning unable to add scratch volume
From: Romer Ventura <rventura AT h-st DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Wed, 11 Aug 2010 10:13:15 -0500
No, there was no data in the tape. All tapes were "label barcode" and placed in the scratch pool. The 142GB were written by that job. Like you said, it seems the same job is running 2 times. I ll wait and see..

Prior to starting the job:
Pool: Scratch
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       1 | CNH910     | Append    |       1 |   64,512 |        0 |   31,536,000 |       1 |    1 |         1 | tape      | 0000-00-00 00:00:00 |
|       2 | CNH911     | Append    |       1 |   64,512 |        0 |   31,536,000 |       1 |    2 |         1 | tape      | 0000-00-00 00:00:00 |
|       3 | CNH912     | Append    |       1 |   64,512 |        0 |   31,536,000 |       1 |    3 |         1 | tape      | 0000-00-00 00:00:00 |
|       4 | CNH913     | Append    |       1 |   64,512 |        0 |   31,536,000 |       1 |    4 |         1 | tape      | 0000-00-00 00:00:00 |
|       5 | CNH914     | Append    |       1 |   64,512 |        0 |   31,536,000 |       1 |    5 |         1 | tape      | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+

After the job was ran:
Pool: Scratch
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       3 | CNH912     | Append    |       1 |   64,512 |        0 |   31,536,000 |       1 |    3 |         1 | tape      | 0000-00-00 00:00:00 |
|       4 | CNH913     | Append    |       1 |   64,512 |        0 |   31,536,000 |       1 |    4 |         1 | tape      | 0000-00-00 00:00:00 |
|       5 | CNH914     | Append    |       1 |   64,512 |        0 |   31,536,000 |       1 |    5 |         1 | tape      | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: Full-Pool-dsk-tpe
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       1 | CNH910     | Full      |       1 | 164,989,504,512 |      166 |    2,592,000 |       1 |    1 |         1 | tape      | 2010-08-10 20:53:33 |
|       2 | CNH911     | Used      |       1 | 142,552,940,544 |      143 |    2,592,000 |       1 |    2 |         1 | tape      | 2010-08-11 00:53:24 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+



Thanks
------ 
Romer Ventura

On Aug 11, 2010, at 9:32 AM, John Drescher wrote:

Yes, i understand that, but when the tape CNH910 got full, bacula unloaded
the tape and loaded CNH911, when loading the tape, bacula marked it as
"used" before writing any data to it.

So you are saying there was 148GB of data on CNH911 before the job
started. Then bacula loaded the volume, marked it used and then
determined it could not write to a used volume so it asked for a
different volume?

John

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users