Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2010 07:39:37 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        Mike Barnard <mike.barnardq@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: HAST role failure
Message-ID:  <AANLkTinoZ8pTEi_aB4RRrpL-4BKbBiebo7TMsg0wTg_9@mail.gmail.com>
In-Reply-To: <AANLkTim70T5rA=F-Nhrp=FtHHR8Njuwt9dfXaoH_z=8g@mail.gmail.com>
References:  <AANLkTim70T5rA=F-Nhrp=FtHHR8Njuwt9dfXaoH_z=8g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 10, 2010 at 5:05 AM, Mike Barnard <mike.barnardq@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinoZ8pTEi_aB4RRrpL-4BKbBiebo7TMsg0wTg_9>