SIL3114 SATA card BIOS update

I grabbed this card from my local computer shop without doing any research. I was very excited and eager to get my home NAS up and running. I was soon disappointed after installing and configuring one hard drive. I was using freeNas then and the write speeds where terribly slow. This was one of the main reasons why I started looking for another NAS solution other than freeNAS. When I migrated to OpenMediaVault this card seemed to have much better Linux support. The I/O speeds were very decent and in spite of this this card always seemed unstable and even though I kept having unstable behavior with hard drives I never made the connection that this card was the root cause. If I had any clue that this was the case I perhaps would not have been so eager with my move to RAID and would have delayed my migration until after I had found a reliable replacement. Alas, you lose data to learn and I lost over 500GB worth of movies and tv shows. ...

December 18, 2012 · 2 min · Shane Greaves

mdadm cheatsheet

Check raid status cat /proc/mdstat or watch cat /proc/mdstat Scan configuration mdadm --detail --scan To Remove a disk from the Array, you’ll have to fail then remove the drive. mdadm --fail /dev/mdX /dev/sdX mdadm --remove /dev/mdX /dev/sdX To add a disk to the array: mdadm --add /dev/mdX /dev/sdX Turn bitmap on mdadm --grow --bitmap=internal /dev/mdX Turn off bitmap mdadm --grow --bitmap=none /dev/mdX Speed up recovery echo 50000 > /proc/sys/dev/raid/speed_limit_min Resources ...

December 16, 2012 · 1 min · Shane Greaves

I kept getting this strange error from my NAS. A google search led me to a solution on OMV forums. This is an automatically generated mail message from mdadm running on oracle A SparesMissing event had been detected on md device /dev/md/oracle:storage1. Faithfully yours, etc. P.S. The /proc/mdstat file currently contains the following: Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md127 : active raid5 sdb[0] sda[3] sdc[1] 976770048 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU] ...

December 3, 2012 · 1 min · Shane Greaves

Broken APT on OMV

Apt is broken on my omv box with this error. I am still trying to figure this one out. CRON-APT RUN [/etc/cron-apt/config]: Mon Dec 3 04:00:01 EST 2012 CRON-APT SLEEP: 3420, Mon Dec 3 04:57:01 EST 2012 CRON-APT ACTION: 3-download CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: openmediavault-transmissionbt : Depends: transmission-cli (>= 2.42) but it is not installed transmission-daemon : Depends: libcurl3 (>= 7.16.2-1) but it is not installed Depends: libevent-2.0-5 (>= 2.0.16-stable) but it is not installed Depends: libminiupnpc5 but it is not installable Depends: libnatpmp1 but it is not installable Depends: transmission-common (= 2.71-1) but it is not installed E: Unmet dependencies. Try using -f.

December 3, 2012 · 1 min · Shane Greaves

Replace failed hard drive

I have a failed (failing) hard drive on my raid5 array. I have documented the steps needed to replace the failed disk with a new disk. Disk is most likely ok but it is showing read errors. Better be safe than sorry! View Array Status cat /proc/mdstat Remove Failed Disk mdadm --manage /dev/md0 --fail /dev/sda mdadm --manage /dev/md1 --remove /dev/sda Shutdown and replace disk with new one shutdown -h now ...

November 29, 2012 · 1 min · Shane Greaves

Oracle: My little media server

I wanted a reliable home media server and so far the process to get this up and running has been very fun and rewarding. This is where I store my movies, tv shows and music. I’m a big fan of XBMC and I wanted to set up sharing the xbmc database through mysql to all my clients. I also wanted to be able to stream my music to multiple clients. Initially I used daap but I have since moved on to SubSonic. ...

November 20, 2012 · 2 min · Shane Greaves

HowTo Update ATV2 TimeZone – Jamaica

I keep forgetting how to do this one… so I wrote it down. Updating TimeZone: Remove current timezone (delete symbolic link): rm /var/db/timezone/localtime Create Symbolic link for Jamaica TimeZone ln -s /usr/share/zoneinfo/America/Jamaica /var/db/timezone/localtime

November 20, 2012 · 1 min · Shane Greaves

Install Subsonic XBMC Frodo AddOn

Subsonic to the world!! After a little searching I found a SubSonic AddOn that works with XBMC Frodo. I am running the nightly builds for Windows and ATV2. As per this forum post: I find XBMC to be the best experience on a Mac or PC for interacting with my remote Subsonic server. I wanted to try it with the pre-Alpha builds of XBMC Frodo to take advantage of the new audio engine. The Subsonic script failed and the guy who wrote it (t0mm0) seems to have disappeared. I debugged and corrected it (very easy) and for those of you who are interested here’s a link to the new files: ...

November 19, 2012 · 1 min · Shane Greaves

Install: utorrent on OMV

My quick and dirty walk through of how to get utorrent installed and configured on Openmediavault, a Debian based network attached storage solution (NAS). I used this package. wget http://dl.dropbox.com/u/24928836/utserver/deb/utorrent-server_3.0-25053_i386.deb dpkg -i utorrent*.deb point your browser to: http://omv-ip:8080/gui The default is: 8080 The user name is admin with no password. Additionally you will have to add utserver to the machice startup: update-rc.d utserver defaults Reference utorrent.com forums

November 19, 2012 · 1 min · Shane Greaves

VOIP Stuff

VOIP is an area that I have a strong interest. Asterisk and Freeswitch are two of my favorite pieces of software and I am always looking for ways in which they can save me some money. I have not been able to get my hands on low power hardware which has always been a deal breaker for me. With the cost of electricity being what it is in Jamaica leaving your gear on 24×7 is just not an option. ...

August 1, 2012 · 1 min · Shane Greaves