From owner-freebsd-questions@FreeBSD.ORG Wed Jun 21 01:09:48 2006 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 864CD16A479 for ; Wed, 21 Jun 2006 01:09:48 +0000 (UTC) (envelope-from solinym@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id A747643D7F for ; Wed, 21 Jun 2006 01:09:33 +0000 (GMT) (envelope-from solinym@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1594908uge for ; Tue, 20 Jun 2006 18:09:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t1ctp9H57HGaZ1XlaMHG0QZIF4gChbPGQbnURZNVxiu+ekwFHcblfpTg+iM96lw2nUKRljwYRbTkVxptOHtp/1j8O5YjRzyEJzvMoPXrq3QEgpblQBhv06QmhHO+qKDZ206de861I/4wuFrFCNx9rh878t+IG7wDpeYzFJ49huU= Received: by 10.78.51.9 with SMTP id y9mr3109907huy; Tue, 20 Jun 2006 18:02:55 -0700 (PDT) Received: by 10.78.35.18 with HTTP; Tue, 20 Jun 2006 18:02:55 -0700 (PDT) Message-ID: Date: Tue, 20 Jun 2006 20:02:55 -0500 From: "Travis H." To: "Peter A. Giessel" In-Reply-To: <448F32A0.3040709@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <448F1225.4080308@mac.com> <448F32A0.3040709@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: rc.d script for gvinum? 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: Wed, 21 Jun 2006 01:09:48 -0000 > Prepare the disks: Done: # disklabel /dev/ad4s1 # /dev/ad4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 398283401 16 unused 0 0 c: 398283417 0 unused 0 0 # "raw" part, don't edit # disklabel /dev/ad4s1 # /dev/ad4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 398283401 16 unused 0 0 c: 398283417 0 unused 0 0 # "raw" part, don't edit > make a configfile: Done # cat /etc/gvinum.conf drive a device /dev/ad4s1a state up drive b device /dev/ad2s1a state up volume www plex org concat sd length 12G drive a volume ports plex org concat sd length 10G drive a volume video plex org concat sd length 180G drive b volume home plex org concat sd length 40M drive a > use gvinum to make the array: > # gvinum create configfile Did that before the latest reboot. > now when you load gvinum it should work. How exactly do I "load gvinum"? If I go into gvinum and "create", it gives me a config file thing - but slightly different -- and when I exit it prints: 2 drives: D b State: up /dev/ad2s1a A: 194480/194480 MB (100%) D a State: up /dev/ad4s1a A: 194474/194474 MB (100%) 5 volumes: V ports State: up Plexes: 0 Size: 0 B V www State: up Plexes: 0 Size: 0 B V video State: up Plexes: 0 Size: 0 B V subversion State: up Plexes: 0 Size: 0 B V home State: up Plexes: 0 Size: 0 B 5 plexes: P ports.p0 C State: up Subdisks: 0 Size: 0 B P www.p0 C State: up Subdisks: 0 Size: 0 B P video.p0 C State: up Subdisks: 0 Size: 0 B P subversion.p0 C State: up Subdisks: 0 Size: 0 B P home.p0 C State: up Subdisks: 0 Size: 0 B 5 subdisks: S ports.p0.s0 State: up D: a Size: 10 GB S www.p0.s0 State: up D: a Size: 12 GB S video.p0.s0 State: up D: b Size: 189 GB S subversion.p0.s0 State: up D: a Size: 1024 MB S home.p0.s0 State: up D: a Size: 40 MB See how all the plexes and volumes are size 0? > you can now treat /dev/gvinum/array # ls -la /dev/gvinum ls: /dev/gvinum: No such file or directory It was there last time... what happened? -- Every once in a while you run out of ideas; just keep going. Security "guru" for rent or hire - http://www.lightconsulting.com/~travis/ -><- GPG fingerprint: 9D3F 395A DAC5 5CCC 9066 151D 0A6B 4098 0C55 1484