Computer System/Storage

[스토리지] iSCSI Target 데몬 LIO 세부 옵션

해리팍 2017. 8. 23. 10:11
반응형

<타입 설명>


bool : True or False


bool-iscsi : Yes or No


loglevel : critical, debug, error, info, warning



<Global>


auto_add_default_portal= <bool> : portal을 자동 생성 (0.0.0.0:3260)


auto_add_mapped_luns = <bool> : ACL 생성 시 생성되어있는 LUN과 자동으로 연결 (Default : True)


auto_enable_tpgt = <bool> : TPGT 생성 시 자동 enable (Default : True)


logfile = <string> : 로그 파일 경로 (Default : ~/.targetcli/log.tst)


loglevel_file = <loglevel>, loglevel_console = <loglevel> : 파일/콘솔의 로그 레벨



<Storage Object ( /backstores/fileio or block/backstore_obj )>


block_size = {512 | 1024 | 2048 | 4096} : 블럭 사이즈 설정 (FILEIO의 경우 logical value, BLOCK의 경우 물리 디바이스의 block 사이즈로


queue_depth = <1 ~ hw_queue_depth> : queue depth for backstore device



<iSCSI>


discover_auth : (enable, mutual_password, mutual_userid, password, userid)



<tpg>


auth : (mutual_password, mutual_userid, password, userid)


-attribute-


authentication= {1 | 0} : iSCSI 인증 on / off (default : 1)


default_cmdsn_depth= <1 ~ (2^32-1)> : Default iSCSI CmdSN (Session wide queue) depth. (Recommand : 1G - 16, 10G - 64) (default : 16)


login_timeout= <1 ~ 30> (Default : 15) : Initiator 로그인 시 타임아웃


netif_timeout= <1 ~ 15> (Default : 2) : NIC Link fail 타임아웃



-parameter-


AuthMethod= <CHAP,None | CHAP | None>


ErrorRecoveryLevel= <0 ~ 2> (Default : 0) -


MaxBurstLength= <512 ~ 2^24-1> (Default : 262144) : Maximum SCSI data payload (bytes)


FirstBurstLength= <512 ~ MaxBurstLength> (Default : 65353)


MaxConnections= <1 ~ 65535> (Default : 1) : Maximum Connections.

반응형