Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jan 2009 13:40:17 +1100
From:      Andrew Snow <andrew@modulus.org>
To:        Angelo <nglrossi@gmail.com>, freebsd-scsi@freebsd.org
Subject:   Re: iscsi client hangs performing I/O on a dead target
Message-ID:  <49656791.1000809@modulus.org>
In-Reply-To: <6c1e076a0901070247l7c006efajda8fddee84c337a@mail.gmail.com>
References:  <E1LKUmz-000O18-Kp@kabab.cs.huji.ac.il> <6c1e076a0901070247l7c006efajda8fddee84c337a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> I was expecting that a failure on one of the disks (network down, target
> machine down) would be eventually detected and the raid turned to degraded
> but still usable.
> What happens now to me is that the whole raid device gets unusable for all
> the time the target is down.



If you're using gmirror, you might want to experiment with this setting:

kern.geom.mirror.timeout

Set it to something reasonably low like 10 seconds, and it will ignore 
an iSCSI device that is not responding more rapidly.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49656791.1000809>