Zack Reed - Design and Coding Blog

3

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...

2

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.

0

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.

0

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.

mdadm replace smaller disks with larger ones 0

mdadm replace smaller disks with larger ones

I was recently asked on the Ubuntuforums how to replace (3) 1TB drives in an mdadm one at a time. Here’s a quick writeup of the process.

0

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.

0

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.

0

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.

0

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.