Oh yeah, what you really want though is to use dm-multipath if you are
going to hit long down periods. With that you can also use the
queue_if_no_path feature with the multipath-tools.


On 04/04/2013 02:15 PM, Mike Christie wrote:
> On 04/04/2013 05:11 AM, parveen kumar wrote:
>> Apr  4 13:53:16 master kernel:  session1: iscsi: session recovery timed
>> out after 120 secs
> 
> You will want to update from Centos 5.3 to 5.7 to get some bug fixes.
> 
> For the 1 hour question, you want to set the
> replacement_timeout/recovery_timeout higher. It is set to 120 secs by
> default. There  is more info the
> /usr/share/doc/iscsi-initiator-utils*/REAMDE.
> 
> 
> #
> # See the iSCSI REAME's Advanced Configuration section for tips
> # on setting timeouts when using multipath or doing root over iSCSI.
> #
> # To specify the length of time to wait for session re-establishment
> # before failing SCSI commands back to the application when running
> # the Linux SCSI Layer error handler, edit the line.
> # The value is in seconds and the default is 120 seconds.
> # Special values:
> # - If the value is 0, IO will be failed immediately.
> # - If the value is less than 0, IO will remain queued until the session
> # is logged back in, or until the user runs the logout command.
> node.session.timeo.replacement_timeout = 120
> 

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to