From owner-freebsd-questions Thu Aug 1 8: 4:13 2002 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 0914637B400 for ; Thu, 1 Aug 2002 08:04:06 -0700 (PDT) Received: from williams.mc.vanderbilt.edu (williams.mc.Vanderbilt.Edu [160.129.208.222]) by mx1.FreeBSD.org (Postfix) with SMTP id F3DCD43E65 for ; Thu, 1 Aug 2002 08:04:04 -0700 (PDT) (envelope-from drew-dated-1028646153.33b208@rain3s.net) Received: (qmail 1578 invoked by uid 19192); 1 Aug 2002 15:04:27 -0000 Date: Thu, 1 Aug 2002 10:04:27 -0500 From: Drew Raines To: Greg 'groggy' Lehey Cc: freebsd-questions@freebsd.org Subject: Re: Striped Vinum on two drives Message-ID: <20020801150427.GJ26818@mail.rain3s.net> References: <20020731211840.GN19920@mail.rain3s.net> <20020801010118.GM17787@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020801010118.GM17787@wantadilla.lemis.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greg 'groggy' Lehey wrote: > > On Wednesday, 31 July 2002 at 16:18:40 -0500, Drew Raines wrote: > > I have a machine with two hard drives: > > > > ad0 Maxtor 13 GB > > da0 Fujitsu 36 GB > > > > I'd like to create root, swap, and usr partitions on the > > beginning of ad0, and have the rest of the drive, as well as > > all of da0 be one giant 45 GB filesystem. Something like: > > > > ad0 / > > swap > > /usr > > /bigfs > > da0 /bigfs (cont.) [...] > No, I'd consider this a fairly typical application. [...] > > Also, *can* I do it? I just want the two spindles to look > > like one disk, striping the data accordingly. > > Yes, you can do that. But given the discrepancy in size > between your disks, you might find it more useful to > concatenate them. OK. I've done that, but I have a few questions. (1) Where did my space on /bigfs go? Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 99742 33574 58190 37% / /dev/da0s1e 3096462 81006 2767740 3% /usr procfs 4 4 0 100% /proc /dev/vinum/1 43187825 1 39732798 0% /bigfs Does it really take 3.5 GB for Vinum to store information? I thought it was 265 blocks. (2) How do I rename that ``1'' volume? I created it with help from an example in the archives without realizing that would be the name. I tried: # umount /bigfs # vinum stop 1 [Aug 1 09:52:46 dawson /kernel: vinum: volume 1 is down] # vinum rm 1 Can't remove 1: Device busy (16) [Aug 1 09:52:57 dawson /kernel: vinum: 1 is up] # vinum list 2 drives: D Abraham State: up Device /dev/da0s1f Avail: 0/30530 MB (0%) D Isaac State: up Device /dev/ad0s1e Avail: 0/12982 MB (0%) 1 volumes: V 1 State: up Plexes: 1 Size: 42 GB 1 plexes: P 1.p0 C State: up Subdisks: 2 Size: 42 GB 2 subdisks: S 1.p0.s0 State: up PO: 0 B Size: 29 GB S 1.p0.s1 State: up PO: 29 GB Size: 12 GB Here's my configuration info: drive Abraham device /dev/da0s1f drive Isaac device /dev/ad0s1e volume 1 setupstate plex org concat sd length 0 drive Abraham sd length 0 drive Isaac # /dev/da0s1a: [...] 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 202752 0 4.2BSD 2048 16384 97 # (Cyl. 0 - 12*) b: 2099200 202752 swap # (Cyl. 12*- 143*) c: 71119692 0 unused 0 0 # (Cyl. 0 - 4426*) e: 6291456 2301952 4.2BSD 2048 16384 89 # (Cyl. 143*- 534*) f: 62526284 8593408 vinum # (Cyl. 534*- 4426*) # /dev/ad0s1e: [...] 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 26587512 0 unused 0 0 # (Cyl. 0 - 1654*) e: 26587512 0 vinum # (Cyl. 0 - 1654*) Thanks for your time, Greg. -Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message