From owner-freebsd-geom@FreeBSD.ORG Fri Dec 15 23:42:35 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7BCE16A403 for ; Fri, 15 Dec 2006 23:42:35 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from fri.itea.ntnu.no (fri.itea.ntnu.no [129.241.7.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 305C743CBD for ; Fri, 15 Dec 2006 23:40:43 +0000 (GMT) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 01D01819A; Sat, 16 Dec 2006 00:42:26 +0100 (CET) Received: from studby.ntnu.no (m044h.studby.ntnu.no [129.241.135.44]) by fri.itea.ntnu.no (Postfix) with ESMTP; Sat, 16 Dec 2006 00:42:25 +0100 (CET) Received: by studby.ntnu.no (Postfix, from userid 1001) id 179BF398E0; Sat, 16 Dec 2006 00:42:29 +0100 (CET) Date: Sat, 16 Dec 2006 00:42:29 +0100 From: Ulf Lilleengen To: "Peter A. Giessel" Message-ID: <20061215234229.GA11754@vimes.studby.ntnu.no> References: <45097F3B.2060606@dot.state.ak.us> <20060915125607.GA2722@stud.ntnu.no> <450ACB69.3090704@dot.state.ak.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <450ACB69.3090704@dot.state.ak.us> User-Agent: Mutt/1.4.2.2i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: freebsd-geom@freebsd.org Subject: Re: Replacing failed drive in gvinum causes panic X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 23:42:35 -0000 On Fri, Sep 15, 2006 at 07:48:57AM -0800, Peter A. Giessel wrote: > On 2006/09/15 4:56, Ulf Lilleengen seems to have typed: > > Do you also have a different sized drive as Ludo had? > > The thing is, that a subdisk has a drive_offset that indicates where on the > > drive that a subdisk begin. Gvinum may not actually handle this. > > > Do something more like: > ************************** > # /dev/ad16s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 390716802 0 unused 0 0 # "raw" part, don't edit > h: 390620412 0 vinum > > # /dev/ad18s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 390620412 0 unused 0 0 # "raw" part, don't edit > h: 390620412 0 vinum > ************************** > Will that help problems in the future? Hi, How did it go? I forgot all about this as I became busy with school, sorry. Changing the labels shouldn't be necessary, but the drive you're replacing with should have at least the same labelsize as the one you replacing. That could be it, but I've not been able to test this yet because I can't forcely remove drive in gvinum, and I don't have any real hd's to test with, but I guess I can implement a force-flag for removal of a drive for this purpose. This guide says more on this. http://www.vinumvm.org/vinum/replacing-drive.html -- Ulf Lilleengen