Hi All
I am still having no luck with this - backups fail at random because
"User defined maximum volume capacity exceeded on device". I am using
bacula-1.36.3 (stable on Gentoo). I have tried setting "Maximum Volume
Bytes" as follows through the pool declaration in
/etc/bacula/bacula-dir.conf:
# Monday pool definition
Pool {
Name = MondayPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Maximum Volume Jobs = 2
Maximum Volume Bytes = 38654705664
Volume Retention = 6 days
Accept Any Volume = yes
When I try update the volume with update media and choosing 12 - Update
volume from pool (After updating pools from resources) the volume still
retains the value it has decided for itself:
*llist volume=Monday
MediaId: 3
VolumeName: Monday
Slot: 0
PoolId: 2
MediaType: DAT-72
FirstWritten: 2006-07-18 10:18:15
LastWritten: 2006-07-18 10:19:51
LabelDate: 2006-07-18 08:43:02
VolJobs: 2
VolFiles: 24
VolBlocks: 347,485
VolMounts: 29
VolBytes: 22,416,887,896
VolErrors: 0
VolWrites: 4,852,712
VolCapacityBytes: 0
VolStatus: Used
Recycle: 1
VolRetention: 518,400
VolUseDuration: 0
MaxVolJobs: 2
MaxVolFiles: 0
MaxVolBytes: 22,416,887,896
InChanger: 1
EndFile: 23
EndBlock: 1,493
Ciao
Warwick
Warwick Bruce Chapman wrote:
Martin Simmons wrote:
On Wed, 17 May 2006 11:48:11 +0200,
Warwick Bruce Chapman <[EMAIL PROTECTED]> said:
Martin Simmons wrote:
On Wed, 17 May 2006 11:19:09
+0200, Warwick Bruce Chapman <[EMAIL PROTECTED]> said:
Hey All
How do I tell Bacula to ignore a "User defined maximum capacity" and
just use the whole tape. I have not defined this anywhere and have
even tried setting it to 0 in the resource and I still keep getting
this error. Sometimes it happens after just one backup +-14GB. This is
a DAT72 tape and I usually get about 37GB on it.
16-May 23:00 gateway-dir: Start Backup JobId 177,
Job=DailyBackup.2006-05-16_23.00.01
16-May 23:00 gateway-sd: Volume "Tuesday" previously written, moving to
end of data.
16-May 23:01 gateway-sd: Ready to append to end of Volume "Tuesday" at
file=20.
17-May 00:02 gateway-sd: User defined maximum volume capacity
35,693,601,938 exceeded on device /dev/nst0.
17-May 00:02 gateway-sd: End of medium on Volume "Tuesday"
Bytes=35,693,548,943 Blocks=553,287 at 17-May-2006 00:02.
17-May 00:04 gateway-dir: Pruned 2 Jobs on Volume "Tuesday" from
catalog.
17-May 00:04 gateway-sd: Job DailyBackup.2006-05-16_23.00.01 waiting.
Cannot find any appendable volumes.
The resource values are copied into the media table in the catalog when
the
volume is created, so check that using the 'llist volumes' command. If
the
maxvolbytes is non-zero it can be updated using the 'update media'
command.
__Martin
Hi Martin
I get this, but even configuring te resource with 0 and updating all
the volumes from the resource (ie. all volumes are MaxBytes=0), I still
end up with this situation? I don't want to have to manually update
the tapes just to get the backup to run?!
What about the "Maximum Volume Size" in bacula-sd.conf? It must be one
of
these two limits.
__Martin
Hey Martin
Maximum Volume Size is a depreciated directive. It has been
depreciated in favour of *Maximum Volume Bytes* defined in the
Director's configuration file. I have already tried setting *Maximum
Volume Bytes *to 0 - with no luck. If I use the update command to set
a "Full" tape to 0, all lives happily and well. I am going to try set
**Maximum Volume Bytes** to 77309411328 for tonight's backup, update
the pool from the resource and update the tape from the pool and see
how it goes.
Regards
|
begin:vcard
fn:Warwick Bruce Chapman
n:Chapman;Warwick Bruce
org:Thusa Business Support cc;General Manager
adr:Glenwood;;185 Bulwer Road;Durban;KZN;4001;RSA
email;internet:[EMAIL PROTECTED]
title:Member
tel;work:+27 31 277 1250
tel;fax:+27 31 277 1269
tel;cell:+27 83 7797 094
x-mozilla-html:FALSE
url:http://www.thusa.co.za
version:2.1
end:vcard
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users