2013

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 »

Strict Standards: Declaration of Suffusion_MM_Walker::start_el() should be compatible with Walker::start_el

If you’re using Suffusion and you just upgraded to WordPress 3.6, you may have to fix something manually. In my case, I’m on Suffusion 4.4.6. I’m sure suffusion will be upgraded soon, and I’ll direct them to this post just as soon as I get it out. If, after upgrading to WordPress 3.6, you see this message: Strict Standards: Declaration of Suffusion_MM_Walker::start_el() should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args =

Strict Standards: Declaration of Suffusion_MM_Walker::start_el() should be compatible with Walker::start_el 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 »

nagios check_smartmon fails with SATA presented as SCSI devices

I’ve been using Nagios for a while. I use it to monitor many things, varying from disk space to disk temperature. One of the packages I use for this is net-mgmt/nagios-check_smartmon. This code is getting out of date it seems. According to the timestamp at the top of the file, the last time it was updated was 2006-03-24 10:30:20. So it’s not surprising that it’s failing to work properly on a few cases.

nagios check_smartmon fails with SATA presented as SCSI devices Read More »

Moving zfs datasets / filesystems around

After the zfs send, I had system/foo/bar, but I really just wanted system/bar. How do I fix that? mv(1) was my first guess. I was wrong. What I wanted was zfs(8) rename. Let me explain. After doing my: zfs send storage/compressed/bacula@2013.07.22:06:33 | mbuffer | ssh -t dan@10.5.0.20 ‘zfs receive system/usr/local/bacula/FromKraken’ I quite, correctly, wound up with system/usr/local/bacula/FromKraken, not the system/usr/local/bacula which I wanted. Here’s how I fixed that, but first, I took snapshots,

Moving zfs datasets / filesystems around Read More »

zfs send | zfs receive; finally finished

Today it finished. That ZFS send I started on Monday finally finished. Recap The original command was: # zfs send storage/compressed/bacula@2013.07.22:06:33 | mbuffer | ssh -t dan@10.5.0.20 ‘zfs receive system/usr/local/bacula/FromKraken’ That’s was the initial send of the filesystem. But more data has been added to it. So I take another snapshot, and send that: Send what’s accumulated since previous send # zfs snapshot storage/compressed/bacula@2013.07.25:08:20 And now I send the incremental stream: # zfs

zfs send | zfs receive; finally finished Read More »

newsyslog: can’t notify daemon, pid 2090: No such process

I keep getting this message in my email, daily, at midnight UTC: newsyslog: can’t notify daemon, pid 2090: No such process This is generated by this entry: $ grep hp http /etc/newsyslog.conf /var/log/httpd-*.log 640 28 * $D5 BG /var/run/httpd.pid 30 This rolls over the log files for me. The message has been the same every day: pid 2090. However, there is no process with that ID: $ ps auwx | grep 2090 $

newsyslog: can’t notify daemon, pid 2090: No such process Read More »

zfs send taking a while…

That ZFS send from yesterday, is taking more than 24 hours. Current status: in @ 53.7 MB/s, out @ 53.7 MB/s, 3892 GB total, buffer 100% full That’s about 4TB out nearly 13TB: $ zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT storage 12.7T 12.0T 739G 94% 1.00x ONLINE – Based on that progress, my prediction for completion is Thursday morning. On a related note, my pool needs to be upgraded:

zfs send taking a while… Read More »

zfs send from old file server

Earlier today, I started a zfs send | zfs receive between the old file server and the new file server. It won’t finish until early morning tomorrow. [root@kraken ~]# zfs send storage/compressed/bacula@2013.07.22:06:33 | mbuffer | ssh -t dan@10.5.0.20 ‘zfs receive system/usr/local/bacula/FromKraken’ Pseudo-terminal will not be allocated because stdin is not a terminal. in @ 54.9 MB/s, out @ 54.9 MB/s, 47.6 GB total, buffer 100% full Why mbuffer? Because it shows me some

zfs send from old file server Read More »

Scroll to Top