A SAN (Storage Area Network) links servers directly to tape storage over dedicated and low-latency channels, thus offloading heavy backup traffic from your local network. That said, given that a shared SAN environment allows multiple servers to access tape drives, organisations risk scrambling and corrupting the tape because a tape drive can only take write instructions from one server at a time.
Bacula Enterprise’s dedicated SAN module plugin shstore uses the SPC-3 SCSI protocol to prevent accidental corruption of tape volumes by compartmentalising storage daemon jobs to prevent these overlaps. When a Bacula storage daemon starts a job, it places an exclusive hardware lock on the tape drive, and any other server requesting access to it has to queue until the job completes and the lock releases.
Through this mechanism, your organisation can share expensive tape infrastructure across multiple servers and maximise backup speeds over a SAN fabric, along with preventing the write conflicts that cause data corruption

