# the next tape. One minor wrinkle: we create the two tapes
# in the Scratch pool, so they should be switched to the Default
# Pool automatically.
+# We set TestVolume001 to not in the changer, so the algorithm
+# should find TestVolume002 and use it rather than blocking.
#
# Note we use the viritual disk autochanger
#
@$out tmp/log1.out
label storage=DDS-4 volume=TestVolume001 slot=1 pool=Scratch drive=0
label storage=DDS-4 volume=TestVolume002 slot=2 pool=Scratch drive=0
-update Volume=TestVolume001 MaxVolBytes=3000000 pool=Scratch drive=0
+update Volume=TestVolume001 MaxVolBytes=2000000 pool=Scratch drive=0
update Volume=TestVolume001 inchanger=no pool=Scratch drive=0
@#setdebug level=200 storage=DDS-4
llist volume=TestVolume001
+llist volume=TestVolume002
run job=NightlySave yes
wait
messages