Posts tagged OpenSolaris
OpenSolaris upgrade
Jun 11th
OpenSolaris 2009.06 was released this month. Upgrading my home file server was pretty easy.
# pkg refresh && pkg image-update
Everything worked smoothly until the last part. The new boot environment did not activate correctly. Some further digging revealed that one of the two disks in my rpool was set with and EFI disk label (I’m not sure how that happened). I found some good information online, and soon enough, I was up and running with the new version of OpenSolaris.
ZFS was upgraded in this new version, so I upgraded it on my file server.
# zfs update
And like that, I was done. I will be interested to see if the drivers (rge) for my original NIC are better. If so, I may be able to set up trunking on the two NICs to double my throughput. I did notice that CIFS seems to work a little better. That is, I didn’t have to coerce the machine to share via CIFS like I used to.
More adventures of home tech support
May 2nd
Recently, Karen’s laptop refused to boot. After a few attempts to fix the problem (OS X’s Disk Utility and Disk Warrior), I connected the drive to my computer, made a complete backup, and reformatted it. This is the first time I have ever had to reinstall OS X on any Mac I have owned. I suspect her problems were caused by bad sectors on the disk, so before I reinstalled the operating system, I erased the disk by writing zeros to the entire disk. This way, if bad sectors are detected, the drive could substitute them for the good sectors it keeps in reserve.
After reinstalling the OS, she reinstalled her programs, and I restored her documents from the backup. The last thing too do was to connect he back to our home file server.
Originally, I used NFS to share our files. When I reinstalled her OS, though, Karen’s user id reverted back to the OS X default. Unfortunately, this was the same user id that I used on my computer. Because NFS based its permissions on the client’s user id, I had two choices. One, I could change her user id on her fresh install. Or two, I could use something other than NFS on the file server.
The second option seemed to be a better long-term solution, so I looked in to setting up SMB. SMB has the advantage of requiring a user id and password to connect. This means that from any computer, no matter the users on that computer, I can connect to the file server with the proper permissions.
Setting up the new network shares turned out to be less painful that I anticipated, and, for now, all is right in the world of our home computers.
Power supplies, hard drives, and network drivers, oh my!
Feb 17th
I think I finally have a working file server.
The replacement power supply is working great. I’m not sure what happened to the first one. Once I had the server up and running, I started doing some tests of copying data over. My initial tests seemed successful, but I started getting some errors reported from one of the hard drives. A quick replacement from Seagate, and things seem to be going well. My zpool is resilvering the new drive now.
After my initial tests, I tried copying over some larger data sets (my 153GB iTunes library). Initially, things seemed to go fine, but, after a while, the network connection dropped. After quite a bit of searching online, I ran across some fantastic info about this exact problem. I tried his solution and things, so far, are working well. I have copied nearly 200GB of data to the file server so far. If things keep working reliably for the next week or so, I’ll start moving the data to the file server and removing it from my computer.
I’ve had to abandon the OpenSAN iSCSI initiator that I was hoping to use for Time Machine backups. That initiator seems to be buggy in OS 10.5, and it kept causing my computer to hang. Although I like the idea of using iSCSI for backups, there is one big drawback to that method. The OS X install CD does not have an iSCSI initiator, so it would be tricky at best to restore from Time Machine backups stored on an iSCSI target. My next task will be to get Time Machine to work over NFS.
File server update
Feb 6th
Unfortunately, I haven’t made much progress on my new file server. I got OpenSolaris installed last weekend. After I figured out that I had accidentally turned off the SATA controllers in the BIOS, the install went flawlessly.
I didn’t set up the storage pool right after I installed OpenSolaris because I didn’t have all of my hard drives. When I first ordered my four hard drives for the Drobo, one of them was bad, so I sent it back for a replacement. The replacement came on Monday. I opened up the case, screwed in the hard drive, plugged in the cables, neatly arranged everything, and closed the case back up. I pushed the power button, and…nothing. No beeps, no clicks, no anything. Quite disappointed, I opened up the case again and took a look. Nothing smelled bad, and I couldn’t see anything that looked burned, so I assumed the magic blue smoke that makes all electronics work was still inside. I pulled the power supply (no easy task) and tried it in a computer at work. No change. I boxed up the supply and sent it back to get replaced. UPS says it was delivered today, so I hope to get a new one next week.
Karen and I finished watching season two of Battlestar Galactica last night. Unfortunately, without a working file server, I don’t have enough hard drive space on my computer to download season three. I hope to get the replacement power supply soon.
I’ve added a page that gives more specific details on setting up my home file server, including parts, screenshots, and example commands.