Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 20:30:43 +0100
From:      "Nagy, Attila" <bra@fsn.hu>
To:        Adam McDougall <mcdouga9@egr.msu.edu>, freebsd-stable@freebsd.org
Subject:   Re: geom_multipath and zfs doesn't work
Message-ID:  <54932B63.5030207@fsn.hu>
In-Reply-To: <549312F6.1070007@egr.msu.edu>
References:  <5493090D.2030406@fsn.hu> <549312F6.1070007@egr.msu.edu>

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

On 12/18/14 18:46, Adam McDougall wrote:
> On 12/18/2014 12:04, Nagy, Attila wrote:
>> Running stable/10@r273159 on FC disks (through isp) I can't create a zfs
>> pool.
>>
>> gstat shows that there is one uncompleted read IO on multipath/sas0 and
>> the queue length constantly grows on da0:
>> # gstat -b
>> dT: 1.030s  w: 1.000s
>>   L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w %busy Name
>>   124402    146      0      0    0.0      0      0    0.0 100.5  da0
>> I can use these devices finely with dd.
>>
>> What's going on here?
> I have a hunch.  Try sysctl vfs.zfs.vdev.trim_on_init=0 before zpool create?
>
Bingo, that's it. If I disable this, zpool create returns immediately.

BTW, zpool create took 1 hour and 11 minutes with the default value...

Thank you very much for the quick response!



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