Bacula-users

Re: [Bacula-users] Upgrade to version 3.0.1

2009-06-12 11:20:41
Subject: Re: [Bacula-users] Upgrade to version 3.0.1
From: ganiuszka <ganiuszka AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 12 Jun 2009 08:16:13 -0700 (PDT)

ganiuszka wrote:
> 
> After these operations I started restoring. All were well. I started
> backup Jobs and I received a message:
> 
> 31-maj 12:14 thinstar-dir JobId 12: Start Backup JobId 12,
> Job=Logowa_Praca.2009-05-31_12.13.40_04
> 31-maj 12:14 thinstar-dir JobId 12: Using Device "FileStorage"
> 31-maj 12:14 thinstar-sd JobId 12: Volume "wokandor" previously written,
> moving to end of data.
> 31-maj 12:14 thinstar-sd JobId 12: Error: Bacula cannot write on disk
> Volume "wokandor" because: The sizes do not match! Volume=13265860
> Catalog=13265657
> 31-maj 12:14 thinstar-sd JobId 12: Marking Volume "wokandor" in Error in
> Catalog.
> 31-maj 12:14 thinstar-sd JobId 12: Job Logowa_Praca.2009-05-31_12.13.40_04
> waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      "FileStorage" (/var/UrzadzeniePlikowe)
>     Pool:         Kruszon Wielki
>     Media type:   File
> 

        Hi!

I know why after an upgrade from version Bacula 1.38.11 to 3.0.1 and
starting a Job I am receiving the following message:

Error: Bacula cannot write on disk Volume "wokandor" because: The sizes do
not match! Volume=13265860 Catalog=13265657

When I label volume in Bacula 1.38.11 than the size in database is 1 byte
but the size on disk is different (example bellow):

*list media
Pool: Default
No results to list.
Pool: Karocany
+---------+--------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+-------------+
| mediaid | volumename   | volstatus | volbytes | volfiles | volretention |
recycle | slot | inchanger | mediatype | lastwritten |
+---------+--------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+-------------+
|       4 | aabbccddeeff | Append    |        1 |        0 |    4,752,000 |     
 
1 |    0 |         1 | File      |             |
+---------+--------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+-------------+

thinstar:/usr/local/bacula/etc# ls -l /var/UrzadzeniePlikowe/aabbccddeeff 
-rw-r----- 1 root root 202 cze 11 17:02 /var/UrzadzeniePlikowe/aabbccddeeff

The volume size in database is 1 but the volume size on disk is 202 bytes.

In Bacula 3.0.1 there is a different situation. In new volumes the volume
size on disk is equal with the size in database (example bellow):

*list media
Pool: Default
No results to list.
Pool: Karocany
+---------+--------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+
| mediaid | volumename   | volstatus | enabled | volbytes | volfiles |
volretention | recycle | slot | inchanger | mediatype | lastwritten |
+---------+--------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+
|       5 | gghhiijjkkll | Append    |       1 |      201 |        0 |   
4,752,000 |       1 |    0 |         0 | File      |             |
+---------+--------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+

thinstar:/usr/local/bacula/etc# ls -l /var/UrzadzeniePlikowe/gghhiijjkkll 
-rw-r----- 1 root root 201 cze 11 17:17 /var/UrzadzeniePlikowe/gghhiijjkkll

This difference begins with version Bacula 2.0.0 when the new volume size
between database and file is equal and when it is possible to run Job on old
volumes (labeled in version Bacula 1.38.11).

>>From Bacula version 2.2.0 backup on volumes labeled in Bacula 1.38.11 is
impossible. This change has been introduced in revision 4377.

Do I understand well? Could anyone confirm my reasoning?
Thanks for help.

gani
-- 
View this message in context: 
http://www.nabble.com/Upgrade-to-version-3.0.1-tp23840800p24000951.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>