settingsLogin | Registersettings
리눅스 관련 모든 질문답변을 올려주세요! 100% 무료입니다! -Ask Ubuntu KR
Show Menu

targetcli 에서 iser_enable시 IOError에 대해서 아시는분 계신가요?

0 좋아요 0 싫어요
/> ls
o- / ................................................................................................................. [...]
  o- backstores ...................................................................................................... [...]
  | o- fileio ........................................................................................... [0 Storage Object]
  | o- iblock ........................................................................................... [0 Storage Object]
  | o- pscsi ............................................................................................ [0 Storage Object]
  | o- rd_dr ............................................................................................ [0 Storage Object]
  | o- rd_mcp ........................................................................................... [1 Storage Object]
  |   o- test1 ......................................................................................... [ramdisk activated]
  o- iscsi ...................................................................................................... [1 Target]
  | o- iqn.2003-01.org.linux-iscsi.clotho.x8664:sn.371d9af56d28 .................................................... [1 TPG]
  |   o- tpgt1 ................................................................................................... [enabled]
  |     o- acls ................................................................................................... [0 ACLs]
  |     o- luns .................................................................................................... [1 LUN]
  |     | o- lun0 ................................................................................. [rd_mcp/test1 (ramdisk)]
  |     o- portals .............................................................................................. [1 Portal]
  |       o- 192.168.100.10:3260 ....................................................................... [OK, iser disabled]
  o- loopback .................................................................................................. [0 Targets]
  o- qla2xxx ................................................................................................... [0 Targets]
  o- tcm_fc .................................................................................................... [0 Targets]
/> iscsi/iqn.2003-01.org.linux-iscsi.clotho.x8664:sn.371d9af56d28/tpgt1/portals/192.168.100.10:3260
@last         cd            get           iser_disable  ls            refresh       status        
bookmarks     exit          help          iser_enable   pwd           set           
....................................................................................................command
/> iscsi/iqn.2003-01.org.linux-iscsi.clotho.x8664:sn.371d9af56d28/tpgt1/portals/192.168.100.10:3260 iser_enable
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 983, in run_interactive
    self._cli_loop()
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 806, in _cli_loop
    self.run_cmdline(cmdline)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 927, in run_cmdline
    self._execute_command(path, command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 902, in _execute_command
    result = target.execute_command(command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 216, in execute_command
    return UINode.execute_command(self, command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 101, in execute_command
    pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/node.py", line 1405, in execute_command
    result = method(*pparams, **kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_target.py", line 1042, in ui_command_iser_enable
    self.portal._set_iser_attr(True)
  File "/usr/lib/python2.7/dist-packages/rtslib/target.py", line 870, in _set_iser_attr
    fwrite(path, "1")
  File "/usr/lib/python2.7/dist-packages/rtslib/utils.py", line 106, in fwrite
    file_fd.close()
IOError: [Errno 22] Invalid argument
/>

 

ububtu 14.04.3 LTS 사용중이며 iser 설정및 모듈 확인도 다 했습니다.

TGT설정에서는 정상인데 LIO에서만 iser_enable시 오류메세지와 함께 활성화가 안되네요

혹 비슷한 경험이 있으신분 조언 부탁드립니다.
서버 / 클라우드

질문에 대한 답변을 하려면 로그인 또는 가입해야합니다.

Hosting by Microsoft MeltingPot/maru intermet
...