Bacula-users

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

2010-08-11 10:29:05
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 09:18:47 -0500
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. It did the same with CNH910. Here is the list of tapes before the job started:
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 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+

Bacula loaded CNH910, marked as used and started to write data, CNH910 got full, tape was unloaded, CNH911 was loaded, marked as used and started to write data. Only that this time it didnt write as much data as with the first tape, even when both of them have the same capacity.

Thanks
------ 
Romer Ventura

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

2010/8/11 Romer Ventura <rventura AT h-st DOT com>:
Hello,
I am running a full back up with a size of  "estimate files=983,529
bytes=306,761,539,624", the backup started normally and used up 1 full tape
160GB (uncompressed), then it switched tapes and continued to copy data to
the second tape, but all of the sudden it stops and bacula starts
complaining with: "JobId 2: Warning: Unable add Scratch Volume, Pool
"Full-Pool-dsk-tpe" full MaxVols=2"
list media shows:
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 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
|
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Both tapes are the same, both of them are capable of storing 160GB of
uncompressed data. Why is it still asking for more tapes?
Also, status on director shows:


One is marked Full the other is marked Used so neither tape is usable.

Full means the tape is full. Used means that you have configured
bacula to restrict the volume usage in some way (maximum volume jobs,
maximum use duration ...)

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