DIY NAS + Xbox 360 = R0X !
Antec Sonata III super silent case on sale at Fry’s = $60
2 x 320 GB Maxtor HD on sale at Fry’s = $88
2 GB USB Key on sale at Fry’s = $5
Old PC left for dead = $0
FreeNAS software = $0
TwonkyMedia developer license = $0
A fully functional NAS streaming Music,Videos & Photos to my XBox360 = Priceless !
Yeah Yeah, I am a nerd so what else would I do on the last 3 days of my vacations while my geek-father is visiting from France? I had been thinking a lot about setting up a NAS for backup purposes and recently noticed that some NAS now have a built-in UPnP Media server (TwonkyVision most of the time). Since I knew Twonky could stream to XBox360, and that it was time to reinstall XP on my home machine, I figured I’d buy one of these nifty boxes with their RAID built-in…until I found out about their prices. Fogetaboutit!
After a few days of research, I found out about FreeNAS, a free software based solution with UPnP support (uShare). Since I had an old PC (my old 700 Mhz AMD Athlon linux server) in a corner of my home office, I’d figured I’d play with it. Of course, there was a reason it hadn’t been turned on for years. The power supply was as loud as my first car when pushed to its limits on highway 101 (which was about close to 55 mph) and the only HD in it had a whooping 4GB capacity. Not a good start for a silent backup NAS system…
The first step was to install the software on the box. One solution in order to save disk space was to make the NAS boot from a USB Key. After spending a day in vain trying to do that with a old USB Key I had, we gave up and instead simply booted up from a CD.
Then we tried to build a RAID system with old IDE hard drives I had kept around for years (meaning two 10GB Seagates, a 4GB Maxtor and a 40GB IBM). None but the 4GB worked in the end. We decided to go to Central Computer that day to buy a RAID controller and some SATA drives instead until we found out the cheapest SATA PCI RAID controller they had was $140. That was xMas eve. We then decided to drive to BestBuy in Colma to get a cheaper RAID controller and some HDs. By the time we got there, 10 min before they closed, we realized the entire store had been vandalized by angry shoppers looting for last minute gifts including internal SATA drives on sale! We ended up buying just a RAID controller.
Spent a bit of xmas day playing with the only functional HD (4GB) we had and managed to get FreeNAS working a bit with some promising results.
On Dec 26th, we drove to PA, the closest Fry’s to us. There we had 1h to get all we had planned to buy (including stuff for my greedy father feeling rich with his pockets full of Euros). That ended up being perfect since lots of stuff was on sale including PATA Maxtor drives. $44 for 320GB!! Can’t beat that. So I gave up on SATA drives and my idea of a RAID 1+0 system. As soon as we had paid, I realized I should have bought a new power supply as well but there was an even better deal going on, a super quiet case WITH power supply for just $60 after mail-in rebate, almost 1/2 the price of a power supply alone so I went for it and there I was at the counter paying for the second time.
Enough with shopping, came back home, installed everything in the new case, booted off the CD, configured it to save the config on the USB Key and there I was with 2 PATA drives of 320 GB each. Since I didn’t want to use Software RAID as it didn’t seem to be stable according to people on the freeNAS forums, I decided to use one drive as a backup using the “Local” RSYNCD feature. At 3am, a script kicks in and synchronizes (copies) all the data from my “bigboy” disk onto the “backup” disk so I have an exact copy. This is my poor man’s RAID 1 :-)
Additionnally, I have set up a cron job so that at 5am, it synchronizes the data with my online server hosted at dreamhost (where plutinosoft.com is). So everything is backed up on line as well. Now I can sleep at night knowing that all my dearest digital photos are safe.
But the other reason for all this was to be able to stream music, photos and videos to my HDTV. Since the fall update, the Xbox 360 supports AVI and DIVX playback via UPnP. This is killer. I started the UPnP sharing feature (uShare) to realize that indeed it worked with the xbox but all the music was not organized properly by artists/albums/tracks. Instead it listed the same thing (tracks) whichever selection you were in. After digging a bit, I find out that their UPnP server didn’t implement the UPnP feature (Search) that the Xbox wants.
Here comes TwonkyVision. I remembered during my UPnP work in XBMC that I had contacted the guys there to test the UPnP client with their server and they gave me a developer license. Also they announced their support for the Xbox recently so I decided to use it as the UPnP server. Unfortunately they don’t have a FreeNAS version so for now I have to use my XP Home machine to run it and points to Samba Shares (CIFS) I mounted off my NAS. Since Twonky needs quite a bit of CPU for transcoding, it sounds like a good solution anyway.
Well guess what. It works like a charm! I now have all my music well organized on the xbox 360 (except no album arts yet …), it plays avi/divx fine and I can see all my photos on my HD screen with a much higher resolution than XBMC could ever render.
Now if only I could make Rhapsody work on the xbox 360 … hmm I hear there’s a version of the Slimserver for freeNAS… hmmmmmmmmm
Jan 02, 2008
[…] backups, with a script how to backup your data to an online hoster, e.g. Bluehost, or this post: Diy NAS + Xbox 360 = R0X. addthis_url = ‘http%3A%2F%2Fwww.freebsdos.com%2Fnews%2F2008%2F01%2F02%2Ffreenas-tutorials%2F’; […]
Mar 20, 2009
So did you get the ‘NAS’ computer to be ‘silent’ — or less noisy than your first car?
Sep 11, 2009
[…] I have been using a simple way to backup my data. I have a NAS (based on awesome freenas) running on my home network. I mount one of its drive in windows and I execute the following code […]
May 09, 2010
I own an Xbox and a Playstation and both are really good game consoles. Let’s see what are Microsoft’s future updgrades on its Xbox game console.-.:
May 10, 2010
Oh good post! :D I’ve been following this blog for a bit. Thanks for the update.. Appreciate the time you took to do this!
Sep 19, 2010
Wow, excellent post thank you for sharing !