From owner-freebsd-fs@FreeBSD.ORG Wed Jan 22 14:11:15 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D049FD3 for ; Wed, 22 Jan 2014 14:11:15 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5CA521CBB for ; Wed, 22 Jan 2014 14:11:14 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1W5yWI-0005cu-TT for freebsd-fs@freebsd.org; Wed, 22 Jan 2014 15:11:07 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org Subject: Re: hast and zfs References: Date: Wed, 22 Jan 2014 15:11:04 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.8 X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50, T_FRT_BELOW2 autolearn=disabled version=3.3.2 X-Scan-Signature: dfea3049d3b923820beb462d65569822 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 14:11:15 -0000 On Tue, 21 Jan 2014 15:46:09 +0100, Joar Jegleim wrote: > Hi list ! > > I've setup hast with zfs on 9.1-RELEASE-p10 > I've got an lsi hba connected to an external sas hp msa that has 20 > disks in it, same setup on both nodes. > I've created a hast disk dev such as /dev/hast/disk1a, > /dev/hast/disk1b etc... ( see attached hast.conf ) > And built a zpool mirror accross the 20 disks. > > While setting up this, and testing, all looked pretty good, I've tried > numerous failovers and so on. > When I just switched over to this setup in production, it worked for > about half an hour until the primary node got a zfs hang where zpool > list hung and hastctl status hung completely . > > There was no output in dmesg nor /var/log/messages that said anything > related to this (?) . > > The server serves some 3 000 000 jpegs for a site, I see anything from > 50 to just above 1000 iops, though the average iops is bellow 100. > It's completely random what pictures are being fetched at any time. > > Could there be some sysctls to tune related to this setup mabye ? > Anybody using hast and zfs in production got any tip ? > > > You did not get any reply yet. I'm not of any help either, but is there a reason you don't use a newer FreeBSD version? (9.1 is from December 2012.) It can be useful to read through the commits about hast which happened in the meantime. Ronald.