Greetings..
I'm about ready to pull my hair out on this one :-/
My bacula is consistently marking volumes in Error and I'm not sure why.. I had
looked at this a few months ago and it seemed like an issue where some of the
special case code in volume selection was being skipped on File type devices..
anyway, more about my setup:
I am using a fully disk-based setup, utilizing a custom disk-changer script. I
am also setting Maximum Concurrent Jobs = 1 on each of my drive devices, so
that data is not interleaved. I have 10 drives set up, so 10 jobs should run
at the same time (on different volumes).. All volumes are part of the same
pool, and all backup levels go to that pool.
The backup process works fine for the first scheduled backup, picking 10
volumes and labeling them appropriately. I can schedule 20+ backup jobs, and
they will all complete normally as expected and happily pick volumes that a
previous job had just freed up.
The next night, however, when the Incremental runs, I consistently get job
output like this:
11-Aug 01:30 zztop-dir JobId 9: Start Backup JobId 9,
Job=boston.ajboggs.net_backup-onsite_fullset.2010-08-11_01.30.00_08
11-Aug 01:30 zztop-dir JobId 9: Using Device "chg0_drive0"
11-Aug 01:30 zztop-sd JobId 9: 3307 Issuing autochanger "unload slot 1, drive
0" command.
11-Aug 01:33 zztop-sd JobId 9: Warning: Volume "bvol_ELAN-OnSite0_003" wanted
on "chg0_drive0" (/bacula-storage/chg0/drives/drive0) is in use by device
"chg0_drive2" (/bacula-storage/chg0/drives/drive2)
11-Aug 01:33 zztop-sd JobId 9: 3301 Issuing autochanger "loaded? drive 0"
command.
11-Aug 01:33 zztop-sd JobId 9: 3302 Autochanger "loaded? drive 0", result:
nothing loaded.
11-Aug 01:33 zztop-sd JobId 9: Warning: Volume "bvol_ELAN-OnSite0_003" not on
device "chg0_drive0" (/bacula-storage/chg0/drives/drive0).
11-Aug 01:33 zztop-sd JobId 9: Marking Volume "bvol_ELAN-OnSite0_003" in Error
in Catalog.
11-Aug 01:33 zztop-sd JobId 9: 3301 Issuing autochanger "loaded? drive 0"
command.
11-Aug 01:33 zztop-sd JobId 9: 3302 Autochanger "loaded? drive 0", result:
nothing loaded.
11-Aug 01:33 zztop-sd JobId 9: Warning: Volume "bvol_ELAN-OnSite0_003" not on
device "chg0_drive0" (/bacula-storage/chg0/drives/drive0).
11-Aug 01:33 zztop-sd JobId 9: Marking Volume "bvol_ELAN-OnSite0_003" in Error
in Catalog.
11-Aug 01:33 zztop-sd JobId 9: Warning: mount.c:217 Open device "chg0_drive0"
(/bacula-storage/chg0/drives/drive0) Volume "bvol_ELAN-OnSite0_003" failed:
ERR=dev.c:549 Could not open: /bacula-storage/chg0/drives/drive0, ERR=No such
file or directory
My autochanger and device entries look like:
Autochanger {
Name = "chg0"
Device = chg0_drive0
Device = chg0_drive1
Device = chg0_drive2
Device = chg0_drive3
Device = chg0_drive4
Device = chg0_drive5
Device = chg0_drive6
Device = chg0_drive7
Device = chg0_drive8
Device = chg0_drive9
Changer Device = /bacula-storage/chg0/chg0.conf
Changer Command = "/bacula-storage/lvm-changer %c %o %S %a %d %v"
}
Device {
Name = "chg0_drive0"
Autochanger = yes
ArchiveDevice = /bacula-storage/chg0/drives/drive0
DeviceType = File
MediaType = chg0_media
AutomaticMount = yes
AlwaysOpen = yes
DriveIndex = 0
RemovableMedia = no
RandomAccess = yes
Maximum Concurrent Jobs = 1
}
The lvm-changer script that I am using is a script that I wrote, which responds
appropriately to all changer commands as far as I can tell.. and from the job
output, it doesn't look like it's telling the changer script to do anything -
it realizes the tape is in a different drive, and does NOT request that it be
unloaded and reloaded into a different drive.
Do others have similar setups, or does everyone simply interleave data and only
use one disk volume at a time?
Thanks for your help..
Joe
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users