FreeNAS FC Target

Взято здесь:

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. unzip and 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. Обрезаем наш таргет до 100 гигов
    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.

Исправленное здесь:

С учетом следующего: добавляется тюнабл:

variable name: ispfw_load
variable value: YES

Изложенное параграфом выше выполняется так:

mount -u -w /
cd /tmp
unxz ispfw.ko.xz
install -m 555 ispfw.ko /boot/kernel

И добавляется лоадер тюнабл:

embedded/freenas_fc_target.txt · Last modified: 2014/10/20 11:33 by rybario
About this template
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5