Archive

Archive for December, 2008

OpenSolaris 2008.11 Upgrade Finished

December 20th, 2008 No comments

That was pretty easy. Here’s what I did…

  • downloaded OpenSolaris 2008.11 Live CD
  • burned ISO file to a CD
  • booted fileserver from Live CD
  • double-clicked “Install OpenSolaris” on desktop of Live CD
  • answered the install questions (time zone, username, etc.)
  • ran “Add More Software” which launches the package manager
  • installed the “nas-server” collection
  • rebooted (apparently some of the nas-server config files don’t load properly until a reboot)



Then from the command line, I did some magic to get my existing 5-drive RAIDZ pool mounted on the new OS. My zpool has the unimaginative name of “storage” which you will see in the following commands.

  • zpool import -f storage
  • zpool upgrade storage
  • zfs upgrade storage



Now that my zpool was mounted and ready for the cifs service, I had to enter a few more commands to get cifs running.

  • svcadm enable -r smb/server
  • smbadm join -w
  • zfs set sharesmb=on storage
  • sharemgr show -vp (just to check)



And that was that. I just love how simple these commands are now. A lot simpler than SAMBA, but we’ll see if the new cifs service is as stable and fast.

I still had to do a little chown and chmod work to get permissions right, but then everything was perfect. The mapped network drive on my PC fired right up without any changes, and the saved “connect to server” favorite on my Mac worked immediately as well.

I have iTunes set up so that its “iTunes Music” folder is on the fileserver. So now all is well there and I can continue to manage my library from my Mac laptop, but store all the music files on the server. I feel a little better knowing that RAIDZ is protecting all those media files from bitrot, but I still need to get some backup in place for my 500+GB media folder.

Next project will be to see if I can get Firefly running to share out my movies folder to the AppleTV.

Moving to OpenSolaris

December 19th, 2008 No comments

We had a power outage last night and the interruption has created some errors on disk0. I tried to fsck, but there’s not much use unless I boot from a live CD and umount the filesystem first. I decided that maybe this was a good time to go to Solaris 10 10/08 anyways.

But then I thought, if I’m going to reinstall, why not try OpenSolaris? The new 2008.11 has some nifty features and all I really care about is getting my ZFS pool shared out via SMB/CIFS anyways. Hmmm, and doesn’t OpenSolaris have built-in CIFS support? That could be fun to try…

So 30 minutes later, I’ve got the OpenSolaris ISO downloaded and the CD has been burned. Booted into the CD, and I’m immediately greeted (well not, immediately – booting from CD is slow) by a desktop with Firefox, etc. all ready to go. This is nice.

There’s a “Install OpenSolaris” icon on the desktop. I click that and it recognizes my 6 drives. I wiped the boot drive and now it’s chugging away. It’s about 50% done after what seems like 15 minutes or so (I’m catching up on Twitter while I wait, so who knows how long it’s really been). Can’t wait to see it in action and get my zpool mounted and CIFS working.

Here’s what I’m really excited about… Apparently there are a few people that have Firefly Media Server running on OpenSolaris. This is going to be great!

Categories: Project, Technology Tags: ,

LEGO robots are awesome!

December 10th, 2008 No comments

Check this thing out…

Yep. It actually solves the Rubik’s Cube using the light sensor. Awesome.

Categories: Uncategorized Tags: