Turning a PC into a Firewire-Based SAN? 50
Rachovenov asks: "So I've finally plunked down the money for one of those new, shiny Powerbooks, but they don't have much storage. My old PC is just sitting here with 2 identical 250 gig disks spinning away and an empty firewire port. There's even a hardware RAID controller in there somewhere. So why not use it as a low cost RAID 1 array for the Powerbook when I'm at home? Has anyone done this? How could I make it so that Mac OS X just sees it as a couple of Firewire drives?"
Re:Errrr... (Score:1, Flamebait)
Oh... crap. My bad. (Score:3, Interesting)
Good luck. Macs have this built into the firmware, not PCs. I don't think it's even on anyone's radar. But I don't imagine it's too difficult to write something that could do the job using libraw1394 and the SBP2 documentation. [ieee.org]
Good luck!
Re:Errrr... (Score:3, Insightful)
AFAIK, IIRC, the only way to do this would be to raid the drives on the PC and export them via NFS or SMB and set up TCP/IP over firewire.
Re: (Score:2, Informative)
Re:iscsi (Score:2)
Just to clairify for the original poster, iSCSI works similar to network block device (NBD), in that it allows a machine running an iSCSI "target" daemon to serve up a chunk of it's storage as a virtual drive to a client running an iSCSI "initiator" driver. Once set up, the client's OS sees the block(s) of storage as if they were directly attached SCSI disks. The chunk of storage being served up by the target daemon can be a physical partition, a logical volume, or in so
Firewire (Score:4, Interesting)
Re:Firewire (Score:2, Informative)
You probably won't get the full benefit of FW800 or GbE without a machine with PCI-X, PCI-E or similar. In that case GbE will do as good as anything (and cheap).
Re:Firewire (Score:4, Funny)
Naw, that would never work.
Re:Firewire (Score:1)
Server (with all it's fans and all) is in the basement, PowerBook stays on the main floor. I can connect everywhere in the house with my WiFI and I can get GbE speeds wherever the 25ft Cat6 cable can go. Firewire is generally good for 6ft.
To connect I don't use samba. Instead I use version 2 (not 1 - very important!) of Netatalk htt [sourceforge.net]
Re:RAID (Score:2, Informative)
Re:RAID (Score:1)
Re:RAID (Score:1)
Re:RAID (Score:1)
TCP/IP over firewire (Score:1, Insightful)
run it as a samba server, but connect through the firtewire. google it...it'll work and be fast.
What's with the ._* files with macs using samba??? (Score:2)
Bork!
Re:What's with the ._* files with macs using samba (Score:2, Informative)
Re:What's with the ._* files with macs using samba (Score:2)
I can run a scheduled delete script on the network's PC's, but is there anything he can do, short of buy a PC? It really is obnoxi
Re:What's with the ._* files with macs using samba (Score:3, Informative)
Re:What's with the ._* files with macs using samba (Score:2)
Ewww! A Thumbs.db file on my drive!!
Ick! What's this in
Gasp! Here in
Are they duplicate files, or little 30 byte file descriptors? GIMP used to burn me with that damned
Is it that big of a deal? The script does it's job, so what't the beef?
Re:What's with the ._* files with macs using samba (Score:2)
Ewww! A Thumbs.db file on my drive!!"
I can turn off the creation of thumbs.db files if I'm visiting someone's non-pc SMB network with my laptop. My friend can't stop his mac from creating a fork file for every file he copies across the network. He would like to avoid the hassle of explaining them and how to get rid of them every time he connects to someone else's network. Especially if the peer to peer network is run by some clueless people. He would rather just disable his mac fr
Re:What's with the ._* files with macs using samba (Score:1, Funny)
With a slashdot id of 143245 you either got your account from ebay or they tried that hibernation thing with you.
This place is full of Mac and Linux Zealots comparing the latest OSX/Linux release to Win3.11 or Win95
Re:What's with the ._* files with macs using samba (Score:2)
Re:What's with the ._* files with macs using samba (Score:2)
If you're running windows servers (that's just weird), then I'm not sure what to tell you. Set up a scheduled task to get rid of them...
Re:What's with the ._* files with macs using samba (Score:2)
Since my colleague with his powerbook does move around a lot, and connects to various networks big and small, is there any awy he can put a filter on his outgoing network traffic to block these files? He really doesn't want the hassle of having to delete them after the fact on someone else's network,
Re:What's with the ._* files with macs using samba (Score:2)
As far as blocking them at the network level - you'd probably need a proxy or a different file se
Here's what I would do -without googling of course (Score:3, Informative)
That's about it really, set up a nice link to mount your device when you come in, plug in your firewire. Heck, I think you can configure the automounter to detect when the firewire network becomes available and mount it for you. That's really all there is to it. Should work out pretty well. On a side note, if you plug in a third drive, even if your SCSI card doesn't support it, you could use Vinum [vinumvm.org] on FreeBSD or LVM [tldp.org] on Linux to add capacity, and at least on Vinum you can do RAID5 or RAID10. It won't be as fast as hardware RAID, but hey when you're going cheap, you use what you can. Besides, I somehow suspect that you're wanting capacity over speed anyway, and if that's the case, use the best redundancy you can, right?
Don't - build a server instead (Score:5, Interesting)
You already have a PC, and the two disks built inside. Mirror or stripe the drives in the system (your choice, I'd got for a mirror) and then install Linux or BSD or whatever server-ish operating system you want on the box with the right services (Samba, NFS, whatever). Connect to it with IP over firewire, Ethernet, or gigabit ethernet if the old system supports it (the laptop does).
This will allow the system to keep running when you are not around, will allow you to use the disk over that fancy wireless connection on your new Po-po-po-powerbook!. If you put SSH on the box I'm sure you'll figure out how to access your home disk from the road (for bonus points roll your own remote file access solution based on some creative web based interface running on port 443 that no one will ever block).
Last but not least, you'll be able to access the disk from the PowerMac system you'll eventually buy when you realize that the Powerbook is just a touch slow, the keyboard is not so comfortable, and the trackpad is complete crap (mind you, I have a 17" PB myself and love it to death, but all of the above are true and that's the reason I use a Bluetooth keyboard and mouse with it when it's "docked" at home).
-Jack Ash
Re:Don't - build a server instead (Score:1)
Has anyone done this? (Score:4, Informative)
Re:Has anyone done this? (Score:2)
Custom distributions (Score:3, Interesting)
One advantage of this approach over installing a file-server is that the hard drives are seen directly by the OS, this means you can boot of them, do low level manipulations (like formatting them), directly from the client machine.
One such distribution I would like to see (one can dream), is that changes an old PC into a advanced dock for a laptop. Typically, a thing I can connect my laptop to, and I get to use the peripherals of the PC: hard-drives, CD-drive, keyboard, mouse, heck even the floppy drive.
The goal would be to have all those devices recognised as being devices attached to the laptop, i.e no client server protocol to share them - basically the PC would pretend to be a firewire or USB hub with a lot of devices attached.
Maybe I would even make sense to use the sound-card of the PC. Not so long ago I would have suggested also to access the display of the PC and use its CPU as a powerful GPU, but given the graphical cards one can now find in laptops, this makes no sense.
gotta agree with the rest (Score:4, Informative)
Yeah, it'd be nice if you could just put the PC into target disk mode like a Mac, but you can't. There are some advantages and disadvantages, but I think the advantages of a server--even ignoring the whole "server setup is easy, target disk mode with Intel hardware is just about impossible" thing--would win over using it as an attached disk.
Among other things, you can tuck it anywhere--it doesn't have to be a firewire cable's length away. And since it's networked based, it's easier to share, and can even be accessed (thought more slowly) via wireless.
Re:gotta agree with the rest (Score:2)
Either should work. Gig ethernet PHY often support Auto-MDIX.
Re:gotta agree with the rest (Score:2)
To code something in Bonjour technology? (Score:1)
Exactly what you want (Score:5, Informative)
http://oss.oracle.com/projects/endpoint/ [oracle.com] - it turns a linux machine into a SBP-2 endpoint.
Re:Exactly what you want (Score:2, Informative)
If I had firewire I'd play with this too. Maybe it is time to pick up a couple of multi port firewire cards.
But, so far (at first glance) the lack of documentation, and the age of the release may not make this an easy solution to impliment.
Mod parent up... (Score:1, Insightful)
Re:Mod parent up... (Score:2)
Very true. But some questions have tunnel vision, though, or already have the answer in mind.
A better question would have been to ask, "How can my Powerbook make best use of the 2x 250GB drives in my PC?"
Drive cages (Score:4, Informative)
I snared 2 ($25 a piece) and put my 2 120gig drives in. Plug em in, Windows (I know you have a Mac, but it should be similar I'd hope) detects them and I've got 240gig of space on top of the 20gig that my laptop has. easy as that.
There are also firewire cages out there if you're hooked on that.
Cheap and easy. The only downside I've found so far is that, be cause the drives are in cages and independantly powered, they never stop spinning until you unplug them. I don't see the need to have my drives spinning all the time, especially when my laptop isn't even there, so I put them on a power bar to make turning them off easy when it's time to take the laptop on the road.
$0.02 CDN.
Anyone done this or a server for A/V Editing? (Score:2)
ISCSI (Score:3, Informative)
I know you want to bank on your firewire connections. Go for it.
Iscsi would give you the ability to connect to shared block devices in your machine via TCPIP networking. If you do that over firewire, or Twisted pair 10/100, or wireless, you can leverage alot more then a direct connection. For one, you would not have to be within what ever limit is imposed by your firewire cabling situation.
ISCSI can be implimented entirely in software. There are ISCSI target (host) software solutions that let you turn a PC (X86 is what I know and have played with) into a destination (hosting the drives). You can allocate the drives as you desire. And it is fast.
However, I am not certain on the MAC software side of the deal. There is one company (at least) called ATTO who claim to have a software ISCSI initiator called XTEND SAN. But it seems they have been talking about it for a while, with no release. ARDIS also claims to have one, but only for OEM companies.
I have played the software route on Windows and Linux. It is fast and cool to do it all in software. A hardware ISCSI initiator (think scsi card combine with ethernet card) costs way to much for the casual user ($500 +).
And yes, none of this has any meaning to you if there is no software ISCSI initiator for your mac.
(umm.. you also didn't really state what your OLD PC really is.. Is it a PC in the Windows/X86 sense? Or is a PC in the sense of another Mac? (do we all naturally assume PC means Windows?)
Re:ISCSI (Score:3, Informative)
Looking at http://www.ardistech.com/index.html?id=12&lang= [ardistech.com] looks interesting, but this is new territory for me (just found out that the iSCSI drive enclosure we were looking at for work to connect to some Linux servers was way out of our