FreeBSD

Adding in a SAS card renumbered my devices

Last night, I added a SAS card into a box which is connected to a tape library (photos here). After starting up the box, Nagios reported that the tape device was no longer present. I first added such checks back in 2012 and updated them for more recent acquisitions. This means that the copy-to-tape jobs did not run last night, because there was no sa0, instead, there was an sa1, which was not […]

Adding in a SAS card renumbered my devices Read More »

Adding a failed HDD back into a ZFS mirror

I do have a FreeBSD-11 box, cuppy: $ uname -a FreeBSD cuppy.int.unixathome.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r279394: Sat Feb 28 21:01:21 UTC 2015 dan@cuppy.unixathome.org:/usr/obj/usr/src/sys/GENERIC amd64 $ That box is used mostly for testing and/or erasing DLT tapes. The current status of that box is not healthy. It’s running fine, but it is not optimal: Let’s fix this. Background Why is one drive upset? Because I installed FreeBSD onto it. Why? I don’t know,

Adding a failed HDD back into a ZFS mirror Read More »

Added new drive when existing one gave errors, then zpool replace

In this post, I am working with FreeBSD 10.2 on this server. Over the past few days, a 3 year old drive has been giving errors. The number of errors has been constant, but I have a spare drive here, so I decided to replace it. I have verified that it is out of warranty. Rather than pull the error drive and replace it, I opted to add in a new drive and

Added new drive when existing one gave errors, then zpool replace Read More »

smartd: Device: /dev/ada0, 8 Currently unreadable (pending) sectors persists

That smartd: Device: /dev/ada0, 8 Currently unreadable (pending) sectors problem which arose on Sunday is still around. I’ve run a short test, a long test, and a ZFS scrub is now underway. I may just replace the drive. $ sudo smartctl -P show /dev/ada0 smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE-p9 amd64] (local build) Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org Drive found in smartmontools Database. Drive identity strings: MODEL: TOSHIBA DT01ACA300 FIRMWARE:

smartd: Device: /dev/ada0, 8 Currently unreadable (pending) sectors persists Read More »

Using a Dell TL4000 with Bacula’s bacula-sd on FreeBSD with ZFS

Last night, I managed to install new (but used) SAS cables for my Dell TL4000 on the tape01 server. I managed to get bacula-sd running, but I was unable to communicate with it from bacula-dir, via bconsole on my laptop. Eventually, I ran bacula-sd from the command line in the foreground and with debugging and saw things which needed to be corrected. In this post, I will adjust permissions on devices get bacula-dir

Using a Dell TL4000 with Bacula’s bacula-sd on FreeBSD with ZFS Read More »

Dell TL4000 tape library: running btape and configuring Bacula’s mtx-changer

In this post, I am using FreeBSD 10.2 and Bacula 7.4.0. I am now the proud second-hand owner of a Dell TL4000. The first thing I did was add an air filter. Why? Because I can. I got one made, with custom dimensions, by DEMCiflex. You can see that filter here in this photo. My next task is configuring the tape library to work with Bacula. The first part of that is mtx-changer

Dell TL4000 tape library: running btape and configuring Bacula’s mtx-changer Read More »

tape01

This post has been superseded by a newer post. The new SFF-8088 to SFF-8088 SAS cables have arrived and have been connected to the LSI 9200-8E SAS card and to the Dell TL4000 tape library. The updated the dmesg output etc and appear on this page, for future reference. The significant portion is: I will have to investigate those no free space available messages later, but given all the devices are present, I

tape01 Read More »

tape01

This post is deprecated by this one. I have a new SAS card for the tape server. This time, we are using an LSI 9200-8E SAS card. I’ve updated the dmesg output etc and put on this page, for future reference. The significant portion is: World, please meet tape01, the newest addition to my home lab, and reincarnated from an old server. The tape library itself is not connected because the cables For

tape01 Read More »

Uncorrectable parity/CRC error

These just turned up: Jan 9 14:31:13 slocum kernel: (ada6:ahcich6:0:0:0): READ_FPDMA_QUEUED. ACB: 60 28 48 5d 1d 40 e1 00 00 00 00 00 Jan 9 14:31:13 slocum kernel: (ada6:ahcich6:0:0:0): CAM status: Uncorrectable parity/CRC error Jan 9 14:31:13 slocum kernel: (ada6:ahcich6:0:0:0): Retrying command Jan 9 14:31:13 slocum kernel: (ada6:ahcich6:0:0:0): READ_FPDMA_QUEUED. ACB: 60 08 68 d0 57 40 0f 00 00 00 00 00 Jan 9 14:31:13 slocum kernel: (ada6:ahcich6:0:0:0): CAM status: Uncorrectable parity/CRC

Uncorrectable parity/CRC error Read More »

tape01

This post is deprecated by this one. After a failed first attempt to get the SAS card working with a tape library, John Baldwin suggested I try mfip (there is no man page for it), but I discovered it was a kernel module. I issued the kdload mfip command, checked /var/log/messages, and found the tape library and drives had been added: Jan 1 00:30:42 tape01 kernel: mfip0: on mfi0 Jan 1 00:30:42 tape01

tape01 Read More »

Scroll to Top