Hello all..
 I'm making some tests with iozone running on a Linux (initiator), writting on 
a solaris target (ZVOL). I think there is a BUG in Linux initiator software 
(open-iscsi), but i just want your opinion, to see if the target can be the 
problem. Seems to me like a corruption in the filesystem metadata (client is 
not syncing writes ?). The REISER filesystem seems to be more robust, and can 
survive the fails (i'm unmounting the FS between tests).
 Trying to use the XFS filesystem, in the middle of the tests i got:
...
sd 9:0:0:0: rejecting I/O to offline device
sd 9:0:0:0: rejecting I/O to offline device
sd 9:0:0:0: rejecting I/O to offline device
sd 9:0:0:0: rejecting I/O to offline device
sd 9:0:0:0: rejecting I/O to offline device
sd 9:0:0:0: rejecting I/O to offline device
sd 9:0:0:0: rejecting I/O to offline device
sd 9:0:0:0: rejecting I/O to offline device
sd 9:0:0:0: rejecting I/O to offline device
xfs_force_shutdown(sda1,0x1) called from line 338 of file fs/xfs/xfs_rw.c.  
Return address = 0xc026e66e
Filesystem "sda1": I/O Error Detected.  Shutting down filesystem: sda1
Please umount the filesystem, and rectify the problem(s)
xfs_force_shutdown(sda1,0x1) called from line 338 of file fs/xfs/xfs_rw.c.  
Return address = 0xc026e66e
...

 I did try many times with no luck... so i did try with the EXT3 filesystem 
(maybe a XFS bug), and the same problem (i do not have the EXT3 error, sorry). 
And after the error, the Linux can't mount the filesystem anymore, because the 
device (/dev/sda) is lost. After that i need to recreae the filesystem... Now 
i'm running the tests with REISER, and seems to be working, but with the log 
messages:

...
ReiserFS: sda1: journal-1037: journal_read_transaction, offset 120259087495, 
len 437 mount_id -201419776
ReiserFS: sda1: journal-1039: journal_read_trans skipping because 3207 is too 
old
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 474
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 3235, 
last_flushed_trans_id 6639
ReiserFS: sda1: journal-1206: Starting replay from offset 28518582848675, 
trans_id 0
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 475
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 3253, 
last_flushed_trans_id 6645
ReiserFS: sda1: journal-1206: Starting replay from offset 28544352652469, 
trans_id 0
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 476
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 4507, 
last_flushed_trans_id 6667
ReiserFS: sda1: journal-1206: Starting replay from offset 28638841934235, 
trans_id 0
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 477
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 4744, 
last_flushed_trans_id 6746
ReiserFS: sda1: journal-1206: Starting replay from offset 28978144350856, 
trans_id 0
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 478
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 4762, 
last_flushed_trans_id 6752
ReiserFS: sda1: journal-1206: Starting replay from offset 29003914154650, 
trans_id 0
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 479
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 4841, 
last_flushed_trans_id 6763
ReiserFS: sda1: journal-1006: found valid transaction start offset 4294972137, 
len 6043 id 18
ReiserFS: sda1: journal-1206: Starting replay from offset 29051158794985, 
trans_id 1
ReiserFS: sda1: journal-1037: journal_read_transaction, offset 4294972137, len 
444 mount_id -153332736
ReiserFS: sda1: journal-1039: journal_read_trans skipping because 4841 is too 
old
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 480
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 6052, 
last_flushed_trans_id 6781
ReiserFS: sda1: journal-1206: Starting replay from offset 29128468207524, 
trans_id 0
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 481
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 6280, 
last_flushed_trans_id 6857
ReiserFS: sda1: journal-1206: Starting replay from offset 29454885722248, 
trans_id 0
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 482
ReiserFS: sda1: Using r5 hash to sort names
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: sda1: warning: - it is slow mode for debugging.
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, 
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: journal-1153: found in header: first_unflushed_offset 6298, 
last_flushed_trans_id 6863
ReiserFS: sda1: journal-1206: Starting replay from offset 29480655526042, 
trans_id 0
ReiserFS: sda1: journal-1299: Setting newest_mount_id to 483
ReiserFS: sda1: Using r5 hash to sort names
...

 I think there is no "mature" Linux initiator software yet, open-iscsi is not 
stable yet. But what dow you think about it? Is a initiator bug really, can be 
a target problem? Do you use which initiator implementation on Linux clients? 

 Thanks for your time!

 Leal.
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to