From owner-freebsd-fs@FreeBSD.ORG Mon Dec 13 15:38:06 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 55A8C106566B; Mon, 13 Dec 2010 15:38:06 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by mx1.freebsd.org (Postfix) with ESMTP id ED6478FC1A; Mon, 13 Dec 2010 15:38:05 +0000 (UTC) Received: by gxk28 with SMTP id 28so5177468gxk.17 for ; Mon, 13 Dec 2010 07:38:05 -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=P/XeLIiTQwGslJJrdpG8PSy5Iyr9Ljmu8F2Z5/H0F1Y=; b=rvKOSvVvuAqWoAtxoySnXDV++j7owEBbwxFU/QW49SUEsc2idOP5nzBsiMe24Z1uaV B98m10Q9Pe9w7XMC9Vk7jDWsFU24Kt5vUvE2wsnalqCN1nF0jsyyI2yMdWQnoECh829P 3JTdjue6w3+fFqy+Lo35kq/LupP3MvSZEvyvI= 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=W+CDDcQvSqUaDRygWRAKanP2758tiaIpdrIpDQGPUEoJTMTmVXnRWk2ZHeo42RtnbO g7PNOywk9ywjfFXp5vgS8IunhykLpVpa+NXTbcXzDRQkdWtfD0lYQdo3hef86hxakWLz jQ8i/QW3/if60ZxKEX4x2JkkgngVA5lJQ4mAI= MIME-Version: 1.0 Received: by 10.100.177.13 with SMTP id z13mr2723701ane.138.1292254685008; Mon, 13 Dec 2010 07:38:05 -0800 (PST) Received: by 10.100.38.18 with HTTP; Mon, 13 Dec 2010 07:38:04 -0800 (PST) In-Reply-To: <20101213143030.GE1740@garage.freebsd.pl> References: <20101213143030.GE1740@garage.freebsd.pl> Date: Mon, 13 Dec 2010 18:38:04 +0300 Message-ID: From: Mike Barnard To: Pawel Jakub Dawidek Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Mon, 13 Dec 2010 15:38:06 -0000 On Mon, Dec 13, 2010 at 5:30 PM, Pawel Jakub Dawidek wrote: > On Mon, Dec 13, 2010 at 04:33:15PM +0300, Mike Barnard wrote: > > Thanks Freddie, > > > > For some reason, I still get the same error even after destroying the > > journal. > > > > hastctl create shared > > [ERROR] [shared] Unable to open /dev/da0s1g: Operation not permitted. > > Maybe this happens because the operation is not permitted?:) > Isn't da0s1g in use already? For example there is a file system on top > of it which is already mounted? If not, please send the output of: > > Yes, da0s1g is, after destroying the journal, mounted and yes has the ufs file system on it. and right after sending this, I'll go stick my head in a freezer box for good measure of my silliness... sigh # sysctl -b kern.geom.confxml > > I guess there is no need for this since I had grossly overlooked this one simple thing #:-s -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------