FreeBSD

discard frame w/o leading ethernet header

The other day, I disconnected the ethernet cable from my gateway to reroute the cable. Then, perhaps coincidentally, I started seeing these entries: Jul 2 15:19:57 bast kernel: fxp0: discard frame w/o leading ethernet header (len 4294967294 pkt len 4294967294) Jul 2 15:28:01 bast kernel: fxp0: discard frame w/o leading ethernet header (len 4294967294 pkt len 4294967294) Jul 2 15:28:02 bast kernel: fxp0: discard frame w/o leading ethernet header (len 4294967294 pkt len […]

discard frame w/o leading ethernet header Read More »

Authentication tried for dan with correct key but not from a permitted host

I kept seeing these messages: Jun 12 04:09:18 nyi sshd[94523]: Authentication tried for dan with correct key but not from a permitted host (host=dbclone.example.org, ip=10.6.0.9). Jun 12 04:09:18 nyi sshd[94523]: Authentication tried for dan with correct key but not from a permitted host (host=dbclone.example.org, ip=10.6.0.9). I’ve been seeing them for a long time. How long? Three years. I didn’t think it was that long. But back in July 2010 I mentioned it. After

Authentication tried for dan with correct key but not from a permitted host Read More »

nagios – check_ping CRITICAL – You need more args!!! Could not open pipe:

I’ve been moving some services around lately. A server is dying and I need to move stuff off it. Today I managed to move Bacula and Nagios onto a new server. After a short bit of struggle, I had just one service check that was failing: check_ping. Here’s the example: $ /usr/local/libexec/nagios/check_ping -H bast.example.org -w 3000.0,80% -c 5000.0,100% -p 1 CRITICAL – You need more args!!! Could not open pipe: Google searches did

nagios – check_ping CRITICAL – You need more args!!! Could not open pipe: Read More »

ezjail – renaming, moving, and renumbering

ezjail is my tool of choice for managing jails. I’ve been using it since 2008. Today, I want to do something which ezjail won’t do for me, but will allow me to do. I created a bunch of jails for a Bacula tutorial at BSDCan. Now that I have that server safely home again, I need to add more services to this jail server. My main development machine is acting up. It is

ezjail – renaming, moving, and renumbering 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 »

Creating a ZFS-only box – the first look

I’m about to start setting up a ZFS-only box using FreeBSD 8.2. There will be no UFS volumes in this system. Every previous server I have set up has always booted from a gmirror’d UFS system first, then mounted a ZFS array. This time, everything will be on ZFS. I’ve described this server previously when I first chose the parts back in January. Now, the push is on to get this system installed

Creating a ZFS-only box – the first look 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 »

MIRROR/gm0 has changed from COMPLETE to DEGRADED

GEOM Watch sent me an email this morning: The status of GEOM MIRROR/gm0 has changed from COMPLETE to DEGRADED. The following components have been lost: ad6 Remaining components: ad3 Here’s the smartctl output: [dan@ngaio:~] $ sudo smartctl -a -i /dev/ad6 smartctl 5.43 2012-06-30 r3573 [FreeBSD 8.2-STABLE i386] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Maxtor DiamondMax Plus 9 Device Model: Maxtor 6Y120M0 Serial

MIRROR/gm0 has changed from COMPLETE to DEGRADED Read More »

Aligned versus not aligned

In this post, we’re going to demonstrate why aligning your disk partitions can be a good idea. For starters, we’re going to go with the default alignment, do a test, then align, and redo the test. But first, in case you have no idea what I’m talking about, this randomly discovered post may be a useful primer. Create the scheme on the disk This command creates a GPT scheme on the drive. Create

Aligned versus not aligned Read More »

Aligning disk partitions for better throughput

During a recent install of FreeBSD 9.1 onto a gmirror, it was pointed out that my disk partitions were not aligned. Today, I’ll look at how that affects performance, both before and after alignment. Last night, I installed FreeBSD 9.1 onto a separate HDD, which I’ll use as a floater. I can attach this HDD to any system I need to work on without booting from the main HDD. In attached this HDD

Aligning disk partitions for better throughput Read More »

Scroll to Top