From owner-freebsd-fs@FreeBSD.ORG Tue Feb 14 21:15:37 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D33F1065673; Tue, 14 Feb 2012 21:15:37 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 27A738FC0A; Tue, 14 Feb 2012 21:15:36 +0000 (UTC) Received: by yhfs35 with SMTP id s35so378403yhf.13 for ; Tue, 14 Feb 2012 13:15:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=E7TU/leN2G4Pe0CgnPBrogB2qjvQd/G20JyFb/Q2abs=; b=lQ/pmBN2tguhveZiMdKUYPCuPPa3BLgDtfEjAyo91Oc2I5QBy13Jeipza3OaehoeYC ATtKbkjkYK1xiio08Ebdlqvjvju3yaUJOgpLTi+9Gh3ZGNe2mC4DmYLoFqIQMQ5kyDpw MD/PjVemcrJW3lV/kkPJQ8JamzyJEhpTTqZ2w= MIME-Version: 1.0 Received: by 10.50.94.228 with SMTP id df4mr38023170igb.12.1329254135369; Tue, 14 Feb 2012 13:15:35 -0800 (PST) Received: by 10.231.231.17 with HTTP; Tue, 14 Feb 2012 13:15:35 -0800 (PST) In-Reply-To: <861upxmdiz.fsf@kopusha.home.net> References: <20101213143030.GE1740@garage.freebsd.pl> <1329243132007-5483280.post@n5.nabble.com> <861upxmdiz.fsf@kopusha.home.net> Date: Tue, 14 Feb 2012 23:15:35 +0200 Message-ID: From: George Kontostanos To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Mikolaj Golub , fannyfauzi Subject: Re: HAST role failure X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 21:15:37 -0000 On Tue, Feb 14, 2012 at 9:16 PM, Mikolaj Golub wrote: > > On Tue, 14 Feb 2012 10:12:12 -0800 (PST) fannyfauzi wrote: > > =A0f> Hi, I have the same errors with you, could you share how to fix it?= thanks > =A0f> alot > > =A0f> xiaoxi# hastctl status all > =A0f> shared: > =A0f> =A0 role: init > =A0f> =A0 provname: shared > =A0f> =A0 localpath: /dev/ada0p4 > =A0f> =A0 extentsize: 0 (0B) > =A0f> =A0 keepdirty: 0 > =A0f> =A0 remoteaddr: tcp4://192.168.208.132 > =A0f> =A0 replication: fullsync > =A0f> =A0 dirty: 0 (0B) > =A0f> =A0 statistics: > =A0f> =A0 =A0 reads: 0 > =A0f> =A0 =A0 writes: 0 > =A0f> =A0 =A0 deletes: 0 > =A0f> =A0 =A0 flushes: 0 > =A0f> =A0 =A0 activemap updates: 0 > =A0f> xiaoxi# > > =A0f> Feb 15 02:03:03 xiaoxi hastd[2184]: [shared] (primary) Unable to re= ad > =A0f> metadata from /dev/ada0p4: No such file or directory. > =A0f> Feb 15 02:03:08 xiaoxi hastd[2182]: [shared] (primary) Worker proce= ss exited > =A0f> ungracefully (pid=3D2184, exitcode=3D66). > > And does /dev/ada0p4 device exist? > > -- > Mikolaj Golub > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" Well, even if it does I doubt that the hast resource was declared and initialized properly since it is points to a partition rather than a specific vdev. HAST resources should point to devices. Once HAST has been initialized you can then partition the resource under /dev/hast/ directory. Regards --=20 George Kontostanos Aicom telecoms ltd http://www.aisecure.net