From owner-freebsd-stable@FreeBSD.ORG Thu Dec 18 19:30:52 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F1F2DF64 for ; Thu, 18 Dec 2014 19:30:52 +0000 (UTC) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "people.fsn.hu", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A6F1145A for ; Thu, 18 Dec 2014 19:30:51 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id 05E4F156B2FF; Thu, 18 Dec 2014 20:30:47 +0100 (CET) X-Bogosity: Ham, tests=bogofilter, spamicity=0.074367, version=1.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 10.2453] X-CRM114-CacheID: sfid-20141218_20304_B8A09715 X-CRM114-Status: Good ( pR: 10.2453 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Thu Dec 18 20:30:47 2014 X-DSPAM-Confidence: 0.9957 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 54932b6784632623875237 X-DSPAM-Factors: 27, From*"Nagy, Attila" , 0.00010, >+On, 0.00043, wrote+>>, 0.00103, wrote+>, 0.00180, >>+I, 0.00264, Nagy+Attila, 0.00279, >+I, 0.00308, disks, 0.00335, zfs, 0.00386, zfs, 0.00386, queue, 0.00386, Received*(japan.t, 0.00418, Received*online.co.hu+[195.228.243.99]), 0.00456, Received*[195.228.243.99]), 0.00456, Received*online.co.hu, 0.00456, Received*(japan.t+online.co.hu, 0.00456, IO, 0.00501, >>+>>, 0.00516, >>+>>, 0.00516, sysctl, 0.00557, References*fsn.hu>, 0.00557, the+default, 0.00557, wrote, 0.00680, wrote, 0.00680, the+queue, 0.00833, here?, 0.00997, X-Spambayes-Classification: ham; 0.00 Received: from [IPv6:::1] (japan.t-online.co.hu [195.228.243.99]) by people.fsn.hu (Postfix) with ESMTPSA id 5C0EA156B2E8; Thu, 18 Dec 2014 20:30:44 +0100 (CET) Message-ID: <54932B63.5030207@fsn.hu> Date: Thu, 18 Dec 2014 20:30:43 +0100 From: "Nagy, Attila" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Adam McDougall , freebsd-stable@freebsd.org Subject: Re: geom_multipath and zfs doesn't work References: <5493090D.2030406@fsn.hu> <549312F6.1070007@egr.msu.edu> In-Reply-To: <549312F6.1070007@egr.msu.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 19:30:53 -0000 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!