Date: Fri, 29 Oct 1999 17:34:57 -0400 From: Greg Lehey <grog@lemis.com> To: "Marcelo J. Iturbe" <marcelo@msm.cl>, freebsd-questions@FreeBSD.ORG Subject: Re: Newbie needs help with devices and vinum Message-ID: <19991029173457.56548@mojave.sitaranetworks.com> In-Reply-To: <4.2.0.58.19991029175211.01636f00@server>; from Marcelo J. Iturbe on Fri, Oct 29, 1999 at 06:04:04PM -0400 References: <4.2.0.58.19991029175211.01636f00@server>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 29 October 1999 at 18:04:04 -0400, Marcelo J. Iturbe wrote: > Hello, > I am quite experienced in Linux (Slackware) but brand new to FreeBSD and I > have a few questions. > In Linux, scsi devices had IDs like sda, sdb, etc and partitions had names > like sda1, sda2 etc. > In FreeBSD I find myself with many more options and devices, I assume that > da0 is my first scsi drive and if da0s1 would be a partition on then what > are da0h, da0g, etc... or a more important question is where can I rad up > on it??! The thing that's probably confusing you is that FreeBSD subdivides the partitions in the partition table, rather in the same way that Microsoft puts multiple "logical" partitions in a "physical" partition. We call the "physical" partitions "slices", and the "logical" partitions just plain partitions. /dev/da0s1e is partition e of slice 1 of the first da (SCSI) drive. > The reason for all this is because I am trying to install vinum, I > have two 9 gig scsi drives and I would like have them mirror each > other. If fstab shows these partitions mounted as da0s1a, da0s1b, > etc then what would be a proper config file for vinum? I did not > find that vinum manual all that easy to read through. > > I know it has to look something like > drive c device /dev/da0h > drive d device /dev/da1h > volume stripe > plex org striped 512k > sd length 4096m drive a > sd length 4096m drive b > sd length 4096m drive c > sd length 4096m drive d > > or something like that... That looks fine, except that you also need to define drives a and b :-) If you only have two drives, and they're both the same size, you can say vinum stripe /dev/da0h /dev/da1h See the (illegible) man page for further details. You issue this as a command, you don't put it into your config file. Before you do any of this, you first need to label your drives. Use fdisk and disklabel to do this. Make sure you make your Vinum partitions of type "vinum", or you won't be able to configure them. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers 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?19991029173457.56548>