Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2017 21:29:56 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Adam Vande More <amvandemore@gmail.com>, Ben RUBSON <ben.rubson@gmail.com>
Cc:        Freebsd fs <freebsd-fs@freebsd.org>
Subject:   Re: ZFS stalled after some mirror disks were lost
Message-ID:  <59D293B4.2020702@quip.cz>
In-Reply-To: <CA%2BtpaK2=du8Ghrz9N4sfBk2T4tAC9NEdwOoHV3CQz5DOKcMogw@mail.gmail.com>
References:  <4A0E9EB8-57EA-4E76-9D7E-3E344B2037D2@gmail.com> <CA%2BtpaK2=du8Ghrz9N4sfBk2T4tAC9NEdwOoHV3CQz5DOKcMogw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Vande More wrote on 10/02/2017 20:44:
> On Mon, Oct 2, 2017 at 1:12 PM, Ben RUBSON <ben.rubson@gmail.com> wrote:
>
>> Hi,
>>
>> On a FreeBSD 11 server, the following online/healthy zpool :
>>
>> home
>>    mirror-0
>>      label/local1
>>      label/local2
>>      label/iscsi1
>>      label/iscsi2
>>    mirror-1
>>      label/local3
>>      label/local4
>>      label/iscsi3
>>      label/iscsi4
>> cache
>>    label/local5
>>    label/local6
>>
>> A sustained read throughput of 180 MB/s, 45 MB/s on each iscsi disk
>> according to "zpool iostat", nothing on local disks (strange but I
>> noticed that IOs always prefer iscsi disks to local disks).
>> No write IOs.
>>
>> Let's disconnect all iSCSI disks :
>> iscsictl -Ra
>>
>> Expected behavior :
>> IO activity flawlessly continue on local disks.
>>
>
> Perhaps I'm misunderstanding your setup, but my expected behavior would be
> exactly what you see.  I think you'd need something more along the lines of:
>
> home
>    mirror
>      label/local1
>      label/iscsi1
>    mirror
>      label/local2
>      label/iscsi2
> etc...

The OP has four way mirror. It is supposed to work even if 3 devices are 
missing. Just 1 device should be enough.

Miroslav Lachman



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