From owner-freebsd-fs@FreeBSD.ORG Tue May 29 12:52:33 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 02F08106564A for ; Tue, 29 May 2012 12:52:33 +0000 (UTC) (envelope-from resdev80@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6E2FE8FC14 for ; Tue, 29 May 2012 12:52:32 +0000 (UTC) Received: by laai10 with SMTP id i10so3401970laa.13 for ; Tue, 29 May 2012 05:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:reply-to:to:date:content-type:x-mailer :content-transfer-encoding:mime-version; bh=ugjUEmceh4BiHZSw9Eq9UMBSLdaWNHXUo2U5xxwVjuw=; b=zEtc0rUQoH77rg4DmdVzZcD4x7epXfWdbldTS6dNqBEalD3lDG/V4YH6FIbgV5ZHye KGdyvUMSF5HnkvZ0UXzo1M9XI1O85Wj5HGkLnZzSo5WhAder6GmpexnPFaxXSSJrxK8S rf5RXsi9BTiGxmbNcLUFAG6VzpB8E2DJNRg7zzNJghFCTx680LUbsVQ6F1ehrGuvNsvT Dq4L1I5TY/wJRqnjoZzdHPp1XzbGyScBAmnVhP45AXIPNDobaB9H95C1vIR0EXD1sH3o tZFmr47gkyIhWg+uejtebaZHS8b8GyGiq781REtfrU8LRgD+9ILM3Ducni0mTEqnEQTn M7bw== Received: by 10.112.44.233 with SMTP id h9mr5505089lbm.26.1338295951097; Tue, 29 May 2012 05:52:31 -0700 (PDT) Received: from [217.21.170.21] ([217.21.170.21]) by mx.google.com with ESMTPS id j3sm9911156lbh.0.2012.05.29.05.52.28 (version=SSLv3 cipher=OTHER); Tue, 29 May 2012 05:52:29 -0700 (PDT) Message-ID: <1338295953.17714.12.camel@brainbug-nb.office.ctco.lv> From: Juris Krumins To: freebsd-fs@freebsd.org Date: Tue, 29 May 2012 15:52:33 +0300 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 (3.2.3-3.fc16) Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Subject: Hastd activemap cache flush and "request failed: FLUSH.: Operation not supported by device" messages. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: resdev80@gmail.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2012 12:52:33 -0000 Hi everybody. I've recently setup two FreeBSD nodes to use them as a storage. So I'm using hast over "MegaRAID SAS 1078" and ZFS filesystem created on HAST resource devices from /dev/hast/*. Everything looks good, but when I execute iozone tests, I'm constantly getting following messages in /var/log/message: primary node: May 29 15:44:15 rook hastd[2313]: [mfid2] (primary) Local request failed (Operation not supported by device): FLUSH. May 29 15:44:15 rook hastd[2311]: [mfid0] (primary) Local request failed (Operation not supported by device): FLUSH. May 29 15:44:15 rook hastd[2312]: [mfid1] (primary) Local request failed (Operation not supported by device): FLUSH. May 29 15:44:15 rook hastd[2312]: [mfid1] (primary) Remote request failed (Operation not supported by device): FLUSH. May 29 15:44:15 rook hastd[2313]: [mfid2] (primary) Remote request failed (Operation not supported by device): FLUSH. May 29 15:44:15 rook hastd[2311]: [mfid0] (primary) Remote request failed (Operation not supported by device): FLUSH. secondary node: May 29 15:43:41 rook2 hastd[2458]: [mfid1] (secondary) Request failed: FLUSH.: Operation not supported by device. May 29 15:43:41 rook2 hastd[2457]: [mfid0] (secondary) Request failed: FLUSH.: Operation not supported by device. May 29 15:43:41 rook2 hastd[2462]: [mfid2] (secondary) Request failed: FLUSH.: Operation not supported by device. I'v also found following topic http://lists.freebsd.org/pipermail/freebsd-fs/2012-January/013385.html. I've updated src, rebuild world and kernel and rebooted. I've also added metaflush "off" options to /etc/hast.conf configuration file. But still getting previously mentioned messages. Can somebody point me to the right direction how to configure hastd to throw this warning only once. I'm using: FreeBSD primary. 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue May 29 12:53:44 EEST 2012 root@primary.:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD secondary. 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue May 29 12:53:44 EEST 2012 root@secondary.:/usr/obj/usr/src/sys/GENERIC amd64 and hast.conf configuration from both machines: I've decided to put metaflush option on every single level just to be sure. No effect. metaflush "off" resource mfid0 { metaflush "off" on primary { local /dev/mfid0 remote 10.0.0.2 metaflush "off" } on secondary { local /dev/mfid0 remote 10.0.0.1 metaflush "off" } } resource mfid1 { metaflush "off" on primary { local /dev/mfid1 remote 10.0.0.2 metaflush "off" } on secondary { local /dev/mfid1 remote 10.0.0.1 metaflush "off" } } resource mfid2 { metaflush "off" on primary { local /dev/mfid2 remote 10.0.0.2 metaflush "off" } on secondary { local /dev/mfid2 remote 10.0.0.1 metaflush "off" } } Thank in advance. Juris Krumins