From owner-freebsd-geom@FreeBSD.ORG Thu Mar 9 08:02:58 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84A3316A420 for ; Thu, 9 Mar 2006 08:02:58 +0000 (GMT) (envelope-from fb-geom@psconsult.nl) Received: from mx0.psconsult.nl (ps226.psconsult.nl [213.222.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAC7B43D48 for ; Thu, 9 Mar 2006 08:02:57 +0000 (GMT) (envelope-from fb-geom@psconsult.nl) Received: from phuket.psconsult.nl (localhost [127.0.0.1]) by mx0.psconsult.nl (8.12.8p2/8.12.8) with ESMTP id k2982tpe086794 for ; Thu, 9 Mar 2006 09:02:55 +0100 (CET) (envelope-from fb-geom@psconsult.nl) Received: (from paul@localhost) by phuket.psconsult.nl (8.12.8p2/8.12.8/Submit) id k2982tDZ086793 for freebsd-geom@freebsd.org; Thu, 9 Mar 2006 09:02:55 +0100 (CET) Date: Thu, 9 Mar 2006 09:02:55 +0100 From: Paul Schenkeveld To: freebsd-geom@freebsd.org Message-ID: <20060309080255.GA86676@psconsult.nl> Mail-Followup-To: freebsd-geom@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: gvinum missing setupstate/setstate 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: Thu, 09 Mar 2006 08:02:58 -0000 Hello, I'm upgrading several servers from 4-STABLE to 6-STABLE by replacing the disks with /, /var, /usr but the data disks stay. All disks were mirrored using vinum (4-S) and will be using gvinum (6-S). Since gvinum does not appear to correctly recognize the configuration saved by vinum, I wipe it out before the upgrade by writing 265 blocks of zeroes over each partition containing vinum and running gvinum create afterwards. I know that the data on the datadisks are mirrored correctly as they were so while running 4-STABLE, so I'd prefer not to re-synchronize those disks (2 pairs of two 500GB disks per server). So I tried the 'volume setupstate' while creating but that seems not supported. Also, doing setstate up afterwards seems not supported. Is there any way making gvinum trust me that the mirror is in good shape without copying over the whole 1TB making the machine very slow for several hours? Thanks, Paul Schenkeveld