RSS

Building a Network Attached Storage Device for (XBox 360) Media Streaming

Jan 15, 2007    (Click to Rate!) Loading ... Loading ...

Technology


So my current personal project is to build a Network Attached Storage (NAS) device. In the most vanilla sense, the purpose of a NAS is to be a little headless (no video card or monitor) network connected device that has a custom operating system on it usually and just holds a ton of hard drives in it (say like 1TB of disk space), usually in a RAID configuration to provide some safety (like RAID1 or RAID5) and then exposes that huge amount of space on your local network as a drive that you can map and use for whatever you want to store on it.

If you are thinking you could build a NAS out of any old computer and just throw an OS (usually Linux) on it… then you are right, you definitely can. The appeal of a commercial NAS device is that it’s built, from the ground up, to serve one purpose and do it well. The design of the case, operating system and management software are all purposed just for managing files and getting them shared on the network. There is no root access, no Samba config files to mess with, etc. You just throw some drives in it, hook it to the network and turn it on. Also the cases for NAS’s tend to be extremely small and quiet so you can put them places and forget about them, so they can just “do their job”.

For the folks out there saying “that’s stupid, I have 750GB of hard drive space on my desktop, who cares!”, I have to point out that you likely have not had a drive fail on you before and loose all that data. If you have, then the appeal of a stand alone (safe) array of disks on your network is very appealing.

Now that we have covered the NAS basics, let’s look at the real appeal of NASs. As it turns out NASs have been around for a while, and have been creeping into the consumer market slowly as well. The thing is, in the consumer market we don’t just want to store files… we want to do THINGS with those files. Namely, we want to stream them to other devices. Wether that be pictures, music or movies… we want our NASs to act like hubs of multimedia information.

Until recently NASs weren’t doing this and you had to get a 3rd party device that would be able to “look” at your NAS, and then turn around and expose/stream that information to a device, like a TV or stereo. There is even an entire standard based around hooking up networked devices easily for this type of thing, called UPnP.

Luckily, some of the newer NASs on the market are starting to change this trend.

ReadyNAS from Infrant Technologies is a line of NASs, both home and commercial that are drop-in ready to go NAS systems (just add the disks). And recently they have released their ReadyNAS NV+ NAS to rave reviews.

Infrant ReadyNAS NV+

The key feature of the NV+ we are looking for here is the support for “UPnP AV”, the universal plug-and-play audio/visual standard. This allows the NAS to expose itself to the network as a media streaming device (pictures, music, movies) and any other UPnP AV compatible device to immediately recognize and enable streaming from that device.

This is all hunky dorey except for the fact that one of the most common almost UPnP AV enabled devices that we may have is an XBox 360.

Microsoft XBox 360

The trick here is that the XBox 360 does not implement the full UPnP AV specification. It instead (per usual Microsoft planning) supports a Microsoft-custom version of UPnP AV, so forget any plug-and-play out of the box behavior. This allows Microsoft to keep a tight control over the whole “XBox 360 + Media Center = We Control the Living Room” pairing and not allow folks to throw in 3rd party replacements for the “Media Center” portion of that equation.

Fortunately there is a piece of software that you can install on the NV+ that will stream content to your XBox 360 seamlessly. It is a product from a company named TwonkyVision called TwonkyMedia.

TwonkyVision is currently working on the 4.2 release of their software which will resolve movie-streaming issues with the XBox 360. With their current beta release of it (4.2Beta3b) they seem to have the issue resolved according to the forums.

They should have a 4.2 release for ReadyNAS (they do special builds for the ReadyNAS systems) in the next few weeks that will fix all these issues. Overall I’m very excited. I’ve speced out a NV+ system on Newegg along with 3×320GB Seagate 7200.10 SATA drives to put into the device for starters. If you wish to extend the drives on the fly over the course of the NAS and want it to handle all that automatically and still give you failure-protection like RAID5, then you will want to use the X-RAID system (extensible raid).

X-RAID is a proprietary technology from Infrant that is patent pending. The way it works is more or less like a real-time extensible RAID5 system:

  • 1 Drive: Acts like a normal computer
  • 2 Drives: Mirrors Drive 1 onto Drive 2
  • 3 Drives: Stripes Drive 1 and 2, and Creates a Parity Disk with Drive 3
  • 4 Drives: Stripes Drives 1, 2 and 3 and also creates a Parity Disk with Drive 4**

With 4 drives that is my guess. It might stripe portions of the drives and create parities across all the disks or something to compensate and keep the geometry all the same across the disks in the array though. But either way it’s really nice, it does all this automatically as you plug more drives in.

So that’s my roundup of how to build a NAS for streaming to your network or to your XBox 360. If you just want to stream to other computers, you only need the NAS as it will handle most everything out of the box for you. It’s only when you specifically want to use the XBox 360 that you need to take some care.

Share and Enjoy:
  • Facebook
  • MySpace
  • Twitter
  • Digg
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Propeller
  • Mixx
  • Fark
  • FriendFeed
  • Google Bookmarks
  • Suggest to Techmeme via Twitter
  • Slashdot
  • Technorati
  • Tumblr
  • Yahoo! Buzz
  • Print
, , , , , , , ,

This post was written by:

Riyad Kalla - who has written 1725 posts on The “Break it Down” Blog.

"Ultimately I just want to provide a resource that folks find useful."

11 Comments For This Post

  1. jason Says:

    thank you for this info

  2. Riyad Kalla Says:

    No problem, it’s a really hot topic and if you are interested the ReadyNAS forums are actually pretty active with a lot of folks using the NV+ exactly for this type of thing, lots of info to be had:
    http://www.infrant.com/forum/

  3. Anthony Yates Says:

    Does anybody know if this still works since the Spring 2007 update on the 360?

  4. Riyad Kalla Says:

    Anthony, it should continue to work fine. IIRC the Spring update added support for MPEG4 didn’t it? I imagine that just loosens the restrictions on formats that the XBox will understand, which is always a good thing.

  5. Chris Griffiths Says:

    Hi I know this topic may be dead as it is a year old now but I was wondering if you could help.

    I have a 1TB WD mybook NAS Drive, My xbox cannot see any of the content on this drive, I am using Windows media player 11 to stream the content.
    Will simply switching to twonky as the strwaming program solve this? It is strange because all the content appears in my media livbary in wmp 11. One of the reasons i got the 360 was to use it as a media center and so far all i can do is stream things from my Laptop hd. Hope you can help. Thanks

  6. Riyad Kalla Says:

    Chris,
    I’m not familiar with the MyBook drive *But* if you can see all the content in your Windows Media Player library that’s a great start.

    I think the trick is to make sure that Media Player is properly broadcasting your media library to the network so the 360 can find it. You want to go under Tools > Options > Library > Configure Sharing and I believe those are the settings you are looking for.

    I have actually streamed stuff from MP 11 to my Xbox before so I know it’s possible.

    As far as using Twonky, you shouldn’t need to.

    ALSO you need to make sure that the media files you are sharing are in a format that the Xbox understands… for example I don’t think the 360 can stream DivX/XviD media.

    The easiest solution would be to just forget MP11 and install TVersity (it’s free), it will transcode the media on the fly to whatever format your device needs. So you just point it over at your files on the NAS and boom, they will be exposed to the network.

  7. Chris Griffiths Says:

    Thanks for the info,

    I made some adjustments to sharing settings last night and had to edit an entry in the registry using some info i found here : http://www.edn.com/blog/400000040/post/780012278.html

    Going to try this asap.

    The xbox has no problem streaming my formats as long as they are on the laptop hd or a shared usb hd, the only problem is trying to play the files from the NAS drive.
    Seems like there are a few people who have this problem and i’m sure it will become more common as the price of NAS comes down and down. Microsoft are aware of it and claim they are trying to come to an agreement for some sort of industry standard.

    Thanks again.

  8. Riyad Kalla Says:

    Nice find and followup Chris, keep us posted if you get it working!

  9. Chris Griffiths Says:

    Well I’ve now returned from working in Norway to give this a go and all seems to be working fine, my xbox can now see my entire media library and how mighty fine it looks………….something has worked for me for once……….Is it possible to get media centre as a standalone program?????

  10. Riyad Kalla Says:

    Chris, nice job dude.

    the Media Center editions of Windows as I understand it are special editions/installs of Windows… so I don’t think it’s just some app you can pick up and install.

  11. Dagggerdan Says:

    The xbox 360 can play divx, xvid and wmv movies since late 2007 NARBS. Dont play them through the windows media extender tab, play them through the video tab. WME doesnt support divx which is weird. heres a good review http://gizmodo.com/gadgets/xbox-360-divx%5Cxvid-test/xbox-360-divxxvid-playback-tested-verdict-its-almost-perfect-329769.php

1 Trackbacks For This Post

  1. The “Break it Down” Blog » Blog Archive » PS3 1.80 Firmware Update - AWESOME Says:

    [...] personal NAS servers on the market. It looked like the XBox 360 might be able to do it, but after further investigation it seems Microsoft not only locks the XBox 360 to the WMV format, but it also implements a [...]

Leave a Reply