Obi-Wan Kenobi Is Dead, Vader Says – Galactic Empire Times

Posted May 12, 2011 by seanmcgrath
Categories: Uncategorized

Finally, justice is done.

Obi-Wan Kenobi Is Dead, Vader Says – Galactic Empire Times.

Griffin PowerMate

Posted May 11, 2011 by seanmcgrath
Categories: Uncategorized

Dug up the old PowerMate today. I had forgotten how much fun it was. Glad I didn’t throw it away.
20110510-090913.jpg

BlackBerry PlayBook

Posted May 8, 2011 by seanmcgrath
Categories: Uncategorized

Blackberry Playbook Review

“Not useful as a computer; too light to serve as a doorstop.”

Happy Birthday David Tennant!

Posted April 18, 2011 by seanmcgrath
Categories: Uncategorized

10 is 40.

Life, Doctor Who, & Combom — Doctor Who News and Views: Happy Birthday David Tennant!.

The irony is not lost on me

Posted April 18, 2011 by seanmcgrath
Categories: Uncategorized

On dealing with unresponsive/uncooperative vendors and consultants…

Posted April 16, 2011 by seanmcgrath
Categories: Uncategorized

It’s like looking at my shower for three weeks because the plumber won’t return my calls. Yeah the plumber’s an asshole, but I’m the one who stinks.

Final Cut Pro X seriously makes me want to start editing again

Posted April 16, 2011 by seanmcgrath
Categories: Uncategorized

The Sound of 1,700 Jaws Dropping – Larry’s Blog.

The new interface drew applause, 64-bit support and background rendering had people drooling and the new price of $299 received a standing ovation.

A bit of shameless self promotion

Posted April 16, 2011 by seanmcgrath
Categories: Uncategorized

Address Book Extractor from groovytree.com is available on the Mac App Store. Check it out. More good stuff coming.

Setup NFS on Mac OS X 10.6

Posted July 5, 2010 by seanmcgrath
Categories: Uncategorized

Couldn’t find a single good guide for doing this, so here it goes. It’s super simple (once you know the trick).

On the Server Mac:

Open Terminal:
sudo nfsd enable

This starts the nfs server and sets it to startup on reboot.

Edit /etc/exports (create if it does not exist)
Type the full path of the folder you want to share. In my case it was the USB drive attached to my MacMini but it could be any folder. Optional: Use the “-alldirs” option to allow clients to mount any directory under there.

If your UIDs across machines do not match the “-mapall” will map all IDs with an ID that has access to the directory. Find your ID by typing “id” at the terminal on the server. This may not be the most secure setup in the world, but it works and for my home use is perfectly acceptable. There are ways to restrict to a specific network or host.

Anyway, my /etc/exports looks like this.

/Volumes/storage1 -alldirs -mapall=501

Verify via a showmount -e

gallifrey:~ smcgrath$ showmount -e
Exports list on localhost:
/Volumes/storage1                   Everyone
gallifrey:~ smcgrath$

Your server is ready. On the client, create a directory to mount to (recommended somewhere in /Volumes) and mount the nfs export.

sudo mkdir /Volumes/storage1-nfs

sudo mount -o rsize=32768,wsize=32768,intr,noatime -t nfs gallifrey.local:/Volumes/storage1 /Volumes/storage1-nfs

Obvious replace with:
host:/full/path/to/export /path/to/local/mountpoint

Done.

ZFS Dedup Available – Revised

Posted January 17, 2010 by seanmcgrath
Categories: Uncategorized

With the holidays and all, I missed the release of OpenSolaris build snv_128 which (finally) includes zfs dedup. So it’s time to catch up. I fired up my snv_126 VirtualBox Machine,
sean@neptune2:~$ uname -a
SunOS neptune2 5.11 snv_126 i86pc i386 i86pc Solaris
sean@neptune2:~$
and performed the image update.
pfexec pkg image-update –be-name b128a
After Install, Update, reboot…
sean@neptune2:~$ uname -a
SunOS neptune2 5.11 snv_130 i86pc i386 i86pc Solaris
sean@neptune2:~$ 
We’re up to snv_130
And there is a new version of zfs available
sean@neptune2:~$ zpool upgrade
This system is currently running ZFS pool version 22.
The following pools are out of date, and can be upgraded.  After being
upgraded, these pools will no longer be accessible by older software versions.
VER  POOL
—  ————
19   rpool
19   tank
Use ‘zpool upgrade -v’ for a list of available versions and their associated
features.
sean@neptune2:~$ 
sean@neptune2:~$ pfexec zpool upgrade rpool
This system is currently running ZFS pool version 22.
Successfully upgraded ‘rpool’ from version 19 to version 22
sean@neptune2:~$ pfexec zpool upgrade tank
This system is currently running ZFS pool version 22.
Successfully upgraded ‘tank’ from version 19 to version 22
sean@neptune2:~$ 
And dedup is now an option
sean@neptune2:~$ zfs get dedup rpool
NAME   PROPERTY  VALUE          SOURCE
rpool  dedup     off            default
sean@neptune2:~$ 
Now we turn on dedup or our boot volume and our “tank” pool
sean@neptune2:~$ pfexec zfs set dedup=sha256,verify rpool
sean@neptune2:~$ pfexec zfs set dedup=sha256,verify tank
and turn in off on our “swap” and “dump” file systems
sean@neptune2:~$ pfexec zfs set dedup=off rpool/swap
sean@neptune2:~$ pfexec zfs set dedup=off rpool/dump
Let’s look at the free space on tank
tank                                  5.37G  4.46G  1.19G  /tank
We copy an ISO that’s about 1 GB
sean@neptune2:~$ ls -lah /tank/sean
total 1.2G
drwxr-xr-x 2 sean root     3 2010-01-17 15:00 .
drwxr-xr-x 5 root root     5 2010-01-17 14:59 ..
-rw-r–r– 1 sean staff 1.2G 2010-01-17 11:34 ARCHIVE-011710.iso
We see tank’s available size has decreased accordingly
tank                                  5.37G  4.46G  1.19G  /tank
We copy the file
sean@neptune2:~$ cp /tank/sean/ARCHIVE-011710.iso  /tank/sean/ARCHIVE-011710-dupe.iso
Now we have 2 1.2 GB files
sean@neptune2:~$ ls -lah /tank/seantotal 2.4G
drwxr-xr-x 2 sean root     4 2010-01-17 16:31 .
drwxr-xr-x 5 root root     5 2010-01-17 14:59 ..
-rw-r–r– 1 sean staff 1.2G 2010-01-17 16:32 ARCHIVE-011710-dupe.iso
-rw-r–r– 1 sean staff 1.2G 2010-01-17 11:34 ARCHIVE-011710.iso
But the free space has not gone down in “zfs list”, although interestingly the total size went up.
Filesystem            Size  Used Avail Use% Mounted on
tank                  6.56G  4.44G  2.38G  /tank
For laughs let’s copy it a third time
and we have three 1.2 GB files
sean@neptune2:~$ ls -lah /tank/sean
total 3.6G
drwxr-xr-x 2 sean root     5 2010-01-17 16:43 .
drwxr-xr-x 5 root root     5 2010-01-17 14:59 ..
-rw-r–r– 1 sean staff 1.2G 2010-01-17 16:32 ARCHIVE-011710-dupe.iso
-rw-r–r– 1 sean staff 1.2G 2010-01-17 16:44 ARCHIVE-011710-dupe2.iso
-rw-r–r– 1 sean staff 1.2G 2010-01-17 11:34 ARCHIVE-011710.iso
Free space is about the same:
sean@neptune2:~$ zfs list | grep tank
tank                                  7.75G  4.42G  3.57G  /tank
tank/files                              21K  4.42G    21K  /tank/files
tank/iscsiluns                        4.00G  4.42G  4.00G  /tank/iscsiluns
tank/svnzone1_ds                       157M  4.42G    21K  /zfs
tank/svnzone1_ds/svn                   157M  4.42G   157M  /svn
tank/zone1_ds                         23.5M  4.42G    21K  /tank/zone1_ds
tank/zone1_ds/svn                     23.5M  4.42G  23.5M  /svn
For more information
http://blogs.sun.com/pomah/entry/opensolaris_build_128_now_availble


Follow

Get every new post delivered to your Inbox.