May 2013

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 »

smartctl: FAILING_NOW

I noticed this in my logs today: May 22 14:04:39 bast smartd[1577]: Device: /dev/ad0, Failed SMART usage Attribute: 9 Power_On_Hours. Oh. Really? I looked at the output of smartctl and found: This HDD is part of a gmirror: $ gmirror status Name Status Components mirror/gm0 COMPLETE ad0 ad2 How’s ad2 doing? That seems OK. Regardless of the status, I can do nothing for a week. I’m out of town. I do have several

smartctl: FAILING_NOW Read More »

Setting up the Planex MZK-RP150N to act as a wireless ethernet adaptor

I have a Planex MZK-RP150N. Sometimes (always), I forget how to change the SSID it connects to. This documents it so I can do this faster next time. Wireless LAN Basic Settings Site Survey select the SSID click on Connect Enter the password OK Apply (saves settings) Apply (again; this time it restarts the unit) Done.

Setting up the Planex MZK-RP150N to act as a wireless ethernet adaptor Read More »

Restricting IP addresses to specific databases

Sometimes, you don’t want just anyone talking to your database. In fact, sometimes, you don’t want anyone accessing your database except very specific applications. In this case, I am setting up about 20 databases, each one dedicated to a specific use, and to be accessed only from one IP address each. In this post, I’ll talk about how I first set this up with pg_hba.conf, and then how I altered it to be

Restricting IP addresses to specific databases 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 »

Scroll to Top