Category Archives: Linux

Aug '14 27

Move ZFS filesystem between pools

I’m migrating my data around between my different raid groups (Mirror and RaidZ1). I Found a good post on how to do it with zfs send/receive and snapshots. Use Pipe Viewer (pv) to monitor progress Create a snapshot on source use … Continue reading

Jul '14 15

ZFS on Linux

I’ve been looking at ZFS on Linux for some time now, mainly due to silent corruption on my EXT4 file-system. One of the big benefits for me is data/meta checksums, on data corruption is fetched from parity, and a data scrub picks … Continue reading

Sep '13 09

iptraf for Monitoring Bandwidth

I’ve used iptraf for years, but never been able to get the filter to work properly to exclude the ssh sessions. I found a good post about filtering ssh on iptraf, and when used with ip traffic on all interfaces … Continue reading

May '13 13

Serial via Network Bridge

I had a requirement for a Serial Bridge, eg: serial->Network->serial, I found a nice page with some options,  socat to be good enough for what I needed. Server (Listening Side connected to end device) socat -v -d -d tcp-l:54321,reuseaddr,fork file:/dev/ttyS0,nonblock,raw,echo=0,waitlock=/tmp/ttyS0.lock Client … Continue reading

Oct '12 03

Verify Linux MD device

Yet another faulty disk with bad blocks has me wondering how to check the MD array for consistancy, found a good post about it. sudo bash -c “echo check > /sys/block/md0/md/sync_action” sudo bash -c “echo repair >/sys/block/md0/md/sync_action” cat /sys/block/md1/md/mismatch_cnt

Mar '12 06

Kerberos Auth in squid

Look like i’ll need to check out how to use kerberos auth in squid rather than ntlm [2012/03/06 15:25:47.488709, 1] libsmb/ntlmssp.c:342(ntlmssp_update) got NTLMSSP command 3, expected 1 “The “3” and “1” have been explained as the difference between NTLM vs Kerberos.  … Continue reading

Dec '11 31

Bandwidth monitoring – ip/host usage

An Alt title is “Where has all my internet usage gone”… I’ve remove ntop as i found it too problematic, and not giving me the info i require. I have now installed ipfm (all though its no longer maintained) and bwstat, … Continue reading

Dec '11 10

3D Printing

I saw a RepRap at Linux Conf AU some years ago, Its a computer controlled printer that uses ABS or PLA plastic to create 3d parts. I’ve been following it off and on for a while. Its getting cheaper and … Continue reading