Hi,

02.07.2007 20:06,, Megan Kispert wrote::
> I have read the documentation but I am still very confused over the 
> pool/volume setup when dealing with disks.  I have two large raid disks 
> that I was trying to use (dump1 and dump2).  I would like to have fulls 
> goto one disk and incremental backups goto the other, or, have some 
> servers backup to dump1 and some to dump2 so that I can manage space.  I 
> am open to any suggestions on howto setup the volumes/pools.

Ok, the usual idea is to create two storage devices, one using dump1, 
the other using dump2 as storage.

Then, link these storages with pools, link the pools to the jobs or 
job levels, and that's all :-)

Suggesting how to setup these links is impossible for us, because we 
know neither the capacity of the disks you have, nor the size of your 
backups for your clients.

If you have clients of more or less similar size, disks of similar 
size, and expect your differential and incremental backups to use much 
less space than the full ones, assigning half of the clients to dump1 
and the others to dump2 would be the most reasonable setup.

> Last night I got the following error with my current volume/pool setup. 
> Does anybody know what that means or how to fix it?
> 
> 
> 
> 02-Jul 11:57 backup1-dir: BeforeJob: run command 
> "/etc/bacula/make_catalog_backu
> p t**** t****"
> 02-Jul 11:57 backup1-dir: Start Backup JobId 45, 
> Job=BackupCatalog.2007-07-02_11
> .57.21
> 02-Jul 11:57 backup1-sd: Volume "Full_0002" previously written, moving to 
> end of
>   data.
> 02-Jul 11:58 backup1-sd: Job write elapsed time = 00:00:10, Transfer rate 
> = 38.9
> 2 M bytes/second
> 02-Jul 11:58 backup1-dir: BackupCatalog.2007-07-02_11.57.21 Fatal error: 
> Volume
> Files at 91 being set to 1 for Volume "Full_0002". This is incorrect.
> 02-Jul 11:58 backup1-sd: BackupCatalog.2007-07-02_11.57.21 Fatal error: 
> Error ge
> tting Volume info: 1992 Update Media error. VolFiles=1, CatFiles=91

This indicates that the catalog is kind of broken.
It looks like your previous job used the volume Full_0002 correctly, 
but the BackupCatalog job failed because the number of files on the 
volume and stored in the catalog don't match.

That might be caused by the previous job, which perhaps truncated that 
volume after the BackupCatalog job was already started.

Job reports for the jobs using Full_0002 previously would be helpful.

Arno


> 02-Jul 11:58 backup1-dir: BackupCatalog.2007-07-02_11.57.21 Error: Bacula 
> 2.0.3
> (06Mar07): 02-Jul-2007 11:58:09
>    JobId:                  45
>    Job:                    BackupCatalog.2007-07-02_11.57.21
>    Backup Level:           Full
>    Client:                 "backup1-fd" 2.0.3 (06Mar07) 
> i686-pc-linux-gnu,redhat,
>    FileSet:                "Catalog" 2007-06-29 23:10:00
>    Pool:                   "Full" (From Job FullPool override)
>    Storage:                "Dump1" (From Job resource)
>    Scheduled time:         02-Jul-2007 11:57:20
>    Start time:             02-Jul-2007 11:57:59
>    End time:               02-Jul-2007 11:58:09
>    Elapsed time:           10 secs
>    Priority:               11
>    FD Files Written:       1
>    SD Files Written:       1
>    FD Bytes Written:       389,215,918 (389.2 MB)
>    SD Bytes Written:       389,216,036 (389.2 MB)
>    Rate:                   38921.6 KB/s
>    Software Compression:   None
>    VSS:                    no
>    Encryption:             no
>    Volume name(s):         Full_0002
>    Volume Session Id:      1
>    Volume Session Time:    1183391798
>    Last Volume Bytes:      166,156,736,011 (166.1 GB)
>    Non-fatal FD errors:    0
>    SD Errors:              0
>    FD termination status:  OK
>    SD termination status:  Error
>    Termination:            *** Backup Error ***
> ================================
> *show pools
> Pool: name=Full PoolType=Backup
>        use_cat=1 use_once=0 cat_files=1
>        max_vols=0 auto_prune=1 VolRetention=7 days
>        VolUse=0 secs recycle=1 LabelFormat=*None*
>        CleaningPrefix=*None* LabelType=0
>        RecyleOldest=0 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0
>        MigTime=0 secs MigHiBytes=0 MigLoBytes=0
> Pool: name=Inc PoolType=Backup
>        use_cat=1 use_once=0 cat_files=1
>        max_vols=0 auto_prune=1 VolRetention=7 days
>        VolUse=0 secs recycle=1 LabelFormat=*None*
>        CleaningPrefix=*None* LabelType=0
>        RecyleOldest=0 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0
>        MigTime=0 secs MigHiBytes=0 MigLoBytes=0
> 
> 
> ==================================
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes      | VolFiles | 
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten 
> |
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |       9 | Inc_0001   | Append    |       1 | 5,587,913,336 |        0 | 
> 604,800 |       1 |    0 |         0 | File      | 2007-07-02 05:16:17 |
> |      10 | Inc_0002   | Append    |       1 |             0 |        0 | 
> 604,800 |       1 |    1 |         0 | File      | 0000-00-00 00:00:00 |
> |      11 | Inc_0003   | Append    |       1 |             0 |        0 | 
> 604,800 |       1 |    2 |         0 | File      | 0000-00-00 00:00:00 |
> |      12 | Inc_0004   | Append    |       1 |             0 |        0 | 
> 604,800 |       1 |    3 |         0 | File      | 0000-00-00 00:00:00 |
> |      25 | Inc_0100   | Append    |       1 |             0 |        0 | 
> 604,800 |       1 |    0 |         0 | File      | 0000-00-00 00:00:00 |
> |      26 | Inc_0101   | Append    |       1 |             0 |        0 | 
> 604,800 |       1 |    1 |         0 | File      | 0000-00-00 00:00:00 |
> |      27 | Inc_0102   | Append    |       1 |             0 |        0 | 
> 604,800 |       1 |    2 |         0 | File      | 0000-00-00 00:00:00 |
> |      28 | Inc_0103   | Append    |       1 |             0 |        0 | 
> 604,800 |       1 |    3 |         0 | File      | 0000-00-00 00:00:00 |
> +---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> 
> 
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles 
> | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten 
> |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> |      13 | Full_0001  | Append    |       1 |   5,029,992,580 |       19 
> |      604,800 |       1 |    0 |         0 | File      | 2007-06-29 
> 22:05:53 |
> |      14 | Full_0002  | Append    |       1 | 166,156,736,011 |       91 
> |      604,800 |       1 |    0 |         0 | File      | 2007-07-02 
> 11:57:59 |
> |      15 | Full_0003  | Append    |       1 |               0 |        0 
> |      604,800 |       1 |    2 |         0 | File      | 0000-00-00 
> 00:00:00 |
> |      16 | Full_0004  | Append    |       1 |               0 |        0 
> |      604,800 |       1 |    3 |         0 | File      | 0000-00-00 
> 00:00:00 |
> |      29 | Full_0100  | Append    |       1 |               0 |        0 
> |      604,800 |       1 |    0 |         0 | File      | 0000-00-00 
> 00:00:00 |
> |      30 | Full_0101  | Append    |       1 |               0 |        0 
> |      604,800 |       1 |    1 |         0 | File      | 0000-00-00 
> 00:00:00 |
> |      31 | Full_0102  | Append    |       1 |               0 |        0 
> |      604,800 |       1 |    2 |         0 | File      | 0000-00-00 
> 00:00:00 |
> |      32 | Full_0103  | Append    |       1 |               0 |        0 
> |      604,800 |       1 |    3 |         0 | File      | 0000-00-00 
> 00:00:00 |
> +---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> =======================================
> 
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to