Backups

Bacula – AfterJob: Host key verification failed

I’ve been moving services from one server to another. Manually. My Bacula server is now running in a FreeBSD jail. I just got ready to copy backups from disk to tape. But one aspect was failing: updating my statistics. After each tape job, I collect statistics on that tape, with respect to tape errors. That is done via SSH. The job error was: 05-Jun 13:52 bacula-dir JobId 132208: shell command: run AfterJob “/home/dan/bin/dlt-stats-kraken” […]

Bacula – AfterJob: Host key verification failed Read More »

The Bacula Tutorial jail server

One of the challenges of providing hands-on demonstrations is giving everyone their own sandbox to play in. I don’t want people to spend time on installing software. I want people to learn about the software in question, specifically Bacula. With this in mind, I’ve been building up a solution based on FreeBSD 9.1, ZFS, and jails. My solution is pretty nifty, but I don’t think it’s anything special. The key is simplicity. The

The Bacula Tutorial jail server Read More »

Deleting old Bacula Volumes

From time to time, my Bacula – space and time website shows some old jobs that need to be copied to tape. Stuff from 100 days or more. There’s no reason to copy stuff that old to tape. It’s already been copied to tape. So why does it appear? Last night I swapped some tapes in the tape library. This morning they would have been used and recycled. I’ll bet that those tapes

Deleting old Bacula Volumes Read More »

The hardware is ready. What tests to run?

I think I’m now at the point where I have all the hardware assembled and it’s ready for testing. Now I’m trying to determine what set of fio tests to run. If you know of a set of standard tests, or just have some of your own, please let me know in the comments. The hardware The disks I have assembled are all available via the LSI 9211-8i. The basic hardware specs are:

The hardware is ready. What tests to run? Read More »

Hardcoding device names

This article talks about FreeBSD 8.2 and how device names might change when you add new devices to an existing system. The other day, when I was telling you about the new tape library, one of the important bits was the device names. The existing tape drive was sa0. The new one was sa1. That’s good. But today, after a system reboot, the tape drives are renumbered. Here is what I had: Today,

Hardcoding device names Read More »

Testing a tape library

As recently written, I have acquired a tape library with a 15-tape magazine. It contains a DLT-8000 tape drive which, although it is no longer state-of-the-art, is a step up from the DLT-7000 I am currently using. Today, I will try using this unit for the first time. I’ll do a simple write, try changing tapes, etc. I’ll be using my previous postings on this topic, such as one on using tape libraries

Testing a tape library Read More »

Adding a new tape library

Recently, I rearranged the bottom shelf of my rack and rotated the DEC library 90°. Then I placed a new [to me] Overland DLT MinilibraryXpress (model LXM8115). I plugged the cable from my server into the Overland unit and daisy-chained that to the DEC library. The grey cable which leads up and out of the photo leads to the server. The cable which leads slightly up and to the left and then loops

Adding a new tape library Read More »

cannot open SCSI device ‘/dev/pass11’ – Permission denied

Right after getting my SCSI cable problems fixed, I was all set to run some Bacula jobs. They immediately started failing: 27-Nov 12:59 bacula-dir JobId 112458: Start Copying JobId 112458, Job=CopyToTape-Diff.2012-11-27_12.58.05_08 27-Nov 12:59 bacula-dir JobId 112458: Using Device “DTL01” 27-Nov 12:59 kraken-sd JobId 112458: Ready to read from volume “DiffAuto-2357” on device “MegaFile” (/storage/compressed/bacula/volumes). 27-Nov 12:59 kraken-sd JobId 112458: 3301 Issuing autochanger “loaded? drive 0” command. 27-Nov 12:59 kraken-sd JobId 112458: 3991 Bad

cannot open SCSI device ‘/dev/pass11’ – Permission denied Read More »

It was the SCSI cable

Last night I powered on my DEC tape library. I had forgotten to power it on earlier in the week after a maintenance session. Backups to tape were queueing up. Bits needed to be moved. Queues needed to be emptied. I powered on. I ran camcontrol rescan followed by camcontrol devlist. The tape library was not showing up. Did I manage to kill it? Did I unseat the SCSI card? After removing the

It was the SCSI cable Read More »

Scroll to Top