J
jpaetzel
Guest
FreeNAS doesn't have FC target support by default, but you can make it work if you want to do some hacking and you don't care that you can't manage it from the GUI.
1. gunzip then copy the attached ko to your FreeNAS box. Put it in /boot/modules.
(The attached ko is 64 bit only)
2. Run kldxref /boot/kernel boot/modules
3. Add a tunable to the GUI for ctl_load YES
4. Switch your FC ports to target mode. by adding hint.isp.0.role="1" to /boot/device.hints
Wash rinse and repeat for each FC port.
5. truncate -s 100g /mnt/tank/somefile
6. ctladm port on
ctladm realsync off
ctladm create -b block -o file=/mnt/tank/somefile
You could use a post init script to run the ctladm commands at boot.
1. gunzip then copy the attached ko to your FreeNAS box. Put it in /boot/modules.
(The attached ko is 64 bit only)
2. Run kldxref /boot/kernel boot/modules
3. Add a tunable to the GUI for ctl_load YES
4. Switch your FC ports to target mode. by adding hint.isp.0.role="1" to /boot/device.hints
Wash rinse and repeat for each FC port.
5. truncate -s 100g /mnt/tank/somefile
6. ctladm port on
ctladm realsync off
ctladm create -b block -o file=/mnt/tank/somefile
You could use a post init script to run the ctladm commands at boot.