Using iSCSI for NAS-Based Backups??

First, let me say I cannot report success with this technique, but it seems promising enough that I thought I post what I've tried and maybe others can fill in the blanks.

While looking through the different options my NAS provides, I ran across iSCSI. The reason this intrigued me is that iSCSI would allow me to format the shared asset as a native HFS+ volume, meaning TM should use it like an external dirve!!

After some research it seems there are two halves to iSCSI, a server (the NAS) provides a "target." The client runs an "initiator" to connect to the target over the network. The target then shows up on the client as a raw disk volume. Disk utility would then be able to format the volume like any external disk drive.

First hiccup: Apple yanked the iSCSI initiator from the final release:( However, it seems that a company called Studio Network Solutions has made their iSCSI initiator for MacOSX available for free!

http://www.studionetworksolutions.com/products/product_detail.php?t=more&pi=11

And, from what I could read in their forums, it works with Leopard.

So, I proceeded to create a 750G iSCSI target on my NAS (running FreeNAS). I installed the SNS initiator on my Mac Pro (running Leopard). I connected to the target and, Voila!, the volume showed up in Disk Utility. I partitioned and formatted the volume as HFS+ and it showed on the Desktop. Just for giggles, I opened the TM pref pane and sure enough TM saw the volume!!

OK, before I back up, let's see how stable this combo is. So I tried dragging a 4G DVD image to the new volume to see how fast it was. Wow, pretty fast: faster than my local SATA disk (since the iSCSI target is really a raid0 stripe connected via GigE).

Now for the bad news: it hangs after a couple Gigs. Bummer.

OK, so let's try the other free NAS: Openfiler. I read on the SNS forums a few people reported success with Openfiler. So I brought up an old PC with Openfiler. Created a 2x500G RAID0 stripe and a target on the raid volume. I connected to the target from the Mac Pro, formatted the volume and started a copy. OK, looks better this time. Still VERY fast but, alas, it stops after 7.5G. This time the entire OS hangs, not just the Finder. I have to reboot the Mac Pro the hard way 😟

I have not had the time since yesterday to do any more experimenting. However, it seems promising enough to share. And since there were reports of success with the SNS initiator with Openfiler, I figured the experimenters here may come up with something I didn't.

The bottom line: if we can get iSCSI working with Leopard, we have a way to backup from multiple Mac's to a NAS using a fairly widely supported (on the NAS side at least) protocol. Oh, and if you combine it with some RAID and GigE it may actually be FASTER than backup up to FW, USB or even interal SATA.

Also, if it's not clear from the post above, experimenting hung my Mac Pro hard. Not good. This technique is not yet for the beginner, but for people with the resources to experiment.

Please report back in the thread if you get any further than I did with this technique.

Fingers crossed...

Mac OS X (10.5)

Posted on Nov 3, 2007 6:47 AM

Reply
5 replies

Nov 3, 2007 1:39 PM in response to Nick Pope

OK, followup on my own post.

I installed the globalSAN iSCSI initiator on my MacBook Pro and formatted the volume as JHFS+. Time Machine instantly popped the dialog asking if I wanted to use it as a backup drive. I said yes. It then proceeded to backup the entire 24G primary volume: in 1 hour!

So the initial backup went well. I'll let it go and see what happens.

The failure I got on the Mac Pro yesterday was copying a 4G file, not a TM backup. I never actually tried a time machine backup on the Mac Pro.

So, maybe the problem is with the copying of huge files and not with lots of I/O. Either way, not yet to a point where I'd use it everyday.

How widely supported is iSCSI? I know FreeNAS and Openfiler support it. How about Infrant, etc?

Nov 10, 2007 11:21 AM in response to Nick Pope

I have been trying a similar setup, however I'm using FreeNAS & globalSAN iSCSI.

Anyway, setting it all up went fine, but unfortunately Finder hangs after transferring say 100 MB. Since it is Finder that hangs I'm going to assume that FreeNAS is OK and that the iSCSI initiator is the problem.

It really looks like a great solution to the Time Machine over WiFi backup...if only software that works can be found.

Dec 4, 2007 11:25 AM in response to J. Everett

I've been doing some testing with the globalSAN iSCSI initiator on my MBP. So far things look good. Fired it up, mounted, formatted and copied 31G via Finder in 12 minutes. Not too bad.

The server is an HP DL380 running SLES10 with IET. Storage backend is several XServeRAIDS and a Winchester FlashDiskSATA connected via multipath'd fibre channel. Storage is managed via EVMS / LVM and the target configuration GUI is included in YaST. Makes things very flexible.

I agree that it's too bad there's no iSCSI initiator on Leopard install DVD as this makes a baremetal restore impossible with iSCSI.

I've not yet tried the iSCSI volume with TimeMachine although TM did ask me if I wanted it to use the disk.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using iSCSI for NAS-Based Backups??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.