Date: Thu, 1 Aug 2002 10:04:27 -0500 From: Drew Raines <drew-dated-1028646153.33b208@rain3s.net> To: Greg 'groggy' Lehey <grog@FreeBSD.org> Cc: freebsd-questions@freebsd.org Subject: Re: Striped Vinum on two drives Message-ID: <20020801150427.GJ26818@mail.rain3s.net> In-Reply-To: <20020801010118.GM17787@wantadilla.lemis.com> References: <20020731211840.GN19920@mail.rain3s.net> <20020801010118.GM17787@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020801150427.GJ26818>