Well, here's how:
- Grab http://download.freenas.org/nightly/x64/ and upgrade
- Create a postinit script that runs /usr/sbin/ctladm port -o on
- In the iSCSI settings check the box for enable experimental target mode. (this will trip a reboot)
When the system comes back up any targets you've set up for iSCSI will show up as FC targets as well. Make sure not to use them via both access...
So you want to test FC target mode?
- Grab http://download.freenas.org/nightly/x64/ and upgrade
Code (text):
- # mountrw / && sed -i "" -e 's/\(role\)=2/\1=1/' /boot/loader.conf && mount -ur /
- In the iSCSI settings check the box for enable experimental target mode. (this will trip a reboot)
When the system comes back up any targets you've set up for iSCSI will show up as FC targets as well. Make sure not to use them via both access...
So you want to test FC target mode?