Thanks to user Jorge Vazquez for writing this up:
This document explains how to configure the SNS GlobalSAN iSCSI initiator so that it is loaded before the user’s desktop. This procedure is particularly useful - but not limited to, if there is a need to move a user’s home folder to any iSCSI volume that is attached to your Mac using the SNS GlobalSAN initiator.
YOU WILL NEED:
GlobalSAN iSCSI Initiator
But you already knew that anyway, right?
You need to have at least one of these attached to your Mac. If you don’t, this is a great time to configure one.
A great third-party utility that you will have to download and install on your Mac. Download it free from http://www.soma-zone.com
This procedure is very simple and anyone capable of following simple instructions should be able to successfully complete it. However, keep in mind that there is always the chance that things might not go as planned. Because of this, it is highly advised that you create a full backup of your computer before you attempt to perform this operation. Failure to do so may result in the immediate and permanent loss of your data.
- Log on to your user account on your Macintosh computer. Once you are at the desktop, from the Launcher click on the Applications folder, then find LaunchControl and click on its icon to open the application.
- On the top left corner of the LaunchControl, click on the drop down box with the words “User Agents” to expand it, and then click on “System Daemons.” You will be prompted for your password, enter it and click OK.
- Now click on the File menu and select New. A new task will be created and we must now modify a few parameters.
- First, simply change the label from com.example.app to com.sns.globalSAN.daemon using the text box located at the top center of the LaunchControl window.
- Now you must change the name of the program to run from /usr/bin/true to /sbin/globalsand and finally, find the UserName item on the sidebar and drag it under the Run At Load section. Make sure that the user name shown is root and the group is wheel and you are done. Well, not quite.
- You must now remove the old GlobalSAN item. Click on the drop down box on the top left corner of the LaunchControl application and select Global Daemons. If you are asked to save your changes, do so. After the application is done parsing, find the com.sns.globalSAN.daemon item in the left pane and click on it once to highlight it. Now click on the ‘−‘ button located at the bottom right of the pane to remove it from the list.
- From the menu click on File, then Quit LaunchControl.
- If prompted, save your changes and reboot your Mac.