[OpenIndiana-discuss] FC Target Offline when use unmap to release pool space in OI 151a.

文军 戴 yoursdai at hotmail.com
Mon Jan 7 11:57:26 UTC 2013


Hello, I use openindiana 151a as my storage,and I found UnMap support in it, and I used it im my system.More description, I use Qlogic FC HBA as target. My client server is CentOS ,Linux localhost.localdomain 3.6.11 #1 SMP Sat Jan 5 14:00:14 CST 2013 x86_64 x86_64 x86_64 GNU/Linux, and use XFS as my filesystem. When I delete file from xfs system,and use sync to let unmap to execut, I encount a problem. My FC target is offline. And I must to cut down power to restart it. Does anyone know what happen? And I test 151a5, It is OK. qla2xxx [0000:04:00.0]-801c:0: Abort command issued nexus=0:0:0 --  1 2002.
qla2xxx [0000:04:00.0]-801c:0: Abort command issued nexus=0:0:0 --  1 2002.
sd 0:0:0:0: [sdc] Unhandled error code
sd 0:0:0:0: [sdc]  
Result: hostbyte=DID_TRANSPORT_DISRUPTED driverbyte=DRIVER_OK
sd 0:0:0:0: [sdc] CDB: 
Unmap/Read sub-channel: 42 00 00 00 00 00 00 00 18 00
end_request: I/O error, dev sdc, sector 360710199
sd 0:0:0:0: [sdc] Unhandled error code
sd 0:0:0:0: [sdc]  
Result: hostbyte=DID_TRANSPORT_DISRUPTED driverbyte=DRIVER_OK
sd 0:0:0:0: [sdc] CDB: 
Unmap/Read sub-channel: 42 00 00 00 00 00 00 00 18 00
end_request: I/O error, dev sdc, sector 352321592
XFS (sdc): discard failed for extent [0x4718599,1998848], error 5
 rport-0:0-1: blocked FC remote port time out: removing target and saving binding
sd 0:0:0:0: rejecting I/O to offline device
XFS (sdc): metadata I/O error: block 0x0 ("xfs_buf_iodone_callbacks") error 5 numblks 1
XFS (sdc): xfs_do_force_shutdown(0x1) called from line 1160 of file fs/xfs/xfs_buf.c.  Return address = 0xffffffffa043ee9a
XFS (sdc): I/O Error Detected. Shutting down filesystem
XFS (sdc): Please umount the filesystem and rectify the problem(s)
XFS (sdc): xfs_log_force: error 5 returned.
XFS (sdc): xfs_do_force_shutdown(0x1) called from line 1160 of file fs/xfs/xfs_buf.c.  Return address = 0xffffffffa043ee9a
sd 0:0:0:0: [sdc] Synchronizing SCSI cache
sd 0:0:0:0: [sdc]  
Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
sd 0:0:0:1: [sdd] Synchronizing SCSI cache
sd 0:0:0:1: [sdd]  
Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
XFS (sdc): xfs_log_force: error 5 returned.
XFS (sdc): xfs_do_force_shutdown(0x1) called from line 1160 of file fs/xfs/xfs_buf.c.  Return address = 0xffffffffa043ee9a
XFS (sdc): xfs_log_force: error 5 returned.
XFS (sdc): xfs_do_force_shutdown(0x1) called from line 1160 of file fs/xfs/xfs_buf.c.  Return address = 0xffffffffa043ee9a
XFS (sdc): xfs_log_force: error 5 returned.
XFS (sdc): xfs_do_force_shutdown(0x1) called from line 1160 of file fs/xfs/xfs_buf.c.  Return address = 0xffffffffa043ee9a
XFS (sdc): xfs_log_force: error 5 returned.
XFS (sdc): xfs_do_force_shutdown(0x1) called from line 1160 of file fs/xfs/xfs_buf.c.  Return address = 0xffffffffa043ee9a
 		 	   		  


More information about the OpenIndiana-discuss mailing list