Author name: Dan Langille

I've been playing with computers since I read an Elementary Electronics magazine way back in the 1970s. I started contributing to open source projects in 1998. After that, I gradually moved from being a software developer to being a systems administrator.

Adding Nagios checks for tape drives / libraries

I use Bacula for my backups. Most of my backups are done to disk, then copied to tape. I have long liked the idea of having multiple backups on different media. On a regular basis, I move the FULL backup tapes to an offsite location. This is standard practice and highly recommended if you can do it. I don’t use the latest and greatest tape drives. I’m using DLT drives. I like them […]

Adding Nagios checks for tape drives / libraries Read More »

Bacula? Why you no mount?

From this morning: $ bconsole Connecting to Director bacula.example.org:9101 1000 OK: bacula-dir Version: 5.2.6 (21 February 2012) Enter a period to cancel a command. *mount storage=DigitalTapeLibrary slot=1 3001 OK mount requested. Specified slot ignored. Device=”DTL01″ (/dev/nsa0) And nothing mounts… But…. *mount storage=DigitalTapeLibrary slot=1 3001 OK mount requested. Specified slot ignored. Device=”DTL01″ (/dev/nsa0) Eh? OK, backups are running again… *m 14-Dec 11:39 bacula-dir JobId 114017: Recycled volume “ETU137” 14-Dec 11:39 bacula-dir JobId 114017: Using

Bacula? Why you no mount? Read More »

Syncing my Google stuff with my Apple stuff

I use Google calendar for a number of things. I also have my contacts in Google. I also use Google Mail, but also run a person mail server. So… I want to see my Google contacts on my phone and I want to see my Google calendars there too. There are a number of ways to do this. This documents how I did this on my iPhone 5. I use, and encourage you

Syncing my Google stuff with my Apple stuff Read More »

Multi-site WordPress installation

I use WordPress for three websites: http://dan.langille.org/ (this website) http://news.freshports.org/ http://wp.freebsddiary.org This also mean I have WordPress installed three times. Recently, I looked at moving to multi-site WordPress. I failed. Or rather, I abandoned the process. My goals: have one instance of WordPress for all three website have each blog available via both https Option 1 is to reduce the work required when upgrading WordPress and plugins. Option 2 is to ensure I

Multi-site WordPress installation 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