HAST role failure

Freddie Cash fjwcash at gmail.com
Fri Dec 10 15:39:39 UTC 2010


On Fri, Dec 10, 2010 at 5:05 AM, Mike Barnard <mike.barnardq at 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 at gmail.com


More information about the freebsd-fs mailing list