2. IET

 

 

iSCSI Enterprise Target

 


iscsitarget - building an iSCSI storage system on Linux

 

  • iscsitarget - iSCSI Enterprise Target userland tools
  • iscsitarget-dkms - iSCSI Enterprise Target kernel module source - dkms version

Wheezy Install:

apt-get install iscsitarget iscsitarget-dkms

/etc/default/iscsitarget

ISCSITARGET_ENABLE=true

/etc/iet/initiators.allow

/etc/iet/targets.allow

# discovered 時用
# Default: ALL ALL

/etc/iet/ietd.conf

Target iqn.2013-05.com.domain:storage.lun
          Lun 0 Path=/home/iscsi/lun0,Type=fileio
          Lun 1 Path=/home/iscsi/lun1,Type=fileio
          Lun 2 Path=/home/iscsi/lun2,Type=fileio

/etc/init.d/iscsitarget start

/usr/sbin/ietadm