SMART Disk Diagnosis

SMART is a monitoring system, included in most modern hard disks, that attempts to diagnose disk health and predict impending drive failure. The smartctl/smartd utility of smartmontools is the standard for Linux/Unix and versions of it are available for Windows as well. DiskCheckup also seems to be a good utility for Windows. Many modern controller […]

Loading

Read More

Quick Setup Notes for Debian

Some quick setup notes for Debian 8 (“Lennie”). Add yourself to the sudoers group: Set up unattended security updates: (Select ‘yes’ to the ‘Automatically download’ question.) Install all tools for dev/package builds: (Alternatively, installing build-essentials will give you all standard c/c++/make/dpkg libraries, although not the kernel headers.) “Permission denied” CD-ROM error: Optical drives and network […]

Loading

Read More

RAID Levels

This is a summary of standard and nested RAID levels that I might implement either in a small home/office environment or from enterprise vendors. I’m avoiding the rarely-seen levels like 2, 3, and 4 as well as vendor-specific “RAID” implementations like RAID-S or X-RAID. Fortunately, many major vendors like Dell, Supermicro, and Silicon Mechanics are […]

Loading

Read More

tcpdump

tcpdump is a useful packet analyzer distributed under the BSD license. It is included with most Linux and Unix distros, and it’s available for Windows using the Winpcap library. As you might imagine, tcpdump is excellent at troubleshooting problematic connections to remote systems where the cause is otherwise unclear. This is particularly useful for getting […]

Loading

Read More

grep

grep is a useful utility that finds fixed strings or patterns of text in a given file or standard input. Used in conjunction with error logs or debugger output, grep can help a programmer identify errors in an application code base or filesystem; to help with this, grep understands regular expressions, what it calls “extended” […]

Loading

Read More

LOC Records

LOC records allow WGS84 location to be published via the Domain Name Service. They are defined in RFC 1876. If a host has a LOC record, it can be looked up via dig -t loc: LOC records are expressed in terms of Degrees-Minutes-Seconds, not decimal latitude and longitude. You can convert them using a tool […]

Loading

Read More