Bacula-users

[Bacula-users] Bacula mixing up pools and mount points

2009-06-15 10:56:31
Subject: [Bacula-users] Bacula mixing up pools and mount points
From: Jonathan Bayer <jbayer AT regiscope DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 15 Jun 2009 10:52:38 -0400
Hi,

Running Bacula 3.0.1 on an Ubuntu 9.05 system.
Main backups are done to an internal hard disk.  Pool is called Internal, volume name is Internal
VirtualFull backups are done to an external hard disk.  Pool is called External, volume name is D1

The internal pool is mounted in:  /var/lib/bacula/archive
The external pool is mounted in /media/bacula

The external pool is accessed using the NextPool keyword.

Bacula gets the pools confused.  It looks for the D1 volume at the internal pool location

This doesn't make sense, it is trying to both read and write at the same location.

Any ideas?

JBB


15-Jun 10:44 bayer-sd JobId 423: Warning: dev.c:534 dev.c:532 Could not open: /var/lib/bacula/archive/D1, ERR=No suchfile or directory
15-Jun 10:44 bayer-sd JobId 423: Warning: acquire.c:221 Read open device "FileStorage" (/var/lib/bacula/archive) Volume "D1" failed: ERR=dev.c:532 Could not open: /var/lib/bacula/archive/D1, ERR=No such file or directory

15-Jun 10:44 bayer-sd JobId 423: Please mount Volume "D1" for:
    Job:          Clonezilla.2009-06-15_10.41.00_24
    Storage:      "FileStorage" (/var/lib/bacula/archive)
    Pool:         Internal
    Media type:   File
*list media



Pool: Internal
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes        | volfiles | volretention | recycle | slot | inchanger| mediatype | lastwritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       1 | Internal   | Append    |       1 | 650,457,573,214 |      151 |   31,536,000 |       1 |    0 |         0| File      | 2009-06-15 10:33:29 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: External
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes        | volfiles | volretention | recycle | slot | inchanger| mediatype | lastwritten         |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|       5 | D1         | Append    |       1 | 272,625,134,040 |       63 |   31,536,000 |       1 |    0 |         0| File      | 2009-06-05 18:33:31 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

Pool {
  Name = Internal
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  NextPool = External
  Storage = File
}

# Default pool definition
Pool {
  Name = External
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  Storage = ExternalFileStorage
}



------------------------------------------------------------------------------
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