From owner-freebsd-questions@FreeBSD.ORG Wed Sep 30 13:55:12 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 51967106566B for ; Wed, 30 Sep 2009 13:55:12 +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 2F52C8FC14 for ; Wed, 30 Sep 2009 13:55:12 +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 8C25174E58C for ; Wed, 30 Sep 2009 09:55:11 -0400 (EDT) Date: Wed, 30 Sep 2009 09:55:12 -0400 From: Ross Organization: Network Connection X-Priority: 3 (Normal) Message-ID: <49341974.20090930095512@connection.ca> To: FreeBSD Questions In-Reply-To: <773896033.20090928124448@connection.ca> References: <773896033.20090928124448@connection.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: 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: Wed, 30 Sep 2009 13:55:12 -0000 R> I've got a geom based file system that is running under 2 geom R> modules: multipath and journal. Solved the problem, so here's some notes for the archive: - the answers were hiding throughout in the freebsd-geom mailing list archives, I just forgot to look there initially. - this was a single data disk that was improperly partitioned/sliced in the beginning, therefore the metadata information was being picked up twice and auto creating the journal device under each device. - if the journal is being picked up multiple times (ie slice + partition), then remove one of the formatting options (via dd if=/dev/zero of=/dev/xxxxx bs=512 count=32) so only 1 journal is picked up. Then do "gjournal clear /dev/xxxxx" to properly remove the metadata. - hardcode the gjournal labels for situations like this, as it'll stop it being autoloaded under multiple devices. - gjournal hardcoded provider labels are up to 15 characters long, so long device names can be a pain (like "multipath/xxxx0s1a" is too long). Probably a few other notes that I've forgotten, but that'll get you on the right path. R. --