IEEE1394-based Storage Area Network?
Hank asks: "I work for Hewlett-Packard and just recently installed my first SAN at a customer site. It was much fun, I was blown away by the ease of the storage device management and the allocation of storage space across the systems. Being a professional environment, it was high-available, ran over FibreChannel through switched fabric, and cost upwards of US$250k -- not really affordable for most households. Roughly at the same time I started looking at IEEE 1394 cards for some video-editing, and an idea came up: Would it be possible to build a lowcost SAN based on Firewire cards, hubs and devices? How would storage device mgmt look like (the (de-)allocating of LUNs / slices / partitions)? What about support of multiple OS's on the SAN? How about this: would it be possible to create a Linux-based disk-array with an IEEE1394 interface (Old P200, crammed with disks, software RAID, lots of RAM for caching, Firewire interface, looking/acting like a single disk to the outside world, storage device mgmt via web-frontend)?"
If you're setting up a single PC with lots of storage, then it's not a "storage area network", it's just a "plain old file server". The difference between the two is that SAN sounds more professional to PHB types, and it is generally seen as a turn-key solution for storage. You just plug in some Cat-5 and give it a password, TADA. I wouldn't be surprised to find out they're just linux boxen with custom software for storage management. That's the big Plus of SAN devices : easy to install and use. You don't need a linux admin to setup a Maxtor MaxAttach (sp?) rig, you just need any old NT/Novell twit who at least knows how many megs are in a gig.
-Billco, Fnarg.com
A cool thing to do with a firewire SAN would be clustering, ala TruCluster, which presents a single filesystem across many machines (with kernel hacks to allow different files for different machines, eg hostname etc.).
I'm not sure if I have seen any PC-oriented FireWire SAN solutions though as FireWire hasn't really been something you would see in a lot of computers until recently.
I did find a couple when doing a search for "FireWire Network Storage":
http://www.adept.net.au/1394/nas.shtml
http://www.networkcomputing.com/1118/1118sp3.html (this is probably what I was thinking of)
http://www.turnover.com/news/mdm/firenas.html
You could hack an 802.11b router with a big antenna and give storage to everyone wirelessly! Wow that would be so cool, then if anyone ever picked up their cordless phone you could... hey ... hmm....
CAT5!!! Why would you want to use firewire? Are you putting up something fun just for the hell of it or are you going to actually make it plug-it-in-the-network style? Sounds way too complicated for what sounds like a storage cluster with a front-end package.
USB 2.0 could also be used.
I think it would be cheaper.
i know that it isn't ieee 1394, but if you want SAN capability hosted by an off the shelf linux box, you may want to take a look at some early implementations of the draft iSCSI spec. basically, it'll let you present scsi devices over IP, giving you a SAN over any IP network (preventing you from dropping $$$ on fibre channel infrastructure).
--------
As others already pointed out, you are confusing the NAS and SAN concepts (but is it your fault? look at stuff like EMC Celerra HighRoad and then you'll be confused :-) )
:-)
Anyway,
Want to exploit 1394 (heck, we can finally call it Firewire!) to mount a disk? You just need a 1394 enclosure for your regular IDE disks. Example.
Want to exploit 1394 to access a network share via SMB/NFS? You can, with Ip-over-1394 (works on Apple, Linux, Win ME and XP. Not on 2000).
You just load the correct modules and it shows up like a network interface.
Just my 0.02.
I am not associated with the linked shop, I just happen to be a happy customer of theirs. Their Fire-I webcam is really cool (640x480x30fps) and it's amazing how well it can focus on extremely near objects, it's almost a microscope. I put it in contact with the screen and was able to focus on single pixels.... now that's a nice way to really study ClearType
Vacuum cleaners suck. Kings rule.
A true SAN is probably overkill for household use unless your hobies include rendering and editing Pixar-like shorts with your wife/girlfriend/dog/hamster working in tandem on one or more other workstations. That's about the only thing I can think of that a home user could use that kind of storage and speed for. Or you want to build some kind of 4 pc DIY TiVo with shared storage. Of course I don't know why you would.
I'm agreeing with Billco. If you've got a Switched 100Mb Ethernet LAN in your house (Since you're toying with building a DIY SAN, I'm sure you do), just build a fileserver. The cost, effort and extra cable spaghetti just don't seem to be worth it. If you build a server, it can do a hell of a lot more than just locally share files too. (DHCP, LDAP, E-mail, HTTP.... ) And considering what you'd spend on a SAN implementation, you could get a pretty nice server for your home.
As questionlp pointed out, if you've got Macs, the SANcube is in a price range that's manageable for the hard core (employed) geek.
Remember, use the right tool for the job. Don't kill flies with a bazooka.
My "fileserver" (also DHCP server) is a Pentium 166 with 32 megs memory and an old 10 mbit 3com509b card. Basically, $25 on ebay. A floppy drive was used to install linux (net install of Debian), then removed. There is no cd drive, and no video card in the machine. A 2 gig HDD is used for booting, and for most of the system files, and an 80 gig HDD is used for storage. (It was big at the time).
Running Samba, I can saturate my 10 mbit network with the machine. With tests done on a 100 mbit network, I reach about 30% use. However, the bottleneck is not the CPU or memory, it seems to be the onboard IDE. With a PCI ATA 100 card, performance should go up.
All in all, its a nice machine. Since its a desktop, it fits nicely under the printer it shares. An SSH server allows me to securely log in, change any system settings, and do updates. Its quiet, cheap, and effective. With only a power cable, an ethernet cable, and the printer cable, its neat. And did I mention upgradeable?
A hardware RAID-IDE card should cost me about $250. [Haven't tried software RAID in a P166 and I have no urge too.] That shouldn't put any load on the CPU, and would provide redundancy. Getty on a serial port would be nice as well. If I want to, I can also swap the drive for something bigger without worry about the system supporting it. With ext3, it handles power outages well.
It works.
The upcoming serial ATA standard will give you better performance at a lower cost. A firewire drive is large, expensive, and consumes slightly more power. All you gain over current IDE technology is hot swap, and that will be solved with serial ATA.
But what you are really after are the tools to manage such a beast. The physical implementation shouldn't matter to the developers - all the software needs to know is that storage exists that the user needs to use, and how to read from and write to said storage. It shouldn't matter whether it's an IDE drive, a friewire, a usb, a scsi, a 1000 tape library, or any combination of storage devices which, IMHO, will be a great differentiating feature from commercial packages.
Yes, the free SAN package handles your old room size tape robot as well as this rack of serial ATA drives, and will treat them accordingly - near line storage in the tapes (semi archive), on line storage in the HD, and off line (off site) over the WAN link to the storage cluster at your other shop. If you need an extra terabyte just go to officemax and plug in a firewire drive until the tech comes out and adds more serial ata devices to your drive chain.
Of course, you could buy the SAN package available from x, or y, but you'll pay dearly for it, and you can't add storage to it yourself. Oh, and it only works with their hardware.
-Adam
SANcube by MicroNet.
Ok, it's not clear from your posting exactly what you want.
c t- links.html#IEEE1394
Do you want NAS?
That's Network Attached Storage. Currently almost entirely Ethernet based. You get a box with some disks and software, and it sits on the Ether looking like a fileserver, maybe just a CIFS server for Windows boxes, more likely both CIFS and NFS to support Windows and UNIX.
Do you want a SAN?
That's a Storage Area Network.
A bunch of disk boxes connected together with a switched Fibre Channel network. Servers connect by Fibre Channel directly into the network.
Do you want a NAShead on a SAN?
A NAS device acts as a front-end to the SAN, so you have an Ethernet file-sharing frontend onto a Fibre Channel storage network backend.
The problem with implementing any of these is they're about more than a transport medium. A NAS is more than Ethernet. A SAN is more than Fibre Channel. Those media mostly just pump the data around. It's a ton of software that handles the sharing of files.
So sure, you can string a bunch of disks and CD burners and whatnot together with FireWire. No problem. I do it myself. "FireWire" disks are almost entirely just an enclosure with a normal ATA disk inside and an ATA-to-FireWire bridge. Adds a small cost onto the price of a regular IDE drive, that's it. You can buy the enclosures yourself and do it quite cheaply.
However, the operating systems that you connect to the FireWire are going to have no freaking idea about filesharing. If you try to connect more than one host, it won't know what to do.
What you need is FireWire ***PLUS*** filesharing software.
Unibrain makes something they call FireNAS
http://www.unibrain.com/home/
That's about the closest thing in existence to what you describe.
If you're wanting to use IP-over-1394 (RFC 2734), be aware that Microsoft's stack is the main working one. The Linux stack is in beta and Apple has no plans to implement IP-over-FireWire at all.
You can find more info on IEEE-1394 at
http://www.cs.dal.ca/~akerman/gradproject/proje
Also check out the Linux 1394 project
http://linux1394.sourceforge.net/
Just one point -- Serial ATA is going to run in parallel with vanilla ATA for a while, while vendors skim money off high-end users. It's not going to be "SCSI at ATA prices", at least not right away.
May we never see th
As others have pointed out, what you're talking about is a fileserver, not a SAN.
However, interest in cheap SANs is rising, and I suspect it won't be long before a couple of projects start up to build these, then they get polished, then corporate types get interested in the big cost savings, and they start using these. It'd be particularly cool if Linux beat Windows to the gun here.
Before you scoff, remember that that's what happened with the advent of clustering cheap PCs -- the custom supercomputer is nearly a dead beast now.
There are enormous profits on SANs, so an open-source project could do wonders here.
May we never see th
The linked example is quite expensive. It is better to buy an empty firewire enclosure and put a 120GB WD drive in it.
You forgot to provide a link for hamster upgrades. I hope they are downloadable. Can an upgraded hamster pull a bulldozer out of a muddy hole?
Mental illness is terrible, as the hostility in the above AC's comment demonstrates.
Oracle has a modified iee1394 kernel module that would allow multiple hosts to use FireWire-attached drives just like shared SCSI. They did it for cheaply testing their cluster file system, but, hey, if it works ...
Speaking of this sort of thing, can anyone point me to a FireWire external disk box that holds more than one drive? I'm thinking something along the lines of this only using 1394 instead of fibre or SCSI.
Causation can cause correlation
I appreciate everyone's comments about SAN and NAS, and apologize for not having made my point clearer.
I'm not interested in NAS / Fileserver / anything running over Ethernet, simply coz it's a no-brainer to set them up. The whole post to ask-slashdot was probably more theoretical than anything else, to discuss what started as a crazy idea with fellow geeks.
I know I can get a Firewire-IDE enclosure, but the question is, what happens if it hangs off a Firewire hub together with two computers? Will both be able to see it? How do you partition it (just normal fdisk I assume)? What if the two computers have different OS's? Then of course you've got to make sure that no two computers mount the same partition...
Then I started taking it further: The device used at the customer site was a real disk array with RAID5DP and lots of cache. Would it be possible to build a low-cost disk array e.g. using linux - very much similar to the SanCUBE. Then you could do much more than with just a FireWire-IDE disk; think of "LUN security" - ensure that computer X only sees the partitions that it's supposed to see...
Again, thanks for all the comments!11*43+456^2
AFAIK there is no built-in support in MacOS for IP-over-1394.
What about usb 2.0?
I recently picked up an ADS usb external drive enclosure with internal ide and slapped in a WD 120 GB harddrive. It's useful as a "really big floppy".
The usb 2.0 spec should allow for faster than ultra scsi transfers with the added benefit of hot-plugging. Also, the hdd's can be plugged into most pc's albeit at the usb 1.1 transfer rate...
Drop what you're doing and go to your local book monger. Go get the ORA book "Using SANs and NAS". Read the descriptions of each.
Then come back here and ask that question without laughing hilariously.
Wow you are ignorant. The purpose of the SAN is certainly not ease of installation. And a Maxtor MaxAttach certainly is not a SAN! It's a NAS! Get it straight!
A SAN as it is defined today, MUST be created using FC loops or fabric. There is no other topology (unless it could be done with firewire).
Also, ease of *management* not installation, is the bonus of the SAN. Also, SANs use expensive FC HBA's which have almost 0% cpu utilization even when streaming data at 2Gb/s. Ever checked the CPU utilization on a P200 when streaming data over TCP/IP at 100Mb/s? Or even a P3-733? No comparison to fibre channel. nada.
I'd rather be a conservative nutjob than a liberal with no nuts and no job.