From owner-freebsd-fs@FreeBSD.ORG Fri Dec 10 13:34:30 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 641EA1065670 for ; Fri, 10 Dec 2010 13:34:30 +0000 (UTC) (envelope-from mike.barnardq@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 211FF8FC0C for ; Fri, 10 Dec 2010 13:34:29 +0000 (UTC) Received: by ywp6 with SMTP id 6so2109712ywp.13 for ; Fri, 10 Dec 2010 05:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=yeLTuDzFd6wz4q4TGkPM178fG8RwvK2XCNEmMqwshOQ=; b=dywtSUZ3cJBD3k9Kwihu5O9dg+oJ8O3YGZaT7DVLy5pX9YxKKO5e9dlRC23K4Mp6KE 5d6fqe+YHoEA0oVJFWgkK+CiZw17zfLUXBpJjS45t2TcAXK0deWjisSFFIgCVdJH8fgo ow9drer4DbE4ghkuMIJW3dMGpkBl++0Wkf/jg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mRGvRMMoDgaZwO7afD/2UDw0XxMnMiTIFpshfhaP6boC00nbsy/jm0UGEYm7CVS5Y5 ijRKZEPsE2LBRsezlX39CIz9lVKwmVFVtTHoKaIvB2BNLClKSkcHBI1LNAzmF4dQoG8D MYF35RN9CSe09gtD+moBHX6vcg68QSIckFcBM= MIME-Version: 1.0 Received: by 10.100.164.1 with SMTP id m1mr479520ane.36.1291986353636; Fri, 10 Dec 2010 05:05:53 -0800 (PST) Received: by 10.100.38.18 with HTTP; Fri, 10 Dec 2010 05:05:53 -0800 (PST) Date: Fri, 10 Dec 2010 16:05:53 +0300 Message-ID: From: Mike Barnard To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 13:34:30 -0000 Hi, 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). My hast.conf looks like this: resource shared { replication memsync on hastA { local /dev/da0s1g.journal remote tcp4://172.19.66.15 } on hastB { local /dev/da0s1g.journal remote tcp4://172.19.66.14 } } kern.securelevel is set to -1. Is it possible to have a hast resource over a journaled device? Any one experienced this? Is there a way I can destroy a HAST resource once the create option is passed to hastctl? -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------