From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 14 17:28:37 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9939316A4CF for ; Thu, 14 Apr 2005 17:28:37 +0000 (GMT) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id C3F5C43D2F for ; Thu, 14 Apr 2005 17:28:35 +0000 (GMT) (envelope-from lists-freebsd-hackers@biaix.org) Received: (qmail 93810 invoked by uid 1000); 14 Apr 2005 17:27:35 -0000 Date: Thu, 14 Apr 2005 19:27:35 +0200 From: Joan Picanyol i Puig To: hackers@freebsd.org Message-ID: <20050414172735.GA91222@grummit.biaix.org> References: <425E913C.50502@comcast.net> <20050414161050.GO48482@cicely12.cicely.de> <425E9DD4.308@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <425E9DD4.308@comcast.net> User-Agent: Mutt/1.5.6i Subject: Re: vinum question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 17:28:37 -0000 * Matt [20050414 18:43]: > Bernd Walter wrote: > > >On Thu, Apr 14, 2005 at 08:50:20AM -0700, Matt wrote: > > > >>I have a two disk array that I want to move to another machine. It is > >>configured with striping using vinum. What is the best way to set it up > >>under a new machine? Should I simply load the old vinum.conf file and > >>enable vinum? Thanks much for any help. > >> > >>drive disk1 device /dev/ad5s1d > >>drive disk2 device /dev/ad6s1d > >>volume stripe > >>plex org striped 256k > >> sd length 114470m drive disk1 > >> sd length 114470m drive disk2 > >> > >Vinum should find and use the existing configuration. > > > Well, it hasn't been that easy. The new machine is running 5.3. Vinum has been migrated to geom, this should do the trick: sed -ibak -e 's,^vinum_load,geom_vinum_load,' /boot/loader.conf sed -ibak -e 's,/dev/vinum,/dev/gvinum,' /etc/fstab qvb -- pica