From owner-freebsd-stable@FreeBSD.ORG Thu Dec 18 17:12:36 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 10A1BC93 for ; Thu, 18 Dec 2014 17:12:36 +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 B23D51DE3 for ; Thu, 18 Dec 2014 17:12:34 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id DAEEC156AC05; Thu, 18 Dec 2014 18:04:18 +0100 (CET) X-Bogosity: Ham, tests=bogofilter, spamicity=0.125809, version=1.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 7.4558] X-CRM114-CacheID: sfid-20141218_18041_E311E54A X-CRM114-Status: Good ( pR: 7.4558 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Thu Dec 18 18:04:18 2014 X-DSPAM-Confidence: 0.7008 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 549309123191664152027 X-DSPAM-Factors: 27, From*"Nagy, Attila" , 0.00010, disks, 0.00335, 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, the+queue, 0.00833, here?, 0.00997, Subject*zfs, 0.00997, zpool, 0.01000, zpool, 0.01000, Date*18+04, 0.99000, Date*04+13, 0.99000, From*Attila"+; Thu, 18 Dec 2014 18:04:14 +0100 (CET) Message-ID: <5493090D.2030406@fsn.hu> Date: Thu, 18 Dec 2014 18:04:13 +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: FreeBSD Stable Subject: geom_multipath and zfs doesn't work Content-Type: text/plain; charset=utf-8; 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 17:12:36 -0000 Hi, Running stable/10@r273159 on FC disks (through isp) I can't create a zfs pool. What I have is a simple device, accessible on /dev/multipath/sas0, backed by da0 and da4: # gmultipath status Name Status Components multipath/sas0 OPTIMAL da0 (ACTIVE) da4 (READ) When I issue a zpool create data /dev/multipath/sas0 command, zpool starts to eat 100% CPU: # procstat -k 3924 PID TID COMM TDNAME KSTACK 3924 100128 zpool - 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 0 0 0 0 0.0 0 0 0.0 0.0 da1 0 0 0 0 0.0 0 0 0.0 0.0 da2 0 0 0 0 0.0 0 0 0.0 0.0 da3 1 0 0 0 0.0 0 0 0.0 0.0 multipath/sas0 0 0 0 0 0.0 0 0 0.0 0.0 da4 0 0 0 0 0.0 0 0 0.0 0.0 da5 0 0 0 0 0.0 0 0 0.0 0.0 da6 0 0 0 0 0.0 0 0 0.0 0.0 da7 0 0 0 0 0.0 0 0 0.0 0.0 da8 0 0 0 0 0.0 0 0 0.0 0.0 da9 0 0 0 0 0.0 0 0 0.0 0.0 multipath/sas1 0 0 0 0 0.0 0 0 0.0 0.0 multipath/sata0 0 0 0 0 0.0 0 0 0.0 0.0 multipath/sata1 0 0 0 0 0.0 0 0 0.0 0.0 md0 0 0 0 0 0.0 0 0 0.0 0.0 md1 I can use these devices finely with dd. What's going on here?