Constant Thinking

Posts tagged "home server"

4 posts
Sparse ZFS Pools

Introducing Sparse Encrypted ZFS Pools

Obsolete | In Solaris
| 4 minute read

Ever since I’ve been using a Mac, I enjoy using Sparse Encrypted Disk Images for a variety of tasks, for instance securely storing data that can be backed up somewhere else, say on a hosting server.

In fact, most of my project/personal data on my Mac sits on sparse encrypted disk images that are regularly rsynced to an external storage service, Strato’s in particular.

The beauty of this solution lies in it simplicity:

Sparse encrypted disk images show up just like any other hard drive. But on the back end, they translate into a bunch of flat files that store all the data in an encrypted manner. By rsyncing the backing store, sparse encrypted disk images can be easily backed up across the net, while ensuring privacy and convenience.

Here’s how to do similar things with Solaris and ZFS, including some extra data integrity magic:

NewMusicSMF.jpg

Home Server Scripting 4: Wrapping DTrace (And Other Scripts) Into SMF Services

Obsolete | In Home Server
| 6 minute read

In the last couple of posts, we used DTrace to notify our media servers and perfected our script a bit.

But the script is still not ready to be used on our home servers yet: It requires manual start and stop, not quite the service oriented automatism we’re used to in the Oracle Solaris world.

The next step is to wrap our DTrace script inside a Service Management Facility (SMF) service, then wrap everything into a shell script that will easily install or remove the service whenever we need it.

NewMusicUpdate

OpenSolaris DTrace for Home Media Servers, Revisited

Obsolete | In Solaris
| 5 minute read

A few weeks ago, we discussed using DTrace for automatically updating media servers when you upload new content.

Yesterday though, I discovered that my D script didn’t work any more. I uploaded new songs to my home server, and expected the music daemon to re-scan the music directory, but nothing happened.

That teached me an important lesson about DTrace, and here’s what I learned:

Blueprint

OpenSolaris ZFS Home Server Reference Design

Obsolete | In Home Server
| 5 minute read

When I blogged about my OpenSolaris Home Server a while ago (no link, sun.com no longer exists), little did I know that this would become my most popular entry in my old blog!

In fact, R.G. (no link, page no longer exists) was so kind to call my setup “perilously close to being an AMD reference design (no link, opensolaris.org no longer exists)”. Thanks, R.G.! Read about his final setup here (no link, opensolaris.org no longer exists). And BTW, if you’re into e-guitars, check out his GEOFEX page, a great resource for guitar effects.

So let’s review our reference design and discuss some modifications to better suit your needs: