Author Archives: Brin

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

Feb '14 20

Top Talkers

Use tcpdump to determine the top talkers on an interface (not conversations) tcpdump -tnn -c 5000 -i eth1 | awk -F “.” ‘{print $1″.”$2″.”$3″.”$4}’ | sort | uniq -c | sort -nr | awk ‘ $1 > 100 ‘

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

Jul '13 14

Video Editing

I was having problems with Vegas Pro 12.0 today (as usual). The render would just randomly stop. After reading a few forum and blogs, looks like the settings to change are: Max Threads = max cores (8) GPU accel = … 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

Nov '12 08

BSOD analyze

I always forget how to get the driver info out of windbg !analyze -v;r;kv;lmtn;lmtsmn;.bugcheck;!sysinfo cpuinfo;!sysinfo machineid; !sysinfo cpuspeed; !sysinfo smbios .logclose If your getting errors about symbols, use !symfix remember to restart windbg afterwards.

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