HI
I've read
http://www.mail-archive.com/open-iscsi@googlegroups.com/msg02009.html
http://groups.google.com/group/open-iscsi/browse_thread/thread/c1394b8f68e14883/2061b5c105ec7ba8?pli=1

My os is fedora 6 (2.6.18-1.2798.fc6xen)
iscsi initiator : iscsi-initiator-utils-6.2.0.865-0.1.fc6.i386

# service iscsi stop
# iscsid
# iscsiadm -m node
show
xxx.xxx.xxx.88:3260,4 iqn.1986-03.com.hp:storage.msa2312i.0919d81d3a
10.0.0.55:3260,1 iqn.1986-03.com.hp:storage.msa2312i.0919d81d3a
10.0.0.56:3260,3 iqn.1986-03.com.hp:storage.msa2312i.0919d81d3a
xxx.xxx.xxx.89:3260,2 iqn.1986-03.com.hp:storage.msa2312i.0919d81d3a

(The iscsi machine which has two ethernet interfaces ,works on
xxx.xxx.xxx.88)
# iscsiadm -m node -T iqn.1986-03.com.hp:storage.msa2312i.0919d81d3a -
l
show
Login session [iface: default, target: iqn.
1986-03.com.hp:storage.msa2312i.0919d81d3a, portal: 134.208.7.89,3260]
iscsiadm: initiator reported error (4 - encountered connection
failure)
iscsiadm: Could not execute operation on all records. Err 107.

# cat /var/log/messages
show
May  2 17:01:15 ndhuelearn iscsid: iSCSI logger with pid=5291 started!
May  2 17:01:16 ndhuelearn iscsid: transport class version 2.0-685.
iscsid version 2.0-865
May  2 17:01:16 ndhuelearn iscsid: iSCSI daemon with pid=5292 started!
May  2 17:04:18 ndhuelearn iscsid: connect failed (113)

but I can login with
# iscsiadm -m node -T iqn.1986-03.com.hp:storage.msa2312i.0919d81d3a -
p xxx.xxx.xxx.88 -l
show
Login session [iface: default, target: iqn.
1986-03.com.hp:storage.msa2312i.0919d81d3a, portal: xxx.xxx.xxx.
88,3260]

#cat /var/log/messages
show
May  2 17:08:52 ndhuelearn kernel: scsi1 : iSCSI Initiator over TCP/IP
May  2 17:08:52 ndhuelearn kernel:   Vendor: HP        Model:
MSA2312i          Rev: M110
May  2 17:08:52 ndhuelearn kernel:   Type:   Direct-
Access                      ANSI SCSI revision: 05
May  2 17:08:52 ndhuelearn kernel: SCSI device sdb: 3984374976 512-
byte hdwr sectors (2040000 MB)
May  2 17:08:52 ndhuelearn kernel: sdb: Write Protect is off
May  2 17:08:52 ndhuelearn kernel: SCSI device sdb: drive cache: write
back
May  2 17:08:52 ndhuelearn kernel: SCSI device sdb: 3984374976 512-
byte hdwr sectors (2040000 MB)
May  2 17:08:52 ndhuelearn kernel: sdb: Write Protect is off
May  2 17:08:52 ndhuelearn kernel: SCSI device sdb: drive cache: write
back
May  2 17:08:52 ndhuelearn kernel:  sdb: sdb1
May  2 17:08:52 ndhuelearn kernel: sd 1:0:0:0: Attached scsi disk sdb
May  2 17:08:52 ndhuelearn kernel: sd 1:0:0:0: Attached scsi generic
sg0 type 0
May  2 17:08:52 ndhuelearn kernel:   Vendor: HP        Model:
MSA2312i          Rev: M110
May  2 17:08:52 ndhuelearn kernel:   Type:   Direct-
Access                      ANSI SCSI revision: 05
May  2 17:08:52 ndhuelearn kernel: SCSI device sdc: 97656224 512-byte
hdwr sectors (50000 MB)
May  2 17:08:52 ndhuelearn kernel: sdc: Write Protect is off
May  2 17:08:52 ndhuelearn kernel: SCSI device sdc: drive cache: write
back
May  2 17:08:52 ndhuelearn kernel: SCSI device sdc: 97656224 512-byte
hdwr sectors (50000 MB)
May  2 17:08:52 ndhuelearn kernel: sdc: Write Protect is off
May  2 17:08:53 ndhuelearn kernel: SCSI device sdc: drive cache: write
back
May  2 17:08:53 ndhuelearn kernel:  sdc: sdc1 sdc2 sdc3
May  2 17:08:53 ndhuelearn kernel: sd 1:0:0:2: Attached scsi disk sdc
May  2 17:08:53 ndhuelearn kernel: sd 1:0:0:2: Attached scsi generic
sg1 type 0
May  2 17:08:53 ndhuelearn kernel:   Vendor: HP        Model:
MSA2312i          Rev: M110
May  2 17:08:53 ndhuelearn kernel:   Type:   Direct-
Access                      ANSI SCSI revision: 05
May  2 17:08:53 ndhuelearn kernel: SCSI device sdd: 29296832 512-byte
hdwr sectors (15000 MB)
May  2 17:08:53 ndhuelearn kernel: sdd: Write Protect is off
May  2 17:08:53 ndhuelearn udevd-event[5339]: udev_node_symlink:
symlink(../../sdc, /dev/disk/by-path/ip-xxx.xxx.xxx.88:3260-iscsi-iqn.
1986-03.com.hp:storage.msa2312i.0919d81d3a) failed: File exists
May  2 17:08:53 ndhuelearn kernel: SCSI device sdd: drive cache: write
back
May  2 17:08:53 ndhuelearn iscsid: received iferror -22
May  2 17:08:53 ndhuelearn kernel: SCSI device sdd: 29296832 512-byte
hdwr sectors (15000 MB)
May  2 17:08:53 ndhuelearn iscsid: received iferror -22
May  2 17:08:53 ndhuelearn kernel: sdd: Write Protect is off
May  2 17:08:53 ndhuelearn iscsid: received iferror -22
May  2 17:08:53 ndhuelearn iscsid: connection1:0 is operational now
May  2 17:08:53 ndhuelearn kernel: SCSI device sdd: drive cache: write
back
May  2 17:08:53 ndhuelearn kernel:  sdd: sdd1 sdd2
May  2 17:08:53 ndhuelearn kernel: sd 1:0:0:3: Attached scsi disk sdd
May  2 17:08:53 ndhuelearn kernel: sd 1:0:0:3: Attached scsi generic
sg2 type 0

# fdisk -l
show
Disk /dev/sdb: 2039.9 GB, 2039999987712 bytes
255 heads, 63 sectors/track, 248015 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      248015  1992180456   8e  Linux LVM

Disk /dev/sdc: 49.9 GB, 49999986688 bytes
64 heads, 32 sectors/track, 47683 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       20000    20479984   83  Linux
/dev/sdc2           20001       25121     5243904   83  Linux
/dev/sdc3           25122       29890     4883456   83  Linux

Disk /dev/sdd: 14.9 GB, 14999977984 bytes
64 heads, 32 sectors/track, 14305 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1        5121     5243888   8e  Linux LVM
/dev/sdd2            5122        9536     4520960   8e  Linux LVM

# mount -t ext3 /dev/vg_mdldata/lv_mdldata /disk2
# rsync -av /backup /disk2
It occur machine restart!

# cat /var/log/messages
show
May  2 16:48:46 ndhuelearn kernel:  connection0:0: iscsi: detected
conn error (1011)
May  2 16:48:47 ndhuelearn iscsid: Kernel reported iSCSI connection
0:0 error (1011) state (3)
May  2 16:48:47 ndhuelearn iscsid: received iferror -22
May  2 16:48:47 ndhuelearn last message repeated 2 times
May  2 16:48:47 ndhuelearn iscsid: connection0:0 is operational after
recovery (1 attempts)
May  2 16:49:22 ndhuelearn kernel:  connection0:0: iscsi: detected
conn error (1011)
May  2 16:49:23 ndhuelearn iscsid: Kernel reported iSCSI connection
0:0 error (1011) state (3)
May  2 16:49:23 ndhuelearn iscsid: received iferror -22
May  2 16:49:23 ndhuelearn last message repeated 2 times
May  2 16:49:23 ndhuelearn iscsid: connection0:0 is operational after
recovery (1 attempts)
May  2 16:49:58 ndhuelearn kernel:  connection0:0: iscsi: detected
conn error (1011)
May  2 16:49:58 ndhuelearn iscsid: Kernel reported iSCSI connection
0:0 error (1011) state (3)
May  2 16:49:59 ndhuelearn iscsid: received iferror -22
May  2 16:49:59 ndhuelearn last message repeated 2 times
May  2 16:49:59 ndhuelearn iscsid: connection0:0 is operational after
recovery (1 attempts)
May  2 16:50:34 ndhuelearn kernel:  connection0:0: iscsi: detected
conn error (1011)
May  2 16:50:34 ndhuelearn kernel: scsi 0:0:0:0: SCSI error: return
code = 0x00010000
May  2 16:50:34 ndhuelearn kernel: end_request: I/O error, dev sda,
sector 275480695
May  2 16:50:34 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435031
May  2 16:50:34 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:34 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435032
May  2 16:50:34 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:34 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435033
May  2 16:50:34 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:34 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435034
May  2 16:50:34 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:34 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435035
May  2 16:50:34 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:34 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435036
May  2 16:50:34 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:34 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435037
May  2 16:50:34 ndhuelearn iscsid: Kernel reported iSCSI connection
0:0 error (1011) state (4)
May  2 16:50:34 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:34 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435038
May  2 16:50:35 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:35 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435039
May  2 16:50:35 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:35 ndhuelearn kernel: Buffer I/O error on device dm-0,
logical block 34435040
May  2 16:50:35 ndhuelearn kernel: lost page write due to I/O error on
dm-0
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: rejecting I/O to dead
device
May  2 16:50:35 ndhuelearn last message repeated 103 times
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: SCSI error: return
code = 0x00010000
May  2 16:50:35 ndhuelearn kernel: end_request: I/O error, dev sda,
sector 275479671
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: rejecting I/O to dead
device
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: rejecting I/O to dead
device
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: SCSI error: return
code = 0x00010000
May  2 16:50:35 ndhuelearn kernel: end_request: I/O error, dev sda,
sector 275478647
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: rejecting I/O to dead
device
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: SCSI error: return
code = 0x00010000
May  2 16:50:35 ndhuelearn kernel: end_request: I/O error, dev sda,
sector 275477623
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: rejecting I/O to dead
device
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: rejecting I/O to dead
device
May  2 16:50:35 ndhuelearn kernel: scsi 0:0:0:0: SCSI error: return
code = 0x00010000
May  2 16:50:35 ndhuelearn kernel: end_request: I/O error, dev sda,
sector 275476599
.
.
.


How should I do?
Could you help me to reslove the problem please?

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@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.

Reply via email to