From owner-freebsd-questions@FreeBSD.ORG Mon Sep 28 16:59:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8A6D1065670 for ; Mon, 28 Sep 2009 16:59:15 +0000 (UTC) (envelope-from westr@connection.ca) Received: from nc-tor-mail2.connection.ca (nc-tor-mail2.connection.ca [205.207.122.27]) by mx1.freebsd.org (Postfix) with ESMTP id 995AA8FC18 for ; Mon, 28 Sep 2009 16:59:15 +0000 (UTC) Received: from westr-main.tor.connection.ca (external.tor.connection.ca [216.234.38.18]) by nc-tor-mail2.connection.ca (Postfix) with ESMTP id 1E20874E58E for ; Mon, 28 Sep 2009 12:44:49 -0400 (EDT) Date: Mon, 28 Sep 2009 12:44:48 -0400 From: Ross Organization: Network Connection X-Priority: 3 (Normal) Message-ID: <773896033.20090928124448@connection.ca> To: FreeBSD Questions MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: geom not clearing metadata labels X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ross List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 16:59:15 -0000 I've got a geom based file system that is running under 2 geom modules: multipath and journal. I'm looking to increase the journal size on the disk, but when it comes to re-creating the journal geom metadata, it refuses to do so sighting the errno 1: "Operation not permitted". I get the same error with trying to redo the multipath metadata as well. (The command I'm executing is "gjournal clear -v /dev/multipath/xyz2.journal") Permissions all look correct on the /dev devices, and I'm executing as root/uid 0, and normal disk access is fine - so I'm a little stumped. Executing "gjournal list" gets the following, which seems correct (mode is r0w0e0 due to being umounted, otherwise r1w1e1 in normal operation) -= Geom name: gjournal 1011364901 ID: 1011364901 Providers: 1. Name: multipath/xyz2.journal Mediasize: 1072668081152 (999G) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: multipath/xyz2 Mediasize: 1073741823488 (1000) Sectorsize: 512 Mode: r1w1e1 Jend: 1073741822976 Jstart: 1072668081152 Role: Data,Journal -= Obviously, I can just reformat/dd the raw disk to get rid of the label, but I'd like to know the better way. :-) Thanks. --