Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2017 19:20:01 +0200
From:      Ben RUBSON <ben.rubson@gmail.com>
To:        Freebsd fs <freebsd-fs@freebsd.org>
Subject:   Re: ZFS stalled after some mirror disks were lost
Message-ID:  <84A3920F-9143-40E9-A91D-13E7B7FB733E@gmail.com>
In-Reply-To: <13AF09F5-3ED9-4C81-A5E2-94BA770E991B@gmail.com>
References:  <4A0E9EB8-57EA-4E76-9D7E-3E344B2037D2@gmail.com> <DDCFAC80-2D72-4364-85B2-7F4D7D70BCEE@gmail.com> <82632887-E9D4-42D0-AC05-3764ABAC6B86@gmail.com> <20171007150848.7d50cad4@fabiankeil.de> <DFD0528D-549E-44C9-A093-D4A8837CB499@gmail.com> <6d1c80df-7e9f-c891-31ae-74dad3f67985@internetx.com> <13AF09F5-3ED9-4C81-A5E2-94BA770E991B@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Oct 2017 18:58, Ben RUBSON wrote:

> The issue only happens when I disconnect iSCSI drives, it does not occurs  
> suddenly by itself.
> So I would say the issue is on FreeBSD side, not network hardware :)
>
> 2 distinct behaviours/issues :
> - 1 : when I disconnect iSCSI drives from the server running the pool  
> (iscsictl -Ra), some iSCSI drives remain on the system, leaving ZFS  
> stalled ;
> - 2 : when I disconnect iSCSI drives from the target (shut NIC down /  
> shutdown ctld), server running the pool sometimes panics (traces in my  
> previous mail, 06/10).
>

> (...)
>
> Andriy, who took many debug traces from my system, managed to reproduce  
> the first issue locally, using a 3-way ZFS mirror with one local disk  
> plus two iSCSI disks.
> Sounds like there is a deadlock issue on iSCSI initiator side.

So, Andriy proposed a patch which solves this first issue :
https://reviews.freebsd.org/D12652

> Regarding the second issue, I'm not able to reproduce it if I don't use  
> geom-labels.
> There may then be an issue on geom-label side (which could then also  
> affect fully-local ZFS pools using geom-labels).

and another one for the second issue :
https://reviews.freebsd.org/D12809

Many thanks to the list, to Andriy for his nice & impressive work,  
Alexander & Edward for their reviews.

Ben




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84A3920F-9143-40E9-A91D-13E7B7FB733E>