8、如下:iqn.2000-04.net.ixdba:sdc1192.168.12.136iqn.2002-04.net.ixdba:sdc2192.168.12.26修改完成,重启iscsi-target服务:[root@iscsi-targetiet]#serviceiscsi-targetrestartStoppingiSCSITarget: [ OK ]StartingiSCSITarget:
9、 [ OK ]接着,在IP地址为192.168.12.26的LinuxInitiator主机上执行如下操作:[root@Initiatoriscsi]#/etc/init.d/iscsirestart[root@Initiatoriscsi]#iscsiadm-mdiscovery-tsendtargets-p192.168.12.246 192.168.12.246:3260,1iqn.2002-04.net.ixdba:sdc2[root@Initiatoriscsi]#fdisk-lDisk/dev/sda:320
10、.0GB,320072933376bytes255heads,63sectors/track,38913cylindersUnits=cylindersof16065*512=8225280bytes DeviceBoot Start End Blocks Id System/dev/sda1 * 1 13 104391 83 Linux/dev/sda2 14 38913 312464250 8e LinuxL