From owner-freebsd-fs@FreeBSD.ORG Wed Apr 21 09:50:57 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 CB4391065670 for ; Wed, 21 Apr 2010 09:50:57 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nschwmtas02p.mx.bigpond.com (nschwmtas02p.mx.bigpond.com [61.9.189.140]) by mx1.freebsd.org (Postfix) with ESMTP id 51C308FC21 for ; Wed, 21 Apr 2010 09:50:56 +0000 (UTC) Received: from nschwotgx01p.mx.bigpond.com ([124.188.161.100]) by nschwmtas02p.mx.bigpond.com (InterMail vM.7.05.02.08 201-2174-114-118-20080528) with ESMTP id <20100421095055.GJTE28300.nschwmtas02p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com>; Wed, 21 Apr 2010 09:50:55 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20100421095054.FCAI3673.nschwotgx01p.mx.bigpond.com@duncan.reilly.home>; Wed, 21 Apr 2010 09:50:54 +0000 Date: Wed, 21 Apr 2010 19:50:54 +1000 From: Andrew Reilly To: David N Message-ID: <20100421095054.GA28619@duncan.reilly.home> References: <20100418235428.GC4620@duncan.reilly.home> <20100420234447.GB1737@garage.freebsd.pl> <20100421011834.GA24928@duncan.reilly.home> <20100421024803.GA25701@duncan.reilly.home> <20100421085228.GA27892@duncan.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nschwotgx01p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Wed, 21 Apr 2010 09:50:54 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150201.4BCECA7F.0023,ss=1,fgs=0 X-SIH-MSG-ID: qh0yEN38TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9rEJvdRsM6kxDxNJhqMNGQgaanhTY3Rs9mK Cc: freebsd-fs@freebsd.org Subject: Re: gjournal: what is it good for? 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: Wed, 21 Apr 2010 09:50:58 -0000 Hi David, On Wed, Apr 21, 2010 at 07:16:08PM +1000, David N wrote: > Can you show me a print out of > gjournal list here: Geom name: gjournal 827322917 ID: 827322917 Providers: 1. Name: mirror/gm0e.journal Mediasize: 981949479936 (915G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: mirror/gm0e Mediasize: 983023222272 (916G) Sectorsize: 512 Mode: r1w1e1 Jend: 983023221760 Jstart: 981949479936 Role: Data,Journal Geom name: gjournal 1843456033 ID: 1843456033 Providers: 1. Name: ad8s1a.journal Mediasize: 1499228127232 (1.4T) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: ad8s1a Mediasize: 1500301869568 (1.4T) Sectorsize: 512 Mode: r1w1e1 Jend: 1500301869056 Jstart: 1499228127232 Role: Data,Journal Geom name: gjournal 3015273731 ID: 3015273731 Providers: 1. Name: ad10s1.journal Mediasize: 749081051136 (698G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: ad10s1 Mediasize: 750154793472 (699G) Sectorsize: 512 Mode: r1w1e1 Jend: 750154792960 Jstart: 749081051136 Role: Data,Journal > and > bsdlabel /dev/mirror/gm0e.journal duncan [201]$ bsdlabel mirror/gm0e.journal bsdlabel: /dev/mirror/gm0e.journal: no valid label found > And any other .journal you have duncan [202]$ bsdlabel ad8s1a.journal bsdlabel: /dev/ad8s1a.journal: no valid label found duncan [203]$ bsdlabel ad10s1.journal # /dev/ad10s1.journal: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1465146065 16 unused 0 0 c: 1465146081 0 unused 0 0 # "raw" part, don't edit partition a: partition extends past end of unit partition c: partition extends past end of unit bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities Hmm. That's a bit surprising. I'm fairly certain that I didn't label ad10s1.journal, but that disk has been used for other things before, and the partition label is the the same (but without the warnings): duncan [204]$ bsdlabel ad10s1 # /dev/ad10s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1465146065 16 unused 0 0 c: 1465146081 0 unused 0 0 # "raw" part, don't edit I guess I should have nuked the starting sectors a bit more thoroughly? That isn't the disk that's giving me panics though. > Just want to double check something. Hope that helps! Cheers, -- Andrew