NEWS:

Archive for the 'Open Source' Category

Oh damn! I should have used screen!

Saturday, January 22nd, 2011

I’m sure you’ve had one of these moments:

ssh to a server
start a long running command
wanted to disconnect and go home
Oh Damn! I should have used screen!

I have long wanted such a tool Now there appears to be a solution.
reptyr seems to fit the bill. That URL also describes a few other tools:

screenify
retty

I’m […]

Running a Bacula Copy Job

Monday, November 22nd, 2010

Over the past few months, I’ve been getting ready to copy Bacula backups from disk to tape, via a Copy Job. Tonight was my first attempt. I failed. And I think I know why. Concurrency.
The output so far:

*run job=CopyMegaFileToTape
Using Catalog “MyCatalog”
Run Copy job
JobName: CopyMegaFileToTape
Bootstrap: […]

pf - cannot define table: Cannot allocate memory

Monday, October 25th, 2010

I use pf on FreeBSD 8.1-stable as my firewall of choice. Recently I’ve started using the University of Alberta list of trapped addresses. As of the time of writing this, the list contains about 56,000 IP addresses. When combined with my own list of 27,000 SPAMTRAP addresses, I quick ran into a problem […]

zfs send | zfs receive

Tuesday, October 5th, 2010

For the record, I was doing a copy within a system recently:

# time zfs send storage/bacula@transfer | mbuffer | zfs receive storage/compressed/bacula-buffer
in @ 0.0 kB/s, out @ 0.0 kB/s, 4394 GB total, buffer 100% fullll
summary: 4394 GByte in 35 h 11 min 35.5 MB/s

real 2111m18.302s
user 11m44.831s
sys […]

Sending out a URL for password reset

Friday, September 17th, 2010

Quite some time ago, FreshPorts and The FreeBSD Diary both moved from clear text passwords to password hashes. As such, you are no longer able to recover your password. You had to email me. This is extra work for everyone. Let us automate this.
The first, step, is a table:

create table user_password_reset(
[…]

More RAID oddness

Thursday, August 26th, 2010

After running the 3Ware diagnostic script, the status of the array went to OK. A short time later, it reverted to this

$ sudo /usr/local/sbin/tw_cli info c0 u0

Unit UnitType Status %RCmpl %V/I/M Port Stripe Size(GB)
————————————————————————
u0 […]

RAID issues

Tuesday, August 24th, 2010

I discovered this tonight. I don’t know how long this has been going on.

$ sudo tw_cli info c0

Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
——————————————————————————
u0 RAID-10 OK […]

Dual head RADEONHD - screen blanking

Wednesday, August 18th, 2010

I recently upgraded xorg on my workstation at the office. Immediately I started seeing problems with one of the monitors. It would go empty/blank/black for three seconds, then resume normal operation. Then it would go blank again when I interacted with the screen. In short, that one monitor was completely useless.
Swapping cables […]

Xorg.0.log for RadeonHD

Wednesday, August 18th, 2010

This is the /var/log/Xorg.0.log for my RadeonHD.

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.1-STABLE amd64
Current Operating System: FreeBSD subie.example.com 8.1-STABLE FreeBSD 8.1-STABLE #1: Wed Aug 11 14:34:19 EDT 2010 dlangille@subie.example.com:/usr/obj/usr/src/sys/DVL amd64
Build Date: 12 August 2010 05:57:37PM

Current version of pixman: 0.16.6
[…]

xorg.conf for RadeonHD

Wednesday, August 18th, 2010

This is the xorg.conf file for my RadeonHD setupt

Section “ServerLayout”
Option “AllowEmptyInput” “off”
Identifier “X.org Configured”
Screen 0 “Screen0″ 0 0
[…]