ITPub博客

首页 > Linux操作系统 > Linux操作系统 > iscsi target(服务端)之/etc/ietd.conf配置小记

iscsi target(服务端)之/etc/ietd.conf配置小记

原创 Linux操作系统 作者:wisdomone1 时间:2010-07-29 15:10:32 0 删除 编辑
1. The configuration file for the iscsi-target is
    ietd.conf located in /etc. The following is the ietd.conf file that I am using to share sdb as an iscsi disk.

# iscsi target configuration

Target iqn.2000-12.com.digicola:storage.lun1
        IncomingUser   gfs secretsecret   ##客户端login user及密码
        OutgoingUser
        Lun 0 Path=/dev/sdb,Type=fileio ##fileio适用于lvm,raid,fs,是默认的
        Alias iDISK0
        #MaxConnections  6
The iedt.conf file that I use is straight forward enough.

The IncomingUser and OutgoingUser at the begining of the file defines users allowed to query the iscsi session (If empty then everyone is allowed). Note: The iscsi spec states that the password is 12 characters, (from what I have read) the MS initiator requires it.

 

 

###下面说到TARGET(就是提供iscsi target服务的设备命名格式)
Targets definitions start with "Target" and the target name. The target name must be a globally unique name, the iSCSI standard defines the "iSCSI Qualified Name" as follows: iqn.yyyy-mm.[:identifier] "yyyy-mm" is the date at which the domain is valid and the identifier is freely selectable.
The target can also require authentication, this time I used the user gfs with the password of secretsecret for the incoming user (iscsi initiator).
The Type "fileio" is the default and can be used for disk, file or LVM.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9240380/viewspace-669785/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
提供针对oracle初学者及进阶的数据库培训,欢迎大家咨询: 微信: wisdomone 微信公众号: lovedb 工作经历: 中国普天 北京科蓝 北京云和恩墨 北京神州新桥

注册时间:2008-04-04

  • 博文量
    2189
  • 访问量
    12690159