creating a new fc target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kiran and Robert,

I'm having an issue creating a tcm_fc target using rtsadmin. Have you
tried this and had it work ok? I'm not sure if it's an issue, or if it's
something stupid I'm doing. loopback create works fine.

This is with mainline kernel 3.0 code.

Thanks -- Regards -- Andy

#> rtsadmin
/> loopback/ create
Created target naa.600140566edc5d97.
/> tcm_fc/ create
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/configshell/shell.py", line
975, in run_interactive
    self._cli_loop()
  File "/usr/lib/python2.6/site-packages/configshell/shell.py", line
801, in _cli_loop
    self.run_cmdline(cmdline)
  File "/usr/lib/python2.6/site-packages/configshell/shell.py", line
919, in run_cmdline
    self._execute_command(path, command, pparams, kparams)
  File "/usr/lib/python2.6/site-packages/configshell/shell.py", line
897, in _execute_command
    result = target.execute_command(command, pparams, kparams)
  File "/usr/lib/python2.6/site-packages/rtsadmin/ui_node.py", line 85,
in execute_command
    pparams, kparams)
  File "/usr/lib/python2.6/site-packages/configshell/node.py", line
1314, in execute_command
    result = method(*pparams, **kparams)
  File "/usr/lib/python2.6/site-packages/rtsadmin/ui_target.py", line
70, in ui_command_create
    target = Target(self.fabric_module, wwn, mode='create')
  File "/usr/lib/python2.6/site-packages/rtslib/target.py", line 1252,
in __init__
    self._create_in_cfs_ine(mode)
  File "/usr/lib/python2.6/site-packages/rtslib/node.py", line 71, in
_create_in_cfs_ine
    os.mkdir(self.path)
OSError: [Errno 22] Invalid argument:
'/sys/kernel/config/target/fc/1becac95-4e7f-45d1-a420-8336d613bbca'

- Andy
--
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


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux