FreeBSD

Using poudriere to create a custom FreeBSD repository for package installation

I just showed you how I installed ezjail 3.3 on FreeBSD 9.2 and how it uses ZFS for each jail. Today I’m writing about using poudriere to create custom packages for use by pkng. In this post, I will be creating packages on a FreeBSD 9.2 server. Those packages are for running Bacula on FreeBSD 9.2. To accomplish this, we will need: A list of ports to install for running Bacula. In poudriere […]

Using poudriere to create a custom FreeBSD repository for package installation Read More »

Installing ezjail 3.3 on FreeBSD 9.2 using ZFS

Today I will be installing ezjail 3.3 on a FreeBSD 9.2 system. I will give an overview of the installation and go straight to the configuration of the first jail. As I type this, I’m looking back at my old notes from 2008. Installation I installed ezjail with this command: pkg install ezjail Configuration Enable ezjail by adding this command to /etc/rc.conf: ezjail_enable=”YES” This system is configured with ZFS and each jail will

Installing ezjail 3.3 on FreeBSD 9.2 using ZFS Read More »

Bacula btape test of Compaq Storage Works MSL5026 Library

This output is a Bacula btape test of the library mentioned in this post. $ sudo btape -c /usr/local/etc/bacula/bacula-sd.conf /dev/nsa0 Tape block granularity is 1024 bytes. btape: butil.c:290 Using device: “/dev/nsa0” for writing. btape: btape.c:477 open device “DTL03” (/dev/nsa0): OK *test === Write, rewind, and re-read test === I’m going to write 10000 records and an EOF then write 10000 records and an EOF, then rewind, and re-read the data to verify that

Bacula btape test of Compaq Storage Works MSL5026 Library Read More »

Using the Compaq Storage Works MSL5026 Library

I am fortunate to receive donations. In the early days, it was a 386 desktop. Later, it was SCSI drives. Recently, it’s been tape libraries. A Bacula user in Europe donated an Overland DLT-8000 tape library in 2012 and paid for shipping to me. At BSDCan 2013, I was fortunate to pick up an Compaq StorageWorks MSL5026 SDLT tape library and it has sat unused. It’s dead Jim A few weeks back, the

Using the Compaq Storage Works MSL5026 Library Read More »

daily run output not parsing smartd output correctly

I’ve noticed that the smartd output has changed. It’s not parsing the results correctly. Security check: (output mailed separately) Checking for denied zone transfers (AXFR and IXFR): Scrubbing of zfs pools: skipping scrubbing of pool ‘system’: last scrubbing is 3 days ago, threshold is set to 7 days Backing up pkgng database: SMART status: Checking health of /dev/ada0: OK Checking health of /dev/ada1: OK Checking health of /dev/da0: === START OF INFORMATION SECTION

daily run output not parsing smartd output correctly Read More »

Script for listing the latest ZFS snapshot – starting place for Bacula backups

This post has it all: backups deduplication snapshots ZFS Bacula ezjail Backups are essential for proper sanity, or at least, a reasonable facsimile. I strongly believe that doing backups right is the only way to backup. Go big or go home. I’ve been converting all my servers to ZFS. I like ZFS for many reasons, and I’m going to list two: data integrity snapshots In this case, instead of backing up the entire

Script for listing the latest ZFS snapshot – starting place for Bacula backups Read More »

FreeBSD jails on non-routable IP addresses

One of my goals with the server I’m setting up is putting non-public services into jails with non-routable IP addresses. Today, I’ve been working on getting PostgreSQL into a jail. The problem I have been grappling with is not putting PostgreSQL into a jail but routing. It took me a while to figure out where I was going wrong. Turns out, it was my NAT rules and, perhaps, my IP address strategy. The

FreeBSD jails on non-routable IP addresses Read More »

Accessing FreeBSD Jails over OpenVPN

With this new server, I am taking a new approach. Each jail will have at least three IP addresses: The public IP4 address, used by internet facing services (e.g. http or https) The public IPv6 address, similar to the above A VPN address, used for system administration and private services (e.g. nrpe) In this article, I will assume you are familiar with ezjail, FreeBSD jails, basic networking, OpenVPN, and ZFS. That is, this

Accessing FreeBSD Jails over OpenVPN Read More »

Bootstrapping a new FreeBSD jail host as an Ansible node

A few days I configured a new server to be an Ansible node. This will allow my Ansible configuration tool to configure and install software. Installing Ansible and getting it running is not covered by the post. All I show here is how I got a remote server ready to be configured by Ansible. The server in question was running FreeBSD 9.2 with ZFSRoot. Preparing the client for configuration by Ansible Key to

Bootstrapping a new FreeBSD jail host as an Ansible node Read More »

Scroll to Top