From owner-freebsd-stable@FreeBSD.ORG Tue Jun 27 22:32:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED0A716A40E for ; Tue, 27 Jun 2006 22:32:23 +0000 (UTC) (envelope-from tdb@carrick.bishnet.net) Received: from carrick.bishnet.net (carrick.bishnet.net [84.234.16.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6780C43D49 for ; Tue, 27 Jun 2006 22:32:21 +0000 (GMT) (envelope-from tdb@carrick.bishnet.net) Received: from tdb by carrick.bishnet.net with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FvM6Q-0004pT-8R; Tue, 27 Jun 2006 23:32:14 +0100 Date: Tue, 27 Jun 2006 23:32:14 +0100 From: Tim Bishop To: Sven Willenberger Message-ID: <20060627223214.GA18318@carrick.bishnet.net> References: <1151338928.2186.4.camel@lanshark.dmv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1151338928.2186.4.camel@lanshark.dmv.com> X-PGP-Key: 0x5AE7D984, http://www.bishnet.net/tim/tim-bishnet-net.asc X-PGP-Fingerprint: 1453 086E 9376 1A50 ECF6 AE05 7DCE D659 5AE7 D984 User-Agent: Mutt/1.5.11 X-Bishnet-MailScanner-Information: Contact postmaster@bishnet.net X-Bishnet-MailScanner-VirusCheck: Found to be clean X-Bishnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.6, required 5, autolearn=not spam, BAYES_00 -2.60, NO_RELAYS -0.00) X-Bishnet-MailScanner-From: tdb@carrick.bishnet.net Cc: freebsd-stable Subject: Re: vinum to gvinum help X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 22:32:24 -0000 On Mon, Jun 26, 2006 at 12:22:07PM -0400, Sven Willenberger wrote: > I have an i386 system currently running 5.2.1-RELEASE with a vinum > mirror array (2 drives comprising /usr ). I want to upgrade this to > 5.5-RELEASE which, if I understand correctly, no longer supports vinum > arrays. Would simply chaning /boot/loader.conf to read gvinum_load > instead of vinum_load work or would the geom layer prevent this from > working properly? If not, is there a recommended way of upgrading a > vinum array to a gvinum or gmirror array? I did this upgrade not long ago (and later to 6.1). The process of switching from vinum to gvinum is pretty easy, although the specifics escape me now. Changing loader.conf and fstab are the main ones, but assuming you have console access you should easily be able to fix anything else that crops up. As Mark said, there were shared library version changes between these versions, so you'll end up needing to rebuild all your apps. I did this with portupgrade, but I got everything updated and working on 5.2.1 first so I wouldn't have to worry about that during the upgrade. A word of warning though. I'm currently left with no raid because somewhere along the line vinum/gvinum corrupted the metadata. This only happened after a disk failure and after switching to gvinum (could be coincidence), but has left me looking elsewhere - gmirror looks good - for a RAID system. See the archives of this list for details - summary is that the kernel module locks up when loading. Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984