iSCSI on the ReadyNAS NV+ and OSX Snow Leopard

The Pro series of NAS from ReadyNAS (Netgear) support iSCSI out of the box. But the NV+ 4disk unit does not. However - a third party plugin is available.

Target

The provides support for the iSCSI target on the NAS itself.

There is a fairly good guide available on the wiki at readynasfreeware.

In short - it's:

  1. Upload the bin for the plugin
  2. Place a config file on the unit (root ssh required)
  3. Create a file (it also supports partitions etc) to contain the disk image
  4. Add startup/shutdown links
  5. Start the service.

I followed the wiki with only a couple of changes.

In the ietd.conf file - the line:

Target iqn.2001-04.com.example:readyduo.iscsi.target0

The format is iqn.YYYY-mm.tld.reverse.domain.name:descriptive.string.

The dd command (I created a 500Gb file) took 5 hours - don't do this if you're in a hurry ;)

And at the end - when it asks you to start I kept getting "failed". Turns out the install starts it unconfigured. All I had to do was a /etc/init.d/rfw-iscsi-target stop before running the start.

Initiator

For a client to connect to an iSCSI target it needs an initiator.

ReadyNAS has a page that shows how to install and configure globalSAN's free iSCSI initiator. It will require a restart of the mac. I grabbed the beta as it said it supported snow leopard. It has a few changes in layout - but the process is the same:

  1. Add Portal pointing at the NAS
  2. Add a target from the list on that portal.

I was then able to format the newly initiated drive and mount it read/write.

Speed tests

For this - I copied a 192Mb file back and forward. These are just for fun - highly unscientific - nothing done to check for caching etc, or other busy devices on the network.

Device Time taken
to device from device
Drobo FW 800 8 s 2 s
ReadyNAS NV+ iSCSI 16 s 4 s
ReadyNAS NV+ AFP 10 s 3 s
ReadyNAS NV+ SSH (scp as root) 2 min 4 s 2 min 2 s

Conclusion

Well it works - but it's not a world speed revolution ;)

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <strike> <caption>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].
  • Replace [debbug:xxxxx] with a link to the relevant debian bug. xxxxxx can be a bug id, package, or any of several others - see http://www.debian.org/Bugs/ and scroll down to the list of URL forms for other examples.
  • You may link to Gallery2 items on this site using a special syntax.
  • Insert Google Map macro.
  • Images can be added to this post.
  • You can link nodes to other nodes using the following syntax:
    [node:node_id,title="val2"]

More information about formatting options