FreeBSD

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 […]

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

sudo: effective uid is not 0, is sudo installed setuid root? 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

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

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

newsyslog: can’t notify daemon, pid 2090: No such process 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

zfs send from old file server Read More »

Scroll to Top