1 HOWTO SETUP A FAKE TAPE ENVIRONMENT
2 -----------------------------------
7 The fake tape driver attempts to simulate a tape drive from a low level
8 aspect. It emulates tape operations like fsf, bsf, weom, variable bloc, etc..
10 For that the driver implements 5 operations :
17 If your bacula's binaries are compiled with fake tape support, you won't be
18 able to use real tape drive.
21 Setup the regress environment for tape tests
22 --------------------------------------------
24 Be sure to configure your config file with this :
26 TAPE_DRIVE="/tmp/drive0"
27 TAPE_DRIVE1="/tmp/drive1"
32 AUTOCHANGER="/tmp/ach_config"
33 USE_FAKETAPE=--enable-faketape
34 AUTOCHANGER_SCRIPT=disk-changer
36 You can remplace /tmp/ by what you want.
38 Then, the /tmp/ach_config can contain this to simulate 2 drives :
47 Setup a quite big autochanger (5 drives and 80 slots)
48 -----------------------------------------------------
50 Just run "./tests/faketape-test-changer" test to use right configuration files,
51 then you can use "./scripts/prepare-fake-autochanger" script to initialize the