Secure Erase SSD on OS X

In preparation for Lion, I planned to do a fresh install & wanted to secure erase my OCZ Vertex 2 SSD to get it working as optimally as possible. Nothing like a shiny new OS, ridden of all the cruft that builds up over the years. The problem? No easy way to secure erase an SSD in a Mac that doesn’t involve using some Windows tool on one of a few compatible SATA controllers that your Mac probably doesn’t have. It’s possible, but not very easy. It requires using hdparm & a compatible Linux LiveCD. ...

October 13, 2011 · churnd

That’s Easy

We’re obsessed with making our lives easier. For as long as history spans, the human race has consistently found ways to improve & make things better &/or more efficient. Bigger, smaller, better, faster, . Nothing wrong with that at all. It drives innovation & if anything will only get better (or worse, depending on how you look at it). You may be thinking to yourself, “OK” this is common sense" why do I care?”. Chances are, you’re probably very busy right now doing something important, & once you finish that, you’ll move on to something else. It’s a vicious cycle that never ends, so it’s debatable whether all of this progress is really making things easier, or if it’s just helping us get things done quicker so we can move on to the next task. Why is that? It should be easier, shouldn’t it? I mean, if you’ve used some technological advancement to finish a certain task in half the time, then you should be able to use the rest of the time to goof around, right? Or maybe something along those lines? Work half a day, goof off the rest? Why does that idea seem to have such a negative connotation? ...

July 12, 2011 · churnd

Resizing Disks in OS X

One of the lesser known features in OS X is the ability to resize your hard drive partition without losing data. No special software or gimmicks are required; this is built right into the OS. You can repartition your boot drive or any other drive your computer is using, such as external drives. Multiple partitions can have a lot of good uses. In my case, I have been beta testing OS X Lion, & I didn’t want to use an entire disk or lose the ability to boot to Snow Leopard as my primary OS, so I resized one of the extra disks in my Mac Pro to add a 100GB partition & installed Lion to that. When I’m done with my testing, I can boot back to my primary Snow Leopard OS, fire up Disk Utility, delete the partition I created for Lion, then resize the disk back to normal. Pretty cool, huh? Here’s how to do it. ...

July 11, 2011 · churnd

ZFS/ESXi All-In-One, Part 1

Beginnings Any IT admin worth his/her salt knows that virtualization is the big thing in IT right now & has been for a few years at least. It allows you to do things you wouldn’t be able to do on bare metal servers, such as move a server OS from one server to another while it is running (called vMotion). Love them or hate them, VMware is the king of virtualization in the datacenter. Luckily for guys like me (broke), they make a bare-metal hypervisor called VMware vSphere (formerly ESXi) available to use for free. A hypervisor is basically software that provides hardware emulation. Some of you may have experience running VMware Fusion (OS X), Workstation, Server, or Player (Windows). These are called type 2 hypervisors, meaning they run a hypervisor on top of an operating system. This is a great way to get started with virtual machines or just to get those few Windows programs running on your Mac, but it is not by any means an efficient way to run a virtual machine. That’s where bare metal hypervisors, or Type 1 hypervisors, come in. They’re the only “physical” OS installed on that computer/workstation/server, and they have very little overhead on the actual hardware itself. That means more direct resources available for “guest” VM’s, so performance will be better. ...

June 27, 2011 · churnd

What’s in a Cloud?

The hot topic in the technology world right now is cloud computing. Everybody’s talking about it, using it, monetizing on it. It’s true meaning depends on who you talk to. I won’t factor in enterprise cloud deployments, because that’s usually whatever they make of it. Just look at all the different cloud-related products VMware & Citrix offers. Instead, I’ll focus on two main players, Apple & Google. Yeah, there’s Amazon & Microsoft, & they do offer pretty good services, but does anyone really use them? More on that later. Google considers their cloud to be entirely hosted via web browser based technologies. The Chrome Netbook is basically a glorified full-screen Chrome browser built on top of a very lightweight Linux system. You can’t do much with it if you don’t have a network connection. All of your data is stored on Google’s servers, not the device you’re using. While this does have some convenience (you shouldn’t have to worry about data loss), your data is not really in your control. If Google’s servers go down, you can’t get your data. Granted, that does not happen often. I do seem to remember reading about a few Google accounts being accidentally disabled/deleted a while back. Things like this that involves not having the data in your control will always sit in the back of your head, while you conjure up all those “what-if” scenarios. ...

June 16, 2011 · churnd

Home WiFi Camera

My wife & I have been looking for a way to peek into our 1.5 year old toddler’s room at night without waking him up. Opening the door just wasn’t doing it, as it always wakes him up. So, we started looking into baby monitors that had video capabilities. Anything decent in this category wound up in the $200 range or above. So the geek in me started looking into alternatives. We each have our own laptops & iPhones so I figured it’d be ideal to find something that lets us use both, or at least something more flexible than a proprietary system. So, I started looking into IP security cameras for the home. Most of these are pretty expensive too, but I did find one company called Foscam that made IP cameras in the $100 range, & they seemed to be well featured despite the cost. They also had good ratings on Amazon.com, so we bought a Foscam FI8918W to try it out; if it didn’t work out, we’d just send it back. From the user contributed photos on the product page, it looks like I’m not the first one to have thought of this idea. ...

May 17, 2011 · churnd

The value of a UPS

I recently bought a new UPS for my home Mac Pro. I also have a small UPS hooked up to my primary router & cable modem so I’ll still have connectivity during a power outage. Fortunately, I don’t live in an area where we have frequent power outages. What few people realize is that power outages are only part of the reason to invest in a UPS. ...

May 15, 2011 · churnd

ZFS on OS X

About a month ago, an email landed in my inbox from the MacZFS Google group talking about a company called Tens Compliment and how they were bringing ZFS back to OS X. I did a double take to make sure it wasn’t spam. Much to my delight, it wasn’t. Apparently Don Brady, one of Apple’s top filesystem engineers & the guy who was working on bringing ZFS to OS X Server, left Apple recently to found this new startup called Tens Compliment. I couldn’t believe it… it sounded too good to be true, but there it was. ZFS in all it’s glory with deduplication, snapshotting, compression, and even full compatibility with OS X ACLs. I was one of the lucky few who got access to the first public beta so I immediately began trying it out. I was, and still am, very impressed. Can’t wait for the second beta to drop, which will supposedly have a System Preferences control panel for managing your volumes. Unfortunately, Don replied to my initial email stating his target audience was going to be the Pro-level consumer, not servers. Can’t say I blame him since Apple discontinued the Xserve. ...

April 4, 2011 · churnd

Ditching Gas

Now that gas prices are on the rise again, I’m sure everyone is once again thinking about ways they can save money. Nevermind that we should have done something while the prices were low. Big oil sure knows how to keep us hooked. I’m probably going to start taking the bus to work a few days a week & see how that goes. I’m a little skeptical how well it’s going to work because my hours at the office vary greatly. ...

April 3, 2011 · churnd

MacPorts update script

I just got tired of typing each command in manually every time, so I just put them in a shell script: #!/bin/bash if [ "$(whoami)" != 'root' ]; then echo "You have no permission to run $0 as non-root user." exit 1 fi export PATH=/opt/local/bin:/opt/local/sbin:$PATH port selfupdate port -d sync port upgrade outdated port clean --all installed >> /dev/null 2>&1 port uninstall inactive ...

February 7, 2011 · churnd