From owner-freebsd-questions@FreeBSD.ORG Thu Jul 14 16:03:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 849F916A41C for ; Thu, 14 Jul 2005 16:03:55 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 0246E43D49 for ; Thu, 14 Jul 2005 16:03:54 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 24908 invoked by uid 0); 14 Jul 2005 16:03:53 -0000 Received: from user-69-73-60-132.knology.net (HELO Grumpy.DynDNS.org) (69.73.60.132) by smtp1.knology.net with SMTP; 14 Jul 2005 16:03:53 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 5AAD86443; Thu, 14 Jul 2005 11:03:52 -0500 (CDT) Date: Thu, 14 Jul 2005 11:03:52 -0500 From: David Kelly To: Casper Message-ID: <20050714160352.GA24706@Grumpy.DynDNS.org> References: <42D6683E.7040406@os.lv> <58488053-6525-49BB-846A-03845A162020@amadeus.demon.nl> <20050714144907.GA24229@Grumpy.DynDNS.org> <42D683BC.4010602@os.lv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D683BC.4010602@os.lv> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.x raid... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 16:03:55 -0000 On Thu, Jul 14, 2005 at 06:24:44PM +0300, Casper wrote: > > > David Kelly wrote: > >On Thu, Jul 14, 2005 at 03:55:38PM +0200, FreeBSD questions mailing list > >wrote: > > > >>'plex org raid1 512k' is invalid > >>you should use: > >>'plex org concat' > > > > > >Uh, he wants all data on one SATA drive and a mirror on the other. > >Therefore he does not want to "concat" but to "mirror". The man page > >examples often complicatate things by concating some drives then > >mirroring the concated. > > Yep, thanx, I have changed: > > drive a device /dev/ad4c > drive b device /dev/ad6c > volume www > plex org mirror > sd length 165g drive a > sd length 165g drive b > > but: > vinum create -f www.vinum > 4: plex org mirror > ** 4 Invalid plex organization: Invalid argument > 5: sd length 165g drive a [snip] You stopped reading too soon. > >I never quite figured out the manual method of configuring [g]vinum. The > >"SIMPLIFIED CONFIGURATION" section of the manual got me running. I think > >this how he would want to do it. [...] > >First, I don't think its wise to use partition "c". Use sysinstall to > >create the single largest partition possible and it'll be on "d". > >Partition "c" has special meaning and many times its used because the > >device driver fakes a disk label with "c" when a real disk label is > >missing. If the driver is always able to fake a correct and identical > >label then you are fine, but its better to write a real one on disk. Once again, "do not use the 'c' partition." > >Creating a gvinum mirror is as simple as this: > > > ># gvinum mirror -v /dev/ad4d /dev/ad6d Literally that one line above from the shell as root. No "www.vinum" file is used. Also vinum is unsupported and known broken for many in 5.x. My machine is also one PATA and two SATA drives with both SATA on striped (not mirrored) gvinum slice. Vinum gave me no end of problems last year in that its configuration was often lost between reboots. Gvinum is less complete but what is there does work. Gvinum has never failed for me. > >Your new slice will probably be /dev/gvinum/vinum0, so edit /etc/fstab > >appropriately. Using the simplified interface where gvinum does all the plex assignments one doesn't have the same control over how things are named. Doesn't matter as one has the last say as to where the fs is mounted. Use the simplified mirror command to create your configuration. Then use list to save a copy elsewhere, such as in www.vinum, for emergency reference. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.