|
Hello All ,
I had a problem with iSCSI target service when I tried to reboot my server. Before reboot server, the iSCSI target services status is okay,and I can use the TD5 drives on windows well. But after system rebooting ... the tgtadm show me nothing... Is there any issue with it ? PS. I know another solution to run tgtadm command in /etc/rc.local . It's my opration as bellow.Thanks a lot. [root@VTL ~]# tgt-admin -s Target 1: iqn.1994-05.com.redhat:3c162e91a4fb:mhvtl:stgt:1 System information: Driver: iscsi State: ready I_T nexus information: I_T nexus: 1 Initiator: iqn.1991-05.com.microsoft:vm-lab Connection: 1 IP Address: 10.0.0.1 LUN information: LUN: 0 Type: controller SCSI ID: IET 00010000 SCSI SN: beaf10 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: null Backing store path: None Backing store flags: LUN: 1 Type: passthrough SCSI ID: IET 00010001 SCSI SN: beaf11 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg25 Backing store flags: LUN: 2 Type: passthrough SCSI ID: IET 00010002 SCSI SN: beaf12 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg5 Backing store flags: LUN: 3 Type: passthrough SCSI ID: IET 00010003 SCSI SN: beaf13 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg6 Backing store flags: LUN: 4 Type: passthrough SCSI ID: IET 00010004 SCSI SN: beaf14 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg7 Backing store flags: LUN: 5 Type: passthrough SCSI ID: IET 00010005 SCSI SN: beaf15 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg8 Backing store flags: LUN: 6 Type: passthrough SCSI ID: IET 00010006 SCSI SN: beaf16 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg9 Backing store flags: LUN: 7 Type: passthrough SCSI ID: IET 00010007 SCSI SN: beaf17 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg10 Backing store flags: LUN: 8 Type: passthrough SCSI ID: IET 00010008 SCSI SN: beaf18 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg11 Backing store flags: LUN: 9 Type: passthrough SCSI ID: IET 00010009 SCSI SN: beaf19 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg12 Backing store flags: LUN: 10 Type: passthrough SCSI ID: IET 0001000a SCSI SN: beaf110 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg13 Backing store flags: LUN: 11 Type: passthrough SCSI ID: IET 0001000b SCSI SN: beaf111 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg14 Backing store flags: LUN: 12 Type: passthrough SCSI ID: IET 0001000c SCSI SN: beaf112 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg15 Backing store flags: LUN: 13 Type: passthrough SCSI ID: IET 0001000d SCSI SN: beaf113 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg16 Backing store flags: LUN: 14 Type: passthrough SCSI ID: IET 0001000e SCSI SN: beaf114 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg17 Backing store flags: LUN: 15 Type: passthrough SCSI ID: IET 0001000f SCSI SN: beaf115 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg18 Backing store flags: LUN: 16 Type: passthrough SCSI ID: IET 00010010 SCSI SN: beaf116 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg19 Backing store flags: LUN: 17 Type: passthrough SCSI ID: IET 00010011 SCSI SN: beaf117 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg20 Backing store flags: LUN: 18 Type: passthrough SCSI ID: IET 00010012 SCSI SN: beaf118 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg21 Backing store flags: LUN: 19 Type: passthrough SCSI ID: IET 00010013 SCSI SN: beaf119 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg22 Backing store flags: LUN: 20 Type: passthrough SCSI ID: IET 00010014 SCSI SN: beaf120 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg23 Backing store flags: LUN: 21 Type: passthrough SCSI ID: IET 00010015 SCSI SN: beaf121 Size: 0 MB, Block size: 1 Online: Yes Removable media: No Readonly: No Backing store type: sg Backing store path: /dev/sg24 Backing store flags: Account information: ACL information: ALL [root@VTL ~]# tgt-admin --dump >>/etc/tgt/targets.conf [root@VTL ~]# cat /etc/tgt/targets.conf default-driver iscsi <target iqn.1994-05.com.redhat:3c162e91a4fb:mhvtl:stgt:1> backing-store /dev/sg25 backing-store /dev/sg5 backing-store /dev/sg6 backing-store /dev/sg7 backing-store /dev/sg8 backing-store /dev/sg9 backing-store /dev/sg10 backing-store /dev/sg11 backing-store /dev/sg12 backing-store /dev/sg13 backing-store /dev/sg14 backing-store /dev/sg15 backing-store /dev/sg16 backing-store /dev/sg17 backing-store /dev/sg18 backing-store /dev/sg19 backing-store /dev/sg20 backing-store /dev/sg21 backing-store /dev/sg22 backing-store /dev/sg23 backing-store /dev/sg24 </target> After system Rebooting ... # tgt-admin -s The result is nothing . Thanks all ~ |
|
Administrator
|
Unless some here can help with tgt, I recommend contacting tgt developers at stgt@vger.kernel.org or check their website http://stgt.sourceforge.net. Also, if you are not running a recent version, you may want to check for updates at https://github.com/fujita
-nia |
| Powered by Nabble | See how NAML generates this page |
