I get the error below when running /ib_srpt create on: Kernel: 3.5.0-22-generic Distro: Ubuntu precise root@zstor1:~# dpkg -l |grep targetcli ii targetcli 2.0rc1-2 administration tool for managing LIO core target root@zstor1:~# dpkg -l |grep rtslib ii python-rtslib 2.1-2 LIO core target management framework - python libs /> /ib_srpt create 0x00000000000000000002c90200298731 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 157, in execute_command return UINode.execute_command(self, command, pparams, kparams) File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 85, 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 119, in ui_command_create target = Target(self.rtsnode, wwn, mode='create') File "/usr/lib/python2.7/dist-packages/rtslib/target.py", line 1252, in __init__ self._create_in_cfs_ine(mode) File "/usr/lib/python2.7/dist-packages/rtslib/node.py", line 71, in _create_in_cfs_ine os.mkdir(self.path) OSError: [Errno 22] Invalid argument: '/sys/kernel/config/target/srpt/0x00000000000000000002c90200298731' Here's what's in the directory: root@zstor1:~# ls -la /sys/kernel/config/target/srpt/ total 0 drwxr-xr-x 3 root root 0 Jan 31 14:39 . drwxr-xr-x 8 root root 0 Jan 30 17:54 .. drwxr-xr-x 2 root root 0 Jan 30 17:13 discovery_auth -r--r--r-- 1 root root 4096 Jan 31 14:44 version root@zstor1:~# ibsrpdm IO Unit Info: port LID: 000d port GID: fe800000000000000002c90200298731 change ID: 0001 max controllers: 0x10 controller[ 1] GUID: 0002c90200298730 vendor ID: 000002 device ID: 006274 IO class : 0100 ID: Linux SRP target service entries: 1 service[ 0]: 0002c90200298730 / SRP.T10:0002c90200298730 root@zstor1:~# ibv_devinfo hca_id: mthca0 transport: InfiniBand (0) fw_ver: 1.2.0 node_guid: 0002:c902:0029:8730 sys_image_guid: 0002:c902:0029:8733 vendor_id: 0x02c9 vendor_part_id: 25204 hw_ver: 0xA0 board_id: MT_03F0110001 phys_port_cnt: 1 port: 1 state: PORT_ACTIVE (4) max_mtu: 2048 (4) active_mtu: 2048 (4) sm_lid: 1 port_lid: 13 port_lmc: 0x00 Any ideas what the problem is? Thanks! Richard -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html