use configfs config iscsi-target , there some problems

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

 



Hello,everybody 
  when i use configfs config iscsi-target , there some problems; 
   i do not know why,and howto ; Please let me know if you know the  problems.


1> echo 1 > enable 

   [root@localhost iblock]# echo /dev/vg01/thin-lv > udev_path 
   [root@localhost iblock]# echo 1 > enable 
    -bash: echo: write error: 无效的参数
    [root@localhost iblock]# ls
   alias  alua  alua_lu_gp  attrib  control  enable  info  pr     
statistics       udev_path  wwn
    [root@localhost iblock]# pwd
     /sys/kernel/config/target/core/iblock_0/iblock
 [root@localhost iblock]# echo 1 > enable 
     -bash: echo: write error: 无效的参数
    [root@localhost iblock]# uname -a
    Linux localhost 3.4.0-rc6 #10 SMP Tue Jul 31 16:24:35 CST 2012 x86_64   
x86_64 x86_64 GNU/Linux

2> ln -s
[root@localhost iblock]# mkdir -p /sys/kernel/config/target/iscsi/iqn.2003-
01.org.linux-iscsi.target.i686:sn.e475ed6fcdd0/tpgt_1/np/10.151.11.194:3260
[root@localhost iblock]# mkdir -p /sys/kernel/config/target/iscsi/iqn.2003-
01.org.linux-iscsi.target.i686:sn.e475ed6fcdd0/tpgt_1/lun/lun_0/
[root@localhost iblock]# cd /sys/kernel/config/target/iscsi/iqn.2003-
01.org.linux-iscsi.target.i686:sn.e475ed6fcdd0/tpgt_1/lun/lun_0/
[root@localhost lun_0]# ls
alua_tg_pt_gp  alua_tg_pt_offline  alua_tg_pt_status  alua_tg_pt_write_md  
statistics
[root@localhost lun_0]# pwd
/sys/kernel/config/target/iscsi/iqn.2003-01.org.linux-
iscsi.target.i686:sn.e475ed6fcdd0/tpgt_1/lun/lun_0
[root@localhost lun_0]# ln -s /sys/kernel/config/target/core/iblock_0/
hba_info  hba_mode  iblock/   
[root@localhost lun_0]# ln -s /sys/kernel/config/target/core/iblock_0/iblock/ 
lv_tt_port
ln: 创建符号链接 "lv_tt_port": 没有那个设备
[root@localhost lun_0]# 

Thank!

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