Re: Cannot change the original Target Information

2012-10-30 Thread Mike Christie
On 10/29/2012 11:15 PM, Paul W. Poteete wrote:
 Thank you Mike!  I really appreciate your help.
 
 nhnfs01 ~ # iscsiadm -m discovery -t sendtargets -p localhost
 [::1]:3260,1 iqn.2012-10.com.nahoku:nhnfs00.target01
 
 Process:
 
 #Install Centos 6.3 (64bit)
 yum install scsi-target-utils iscsi-initiator-utils
 mkdir /home/iscsi
 time dd if=/dev/zero of=/home/iscsi/lun_exchange.img bs=1G count=300 
 time dd if=/dev/zero of=/home/iscsi/lun_mssql.img bs=1G count=300 
 #edit /etc/tgt/targets.conf
 for svc in iscsi iscsid tgtd; do /etc/init.d/$svc restart; done
 
 I created a quick test configuration to see if it would work, and
 presto, it worked fine.  When I changed the config, I still only have
 a single Target.  Is it possible to have two target servers when using
 dd images?
 
 Original test config: (worked great)
 --
 # Default Driver
 default-driver iscsi
 
 # Initiator and Target Configuration
 
 target iqn.2012-10.com.nahoku:nhnfs00.target01
   backing-store /home/iscsi/lun_mssql.img
 /target
 
 
 Changed config: (initiators still see the target listed above)
 --
 nhnfs01 ~ # cat /etc/tgt/targets.conf
 # Driver
 default-driver iscsi
 
 # Targets
 target iqn.1997-03.com.example:nhnfs00-exchange
   backing-store /home/iscsi/lun_exchange.img
   allow-in-use yes
   /backing-store
 /target
 target iqn.1997-03.com.example:nhnfs00-mssql
   backing-store /home/iscsi/lun_mssql.img
   allow-in-use yes
   /backing-store
 /target
 
 I have removed the services, deleted everything related in /etc and
 /var/lib, reinstalled, and recreated the files from scratch.  The old
 information still comes up.  There must be a binary database somewhere
 referencing the target.

The iscsi initiator (iscsiadm) stores it in /var/lib/iscsi. When you run

iscsiadm -m node -P 1

you see what is in /var/lib/iscsi. When you run the discovery command
you see what we just got back from the target when you ran the discovery
command.

The iscsi target (tgtadm) just uses the /etc/tgt/tagrets.conf file. When
you run tgtadm you see what tgtd is currently using. So if tgtadm is
returning the new targets then it should be returning them to iscsiadm
and iscsiadm should be printing them out.

When you change the target info in /etc/tgt/targets.conf you restarted
tgtd right?



 
 On Mon, Oct 29, 2012 at 9:34 AM, Mike Christie micha...@cs.wisc.edu wrote:
 On 10/27/2012 12:00 AM, Paul W. Poteete wrote:

 *nhnfs01 iscsi # iscsiadm -m discovery -t sendtargets -p 10.0.1.60:3260*


 Are you sure 10.0.1.60 is the ip address for the portal on the
 production iscsi target? That command returns what is returned from the
 target. If you take a wireshark/tcpdump trace when you run that command
 do you see the target still returning the old target name?


 The target and initiator are running on the same box right? If you just do

 iscsiadm -m discovery -t sendtargets -p localhost

 do you see the updated target names?


 10.0.1.60:3260,1iqn.2012-10.com.example:nhnfs00.target01


 *nhnfs01 iscsi # tgtadm --lld iscsi --op show --mode target*
 Target 1: iqn.1997-03.com.example:nhnfs00-exchange
 System information:
 Driver: iscsi
 State: ready
 I_T nexus information:
 LUN information:
 LUN: 0
 Type: controller
 SCSI ID: IET 0001
 SCSI SN: beaf10
 Size: 0 MB, Block size: 1
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: null
 Backing store path: None
 Backing store flags:
 LUN: 1
 Type: disk
 SCSI ID: IET 00010001
 SCSI SN: beaf11
 Size: 322123 MB, Block size: 512
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: rdwr
 Backing store path: /home/iscsi/lun_exchange.img
 Backing store flags:
 Account information:
 ACL information:
 ALL
 Target 2: iqn.1997-03.com.example:nhnfs00-mssql
 System information:
 Driver: iscsi
 State: ready
 I_T nexus information:
 LUN information:
 LUN: 0
 Type: controller
 SCSI ID: IET 0002
 SCSI SN: beaf20
 Size: 0 MB, Block size: 1
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: null
 Backing store path: None
 Backing store flags:
 LUN: 1
 Type: disk
 SCSI ID: IET 00020001
 SCSI SN: beaf21
 Size: 322123 MB, Block size: 512
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 

Re: Cannot change the original Target Information

2012-10-30 Thread Paul W. Poteete
Aloha again!

Yes.  Even rebooted the server (which is a pain because it is hosting about 10 
virtual machines over NFS)

I'm stumped.

On Oct 29, 2012, at 8:26 PM, Mike Christie wrote:

 On 10/29/2012 11:15 PM, Paul W. Poteete wrote:
 Thank you Mike!  I really appreciate your help.
 
 nhnfs01 ~ # iscsiadm -m discovery -t sendtargets -p localhost
 [::1]:3260,1 iqn.2012-10.com.nahoku:nhnfs00.target01
 
 Process:
 
 #Install Centos 6.3 (64bit)
 yum install scsi-target-utils iscsi-initiator-utils
 mkdir /home/iscsi
 time dd if=/dev/zero of=/home/iscsi/lun_exchange.img bs=1G count=300 
 time dd if=/dev/zero of=/home/iscsi/lun_mssql.img bs=1G count=300 
 #edit /etc/tgt/targets.conf
 for svc in iscsi iscsid tgtd; do /etc/init.d/$svc restart; done
 
 I created a quick test configuration to see if it would work, and
 presto, it worked fine.  When I changed the config, I still only have
 a single Target.  Is it possible to have two target servers when using
 dd images?
 
 Original test config: (worked great)
 --
 # Default Driver
 default-driver iscsi
 
 # Initiator and Target Configuration
 
 target iqn.2012-10.com.nahoku:nhnfs00.target01
  backing-store /home/iscsi/lun_mssql.img
 /target
 
 
 Changed config: (initiators still see the target listed above)
 --
 nhnfs01 ~ # cat /etc/tgt/targets.conf
 # Driver
 default-driver iscsi
 
 # Targets
 target iqn.1997-03.com.example:nhnfs00-exchange
  backing-store /home/iscsi/lun_exchange.img
  allow-in-use yes
  /backing-store
 /target
 target iqn.1997-03.com.example:nhnfs00-mssql
  backing-store /home/iscsi/lun_mssql.img
  allow-in-use yes
  /backing-store
 /target
 
 I have removed the services, deleted everything related in /etc and
 /var/lib, reinstalled, and recreated the files from scratch.  The old
 information still comes up.  There must be a binary database somewhere
 referencing the target.
 
 The iscsi initiator (iscsiadm) stores it in /var/lib/iscsi. When you run
 
 iscsiadm -m node -P 1
 
 you see what is in /var/lib/iscsi. When you run the discovery command
 you see what we just got back from the target when you ran the discovery
 command.
 
 The iscsi target (tgtadm) just uses the /etc/tgt/tagrets.conf file. When
 you run tgtadm you see what tgtd is currently using. So if tgtadm is
 returning the new targets then it should be returning them to iscsiadm
 and iscsiadm should be printing them out.
 
 When you change the target info in /etc/tgt/targets.conf you restarted
 tgtd right?
 
 
 
 
 On Mon, Oct 29, 2012 at 9:34 AM, Mike Christie micha...@cs.wisc.edu wrote:
 On 10/27/2012 12:00 AM, Paul W. Poteete wrote:
 
 *nhnfs01 iscsi # iscsiadm -m discovery -t sendtargets -p 10.0.1.60:3260*
 
 
 Are you sure 10.0.1.60 is the ip address for the portal on the
 production iscsi target? That command returns what is returned from the
 target. If you take a wireshark/tcpdump trace when you run that command
 do you see the target still returning the old target name?
 
 
 The target and initiator are running on the same box right? If you just do
 
 iscsiadm -m discovery -t sendtargets -p localhost
 
 do you see the updated target names?
 
 
 10.0.1.60:3260,1iqn.2012-10.com.example:nhnfs00.target01
 
 
 *nhnfs01 iscsi # tgtadm --lld iscsi --op show --mode target*
 Target 1: iqn.1997-03.com.example:nhnfs00-exchange
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 0001
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 322123 MB, Block size: 512
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: rdwr
Backing store path: /home/iscsi/lun_exchange.img
Backing store flags:
Account information:
ACL information:
ALL
 Target 2: iqn.1997-03.com.example:nhnfs00-mssql
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 0002
SCSI SN: beaf20
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00020001
SCSI SN: beaf21
Size: 

Re: Cannot change the original Target Information

2012-10-30 Thread Mike Christie
run:

nhnfs01 ~ # iscsiadm -m discovery -t sendtargets -p localhost -d 8

and send all the output.



On 10/30/2012 02:29 AM, Paul W. Poteete wrote:
 Aloha again!
 
 Yes.  Even rebooted the server (which is a pain because it is hosting about 
 10 virtual machines over NFS)
 
 I'm stumped.
 
 On Oct 29, 2012, at 8:26 PM, Mike Christie wrote:
 
 On 10/29/2012 11:15 PM, Paul W. Poteete wrote:
 Thank you Mike!  I really appreciate your help.

 nhnfs01 ~ # iscsiadm -m discovery -t sendtargets -p localhost
 [::1]:3260,1 iqn.2012-10.com.nahoku:nhnfs00.target01

 Process:
 
 #Install Centos 6.3 (64bit)
 yum install scsi-target-utils iscsi-initiator-utils
 mkdir /home/iscsi
 time dd if=/dev/zero of=/home/iscsi/lun_exchange.img bs=1G count=300 
 time dd if=/dev/zero of=/home/iscsi/lun_mssql.img bs=1G count=300 
 #edit /etc/tgt/targets.conf
 for svc in iscsi iscsid tgtd; do /etc/init.d/$svc restart; done

 I created a quick test configuration to see if it would work, and
 presto, it worked fine.  When I changed the config, I still only have
 a single Target.  Is it possible to have two target servers when using
 dd images?

 Original test config: (worked great)
 --
 # Default Driver
 default-driver iscsi

 # Initiator and Target Configuration

 target iqn.2012-10.com.nahoku:nhnfs00.target01
 backing-store /home/iscsi/lun_mssql.img
 /target


 Changed config: (initiators still see the target listed above)
 --
 nhnfs01 ~ # cat /etc/tgt/targets.conf
 # Driver
 default-driver iscsi

 # Targets
 target iqn.1997-03.com.example:nhnfs00-exchange
 backing-store /home/iscsi/lun_exchange.img
 allow-in-use yes
 /backing-store
 /target
 target iqn.1997-03.com.example:nhnfs00-mssql
 backing-store /home/iscsi/lun_mssql.img
 allow-in-use yes
 /backing-store
 /target

 I have removed the services, deleted everything related in /etc and
 /var/lib, reinstalled, and recreated the files from scratch.  The old
 information still comes up.  There must be a binary database somewhere
 referencing the target.

 The iscsi initiator (iscsiadm) stores it in /var/lib/iscsi. When you run

 iscsiadm -m node -P 1

 you see what is in /var/lib/iscsi. When you run the discovery command
 you see what we just got back from the target when you ran the discovery
 command.

 The iscsi target (tgtadm) just uses the /etc/tgt/tagrets.conf file. When
 you run tgtadm you see what tgtd is currently using. So if tgtadm is
 returning the new targets then it should be returning them to iscsiadm
 and iscsiadm should be printing them out.

 When you change the target info in /etc/tgt/targets.conf you restarted
 tgtd right?




 On Mon, Oct 29, 2012 at 9:34 AM, Mike Christie micha...@cs.wisc.edu wrote:
 On 10/27/2012 12:00 AM, Paul W. Poteete wrote:

 *nhnfs01 iscsi # iscsiadm -m discovery -t sendtargets -p 10.0.1.60:3260*


 Are you sure 10.0.1.60 is the ip address for the portal on the
 production iscsi target? That command returns what is returned from the
 target. If you take a wireshark/tcpdump trace when you run that command
 do you see the target still returning the old target name?


 The target and initiator are running on the same box right? If you just do

 iscsiadm -m discovery -t sendtargets -p localhost

 do you see the updated target names?


 10.0.1.60:3260,1iqn.2012-10.com.example:nhnfs00.target01


 *nhnfs01 iscsi # tgtadm --lld iscsi --op show --mode target*
 Target 1: iqn.1997-03.com.example:nhnfs00-exchange
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 0001
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 322123 MB, Block size: 512
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: rdwr
Backing store path: /home/iscsi/lun_exchange.img
Backing store flags:
Account information:
ACL information:
ALL
 Target 2: iqn.1997-03.com.example:nhnfs00-mssql
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 0002
SCSI SN: beaf20
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: null
Backing store path: None
Backing store flags:

Re: Cannot change the original Target Information

2012-10-30 Thread Mike Christie
Could you also send me the /var/log/messages for when tgtd starts up and
when you run the command below?


On 10/30/2012 02:00 PM, Mike Christie wrote:
 run:
 
 nhnfs01 ~ # iscsiadm -m discovery -t sendtargets -p localhost -d 8
 
 and send all the output.
 
 
 
 On 10/30/2012 02:29 AM, Paul W. Poteete wrote:
 Aloha again!

 Yes.  Even rebooted the server (which is a pain because it is hosting about 
 10 virtual machines over NFS)

 I'm stumped.

 On Oct 29, 2012, at 8:26 PM, Mike Christie wrote:

 On 10/29/2012 11:15 PM, Paul W. Poteete wrote:
 Thank you Mike!  I really appreciate your help.

 nhnfs01 ~ # iscsiadm -m discovery -t sendtargets -p localhost
 [::1]:3260,1 iqn.2012-10.com.nahoku:nhnfs00.target01

 Process:
 
 #Install Centos 6.3 (64bit)
 yum install scsi-target-utils iscsi-initiator-utils
 mkdir /home/iscsi
 time dd if=/dev/zero of=/home/iscsi/lun_exchange.img bs=1G count=300 
 time dd if=/dev/zero of=/home/iscsi/lun_mssql.img bs=1G count=300 
 #edit /etc/tgt/targets.conf
 for svc in iscsi iscsid tgtd; do /etc/init.d/$svc restart; done

 I created a quick test configuration to see if it would work, and
 presto, it worked fine.  When I changed the config, I still only have
 a single Target.  Is it possible to have two target servers when using
 dd images?

 Original test config: (worked great)
 --
 # Default Driver
 default-driver iscsi

 # Initiator and Target Configuration

 target iqn.2012-10.com.nahoku:nhnfs00.target01
backing-store /home/iscsi/lun_mssql.img
 /target


 Changed config: (initiators still see the target listed above)
 --
 nhnfs01 ~ # cat /etc/tgt/targets.conf
 # Driver
 default-driver iscsi

 # Targets
 target iqn.1997-03.com.example:nhnfs00-exchange
backing-store /home/iscsi/lun_exchange.img
allow-in-use yes
/backing-store
 /target
 target iqn.1997-03.com.example:nhnfs00-mssql
backing-store /home/iscsi/lun_mssql.img
allow-in-use yes
/backing-store
 /target

 I have removed the services, deleted everything related in /etc and
 /var/lib, reinstalled, and recreated the files from scratch.  The old
 information still comes up.  There must be a binary database somewhere
 referencing the target.

 The iscsi initiator (iscsiadm) stores it in /var/lib/iscsi. When you run

 iscsiadm -m node -P 1

 you see what is in /var/lib/iscsi. When you run the discovery command
 you see what we just got back from the target when you ran the discovery
 command.

 The iscsi target (tgtadm) just uses the /etc/tgt/tagrets.conf file. When
 you run tgtadm you see what tgtd is currently using. So if tgtadm is
 returning the new targets then it should be returning them to iscsiadm
 and iscsiadm should be printing them out.

 When you change the target info in /etc/tgt/targets.conf you restarted
 tgtd right?




 On Mon, Oct 29, 2012 at 9:34 AM, Mike Christie micha...@cs.wisc.edu 
 wrote:
 On 10/27/2012 12:00 AM, Paul W. Poteete wrote:

 *nhnfs01 iscsi # iscsiadm -m discovery -t sendtargets -p 10.0.1.60:3260*


 Are you sure 10.0.1.60 is the ip address for the portal on the
 production iscsi target? That command returns what is returned from the
 target. If you take a wireshark/tcpdump trace when you run that command
 do you see the target still returning the old target name?


 The target and initiator are running on the same box right? If you just do

 iscsiadm -m discovery -t sendtargets -p localhost

 do you see the updated target names?


 10.0.1.60:3260,1iqn.2012-10.com.example:nhnfs00.target01


 *nhnfs01 iscsi # tgtadm --lld iscsi --op show --mode target*
 Target 1: iqn.1997-03.com.example:nhnfs00-exchange
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 0001
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 322123 MB, Block size: 512
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
Backing store type: rdwr
Backing store path: /home/iscsi/lun_exchange.img
Backing store flags:
Account information:
ACL information:
ALL
 Target 2: iqn.1997-03.com.example:nhnfs00-mssql
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 0002
SCSI SN: beaf20
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No

Re: Cannot change the original Target Information

2012-10-29 Thread Mike Christie
On 10/27/2012 12:00 AM, Paul W. Poteete wrote:
 
 *nhnfs01 iscsi # iscsiadm -m discovery -t sendtargets -p 10.0.1.60:3260*


Are you sure 10.0.1.60 is the ip address for the portal on the
production iscsi target? That command returns what is returned from the
target. If you take a wireshark/tcpdump trace when you run that command
do you see the target still returning the old target name?


The target and initiator are running on the same box right? If you just do

iscsiadm -m discovery -t sendtargets -p localhost

do you see the updated target names?


 10.0.1.60:3260,1iqn.2012-10.com.example:nhnfs00.target01
 
 
 *nhnfs01 iscsi # tgtadm --lld iscsi --op show --mode target*
 Target 1: iqn.1997-03.com.example:nhnfs00-exchange
 System information:
 Driver: iscsi
 State: ready
 I_T nexus information:
 LUN information:
 LUN: 0
 Type: controller
 SCSI ID: IET 0001
 SCSI SN: beaf10
 Size: 0 MB, Block size: 1
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: null
 Backing store path: None
 Backing store flags: 
 LUN: 1
 Type: disk
 SCSI ID: IET 00010001
 SCSI SN: beaf11
 Size: 322123 MB, Block size: 512
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: rdwr
 Backing store path: /home/iscsi/lun_exchange.img
 Backing store flags: 
 Account information:
 ACL information:
 ALL
 Target 2: iqn.1997-03.com.example:nhnfs00-mssql
 System information:
 Driver: iscsi
 State: ready
 I_T nexus information:
 LUN information:
 LUN: 0
 Type: controller
 SCSI ID: IET 0002
 SCSI SN: beaf20
 Size: 0 MB, Block size: 1
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: null
 Backing store path: None
 Backing store flags: 
 LUN: 1
 Type: disk
 SCSI ID: IET 00020001
 SCSI SN: beaf21
 Size: 322123 MB, Block size: 512
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: rdwr
 Backing store path: /home/iscsi/lun_mssql.img
 Backing store flags: 
 Account information:
 ACL information:
 ALL
 
 -- 
 You received this message because you are subscribed to the Google
 Groups open-iscsi group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/open-iscsi/-/KxmOYcWEyFIJ.
 To post to this group, send email to open-iscsi@googlegroups.com.
 To unsubscribe from this group, send email to
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/open-iscsi?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: Cannot change the original Target Information

2012-10-29 Thread Paul W. Poteete
Thank you Mike!  I really appreciate your help.

nhnfs01 ~ # iscsiadm -m discovery -t sendtargets -p localhost
[::1]:3260,1 iqn.2012-10.com.nahoku:nhnfs00.target01

Process:

#Install Centos 6.3 (64bit)
yum install scsi-target-utils iscsi-initiator-utils
mkdir /home/iscsi
time dd if=/dev/zero of=/home/iscsi/lun_exchange.img bs=1G count=300 
time dd if=/dev/zero of=/home/iscsi/lun_mssql.img bs=1G count=300 
#edit /etc/tgt/targets.conf
for svc in iscsi iscsid tgtd; do /etc/init.d/$svc restart; done

I created a quick test configuration to see if it would work, and
presto, it worked fine.  When I changed the config, I still only have
a single Target.  Is it possible to have two target servers when using
dd images?

Original test config: (worked great)
--
# Default Driver
default-driver iscsi

# Initiator and Target Configuration

target iqn.2012-10.com.nahoku:nhnfs00.target01
backing-store /home/iscsi/lun_mssql.img
/target


Changed config: (initiators still see the target listed above)
--
nhnfs01 ~ # cat /etc/tgt/targets.conf
# Driver
default-driver iscsi

# Targets
target iqn.1997-03.com.example:nhnfs00-exchange
backing-store /home/iscsi/lun_exchange.img
allow-in-use yes
/backing-store
/target
target iqn.1997-03.com.example:nhnfs00-mssql
backing-store /home/iscsi/lun_mssql.img
allow-in-use yes
/backing-store
/target

I have removed the services, deleted everything related in /etc and
/var/lib, reinstalled, and recreated the files from scratch.  The old
information still comes up.  There must be a binary database somewhere
referencing the target.

On Mon, Oct 29, 2012 at 9:34 AM, Mike Christie micha...@cs.wisc.edu wrote:
 On 10/27/2012 12:00 AM, Paul W. Poteete wrote:

 *nhnfs01 iscsi # iscsiadm -m discovery -t sendtargets -p 10.0.1.60:3260*


 Are you sure 10.0.1.60 is the ip address for the portal on the
 production iscsi target? That command returns what is returned from the
 target. If you take a wireshark/tcpdump trace when you run that command
 do you see the target still returning the old target name?


 The target and initiator are running on the same box right? If you just do

 iscsiadm -m discovery -t sendtargets -p localhost

 do you see the updated target names?


 10.0.1.60:3260,1iqn.2012-10.com.example:nhnfs00.target01


 *nhnfs01 iscsi # tgtadm --lld iscsi --op show --mode target*
 Target 1: iqn.1997-03.com.example:nhnfs00-exchange
 System information:
 Driver: iscsi
 State: ready
 I_T nexus information:
 LUN information:
 LUN: 0
 Type: controller
 SCSI ID: IET 0001
 SCSI SN: beaf10
 Size: 0 MB, Block size: 1
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: null
 Backing store path: None
 Backing store flags:
 LUN: 1
 Type: disk
 SCSI ID: IET 00010001
 SCSI SN: beaf11
 Size: 322123 MB, Block size: 512
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: rdwr
 Backing store path: /home/iscsi/lun_exchange.img
 Backing store flags:
 Account information:
 ACL information:
 ALL
 Target 2: iqn.1997-03.com.example:nhnfs00-mssql
 System information:
 Driver: iscsi
 State: ready
 I_T nexus information:
 LUN information:
 LUN: 0
 Type: controller
 SCSI ID: IET 0002
 SCSI SN: beaf20
 Size: 0 MB, Block size: 1
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: null
 Backing store path: None
 Backing store flags:
 LUN: 1
 Type: disk
 SCSI ID: IET 00020001
 SCSI SN: beaf21
 Size: 322123 MB, Block size: 512
 Online: Yes
 Removable media: No
 Prevent removal: No
 Readonly: No
 Backing store type: rdwr
 Backing store path: /home/iscsi/lun_mssql.img
 Backing store flags:
 Account information:
 ACL information:
 ALL

 --
 You received this message because you are subscribed to the Google
 Groups open-iscsi group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/open-iscsi/-/KxmOYcWEyFIJ.
 To post to this group, send email to open-iscsi@googlegroups.com.
 To unsubscribe from this group, send email to
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/open-iscsi?hl=en.


-- 
You received this message because you are subscribed