From owner-freebsd-stable@FreeBSD.ORG Wed Jan 18 18:55:13 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DBC7106566B for ; Wed, 18 Jan 2012 18:55:13 +0000 (UTC) (envelope-from artem@kayalaynen.ru) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 977DA8FC0C for ; Wed, 18 Jan 2012 18:55:12 +0000 (UTC) Received: by wibhq12 with SMTP id hq12so3965317wib.13 for ; Wed, 18 Jan 2012 10:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kayalaynen.ru; s=google; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=er1p8DgW71u+3TcEWg/uSg9Q1966IGPNHUdKW0M/Vl8=; b=gQ+pMuaKzUP538GZtDXK9v9glyAjn395BUGYs+u5pn144y5jpm8e7LsDz4gK+45SyI bJ82Qy6rPW7dbzAMmpAyeZzl/iSobfcyFIkT/2lkd0nA+nvyuZBzGKFU5SYURPpjXCVw GmoKG1q393dJN8kFQdjwSm4YeenWgffUbBYaY= Received: by 10.180.85.4 with SMTP id d4mr38178176wiz.0.1326911027114; Wed, 18 Jan 2012 10:23:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.105.134 with HTTP; Wed, 18 Jan 2012 10:23:25 -0800 (PST) From: Artem Kajalainen Date: Wed, 18 Jan 2012 20:23:25 +0200 Message-ID: To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: problems with hast X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 18:55:13 -0000 Hello, I'm trying to setup hastd on two servers and got error, which I can't understand. Box is running as primary, then i reboot it, another box get primary role by carp events, then 1st box at boot tries to set up primary role on own hast instance and fails with this: Jan 18 22:13:03 gw_chlb_2 hastd[1387]: [storage0] (primary) G_GATE_CMD_DONE failed: No such file or directory. Jan 18 22:13:08 gw_chlb_2 hastd[1004]: [storage0] (primary) Worker process exited ungracefully (pid=3D1387, exitcode=3D71). I thought that geom_gate module can be problem, so i compiled it in kernel. As you can see - it doesn't help. Both servers are FreeBSD9.0-stable, updated 1 week ago. Hastd use whole disk. More info from hastd: gw_chlb_2# hastd -dF -c /etc/hast.conf [INFO] Started successfully, running protocol version 1. [DEBUG][1] Listening on control address /var/run/hastctl. [INFO] Listening on address 192.168.0.1:8457. [INFO] [storage0] (init) Role changed to primary. [DEBUG][1] [storage0] (primary) Obtained info about /dev/ada2. [DEBUG][1] [storage0] (primary) Locked /dev/ada2. [INFO] [storage0] (primary) Device hast/storage0 created. [DEBUG][1] [storage0] (primary) Privileges successfully dropped using jail+setgid+setuid. [INFO] [storage0] (primary) Privileges successfully dropped. [INFO] [storage0] (primary) Connected to tcp4://192.168.0.2. [INFO] [storage0] (primary) Synchronization started. 6.0MB to go. [ERROR] [storage0] (primary) G_GATE_CMD_DONE failed: No such file or direct= ory. [INFO] [storage0] (primary) Received cancel from the kernel, exiting. [DEBUG][1] Unable to receive event header: Socket is not connected. [ERROR] [storage0] (primary) Worker process exited ungracefully (pid=3D1452, exitcode=3D71). [INFO] [storage0] (primary) Changing resource role back to init. Any thoughts? --- With Best Regards / Yst=C3=A4v=C3=A4llisin terveisin Artem Kajalainen