From owner-freebsd-fs@FreeBSD.ORG Fri Dec 10 15:39:38 2010 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 E322F1065674 for ; Fri, 10 Dec 2010 15:39:38 +0000 (UTC) (envelope-from fjwcash@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 A0A3D8FC14 for ; Fri, 10 Dec 2010 15:39:38 +0000 (UTC) Received: by ywp6 with SMTP id 6so2201233ywp.13 for ; Fri, 10 Dec 2010 07:39:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ufHzBncxRevTsikYW+p0QOUujsfzo6YTtIhXENJnmAs=; b=xPkg7mHXlByiV74rLqDb4JnXw/ibZUoRbGjj8g9MYm1fyul+V8r2eJqKCALt3Er3Mt tbporV03D9bSEd4WlFV+LoUgruwRJhQ5RvoJ5MpynDHFNoJhrKtefAuCrFRdrpuetrnq cYtlxrXc81cOCgL1/57czfPodzToeqmGrRGF0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qYFok58lNuTF4AU+GwiSFqCJh8/LzImBCTitXEVwCARp9UAsVepAwB4FLXGsHrPzhE D1GBxTBCQfhZK6kTpsuS9OtAkr1No74Jx437LVTplh4QrMnm525n/jtdrAu1xODLkLN2 DEkQw2UxXbe1MtHohDxNO70UPMx0M8GXfjJoM= MIME-Version: 1.0 Received: by 10.91.92.19 with SMTP id u19mr1350969agl.111.1291995577760; Fri, 10 Dec 2010 07:39:37 -0800 (PST) Received: by 10.90.226.2 with HTTP; Fri, 10 Dec 2010 07:39:37 -0800 (PST) In-Reply-To: References: Date: Fri, 10 Dec 2010 07:39:37 -0800 Message-ID: From: Freddie Cash To: Mike Barnard Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org 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: Fri, 10 Dec 2010 15:39:39 -0000 On Fri, Dec 10, 2010 at 5:05 AM, Mike Barnard wrote: > I have setup HAST on 2 FreeBSD 8.1-STABLE, hastA being primary and hastB > secondary. > > hastctl create mirror works with no problem on hastA, but when I run hastctl > role primary shared on the primary, it gives an error and fails: > > Dec 10 15:47:24 hastA hastd[9911]: [shared] (primary) Unable to open > /dev/da0s1g.journal: Operation not permitted. > Dec 10 15:47:29 hastA hastd[9888]: [shared] (primary) Worker process exited > ungracefully (pid=9911, exitcode=66). Create hast on the bare partition. Then create the gjournal device on top of the /dev/hast device. Then use the gjournal device for your filesystem. HAST really should be the lowest level in the storage chain. -- Freddie Cash fjwcash@gmail.com