I do have that:
Autochanger {
Name = Autochanger
Device = DLTv4
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg4
}
Device {
Name = DLTv4
Drive Index = 0
Media Type = tape
Archive Device = /dev/nst0
AutomaticMount = yes
LabelMedia = yes
AlwaysOpen = yes
Autoselect = yes
RemovableMedia = yes
RandomAccess = no
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
It just tries to use the media that has been removed, even after
update slots had been issued. Perhaps the retention period?? But
should it just pull it from the scratch media since the tape is not
there..?
Pool {
Name = FileServPool-Full-tape
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 1 months
Maximum Volume Jobs = 1
Maximum Volumes = 12
Storage = SLDLTv4
}
Pool {
Name = FileServPool-Diff-tape
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 1 months
Maximum Volumes = 1
Storage = SLDLTv4
}
Pool {
Name = FileServPool-Incre-tape
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 5 days
Maximum Volumes = 1
Storage = SLDLTv4
}
Thanks
------
Romer Ventura
On Oct 6, 2010, at 2:46 PM, Bob Hetzel wrote:
Isnt it?supposed?to pull media from scratch pool?
I believe it will pull from the scratch pool if only if there are no
acceptable volumes in the pool. CNH895 was an acceptable volume even
though it was not in the changer so it picked that over grabbing one
from the scratch.
There may be some configuration setting to prevent bacula from
wanting
a volume that is not in the changer but I do not know. Some one else
will have to help with that..
John
In your Storage section of your bacula-dir.conf file, if you are
using an
autochanger you need to specify 'Autochanger = yes' so bacula will
check
the InChanger field when it works with media.
Bob
----------------------------------------------------------------------
--------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating
great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users