Zack Reed - Design and Coding Blog


New Disk Stress Test

I bought a few new disks and wanted a better way to weed out marginal disks before I deployed them. I don’t use UnRAID at home, but I liked the idea of their preclear...


Installing NUT on Ubuntu

Since updating my Ubuntu 12.04 server to a 3.5.x kernel, I’ve been getting random freezes that lead to the system halting. They were happening at random intervals, so I do into the logs to find the issue. Eventually, I discovered that it was apcupsd causing HID errors.


Remove Duplicates in Linux

I had run fdupes on our Marketing server at work and realized we had about 200GB of duplicates on a 700GB volume. Here is how I fixed it.


Encrypted External Drive

I wanted to extend my backup strategy to include rotating a couple encrypted disks offsite for another layer to backup my family videos and pictures. Here are the steps I used to do that on Ubuntu 12.04 Server.


OS X delete all system emails

I recently had a cronjob that was sending me a bunch of useless emails. When I’d open my Mac’s Terminal, I was greeted by a "You have mail.", message (I feel like it’s the days of AOL). I wanted to delete all of these messages in one swoop, and it’s actually REALLY easy to do.


Increasing the size of mdadm RAID1 disks

Do you have a couple tiny disks in a RAID1 array in mdadm and want to upgrade them with newer or larger disks? Here’s how to do it. I did this test on Ubuntu 11.10.


Spin Down Idle Hard Disks

My home server uses mdadm software RAID for my media share. The array is made up of ten disks, so it only seemed natural to spin them down to save power when our family wasn’t home. Powering them off when they aren’t in use should also reduce the case temperature, hopefully increasing the lifetime of the hard disks.


mdadm auto-read-only

If you’ve used mdadm for a while, you may have come across a situation where your array’s status says auto-read-only. If you see this, there’s a very easy way to fix it.


Lightweight, command Line music player for Linux

I was asked the other day on the Ubuntu Forums for a lean music player that would autorun on startup and automatically play a shuffled playlist .