FreeBSD

ZFS system hits high load during scrub

My ZFS system hits a high load average every week during its scrub. Here is what top looks like after I pressed i and then S: last pid: 42049; load averages: 3.78, 3.26, 3.42 up 18+13:47:14 11:43:01 220 processes: 3 running, 216 sleeping, 1 waiting CPU: 7.5% user, 0.0% nice, 12.8% system, 1.2% interrupt, 78.5% idle Mem: 765M Active, 236M Inact, 8667M Wired, 17M Cache, 3284M Buf, 22G Free Swap: 8192M Total, 2404K […]

ZFS system hits high load during scrub Read More »

Creating a FreeBSD jail to run DHCP and DNS

I’m in the process of setting up a new gateway/firewall. The new hardware will be faster and have more space. At present, the old firewall is also providing DHCP and DNS services. I want to move those off the gateway and onto another server. Why? I want the gateway to run only services that are related to gateway/firewall services. That keeps things simple. At present, the new firewall has just 43 packages installed.

Creating a FreeBSD jail to run DHCP and DNS Read More »

The new gateway configuration

Today I created the new gateway machine. It is a ZFS-only system with 3x3TB drives in a mirror configuration. The hardware was my old ZFS workhorse, now replaced by something with more storage. I had a moment of panic, thinking this server had just one NIC, but I was wrong. em0 will be the local 1G LAN. re0 will have to be my upstream connection. That’s pretty sad, given it’s only a 10Mb

The new gateway configuration Read More »

Using Bacula in a jail

I use FreeBSD. I’ve used it since 1998. For me, it does good stuff, reliably, and predictably. The community is very supportive and helpful. That goes a long way when choosing your open source operating system. Included within FreeBSD, since FreeBSD 4.0 in March 2000, is a great tool for separating out services and to provide a virtualization strategy: jails. Some will argue that jails are not virtualization. I contend that it’s a

Using Bacula in a jail Read More »

Moving Bacula Volumes from one Storage to Another

A few weeks ago, I moved some Bacula Volumes from one Storage Daemon to another. In fact, I was decommissioning the old bacula-sd and creating a new one. I copied all the Volumes over. Backups have been running smoothly ever since. However. Today I tried a restore. It failed. Without any useful diagnostic information. Here is what I have: After thinking for a while, I started to wonder if this was a database

Moving Bacula Volumes from one Storage to Another Read More »

Adding in the new SCSI card

I’ve been building up a new server lately. Now I’m ready to move the tape library from the old host to thew new host. As I opened the new server to insert the existing SCSI card, I discovered that I needed a new SCSI card. It just would not fit. This is the card I was using under FreeBSD 8.4: ahc0: <Adaptec 2944 Ultra SCSI adapter> port 0xa800-0xa8ff mem 0xfb7df000-0xfb7dffff irq 20 at

Adding in the new SCSI card Read More »

ezjail-admin: moving a jail between hosts with archive

I’m in the process of moving a system from one server to another. Today, I’m going to try moving a jail using ezjail-admin archive. The two systems I am copying jails between these two systems: source: FreeBSD 8.4-RELEASE destination: FreeBSD 9.1-RELEASE-p4 I really am interested to see if this works. Creating the archive Best practice is to stop the jail. You can archive a running jail, but I content that you will get

ezjail-admin: moving a jail between hosts with archive Read More »

sudo: effective uid is not 0, is sudo installed setuid root?

Tonight I created a new jail, and later installed sudo into that jail. Then I tried to run sudo: $ sudo make install clean sudo: effective uid is not 0, is sudo installed setuid root? What? It is setuid: $ ls -l `which sudo` -rwsr-xr-x 1 root wheel 117112 Jul 26 17:08 /usr/local/bin/sudo I had no idea. wxs had the answer: mount points. Here is the problem, as revealed by this command in

sudo: effective uid is not 0, is sudo installed setuid root? Read More »

Scroll to Top