From owner-freebsd-geom@FreeBSD.ORG Mon Mar 28 03:04:16 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACACA16A4CE for ; Mon, 28 Mar 2005 03:04:16 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 336A043D31 for ; Mon, 28 Mar 2005 03:04:16 +0000 (GMT) (envelope-from jclaeson@gmail.com) Received: by rproxy.gmail.com with SMTP id 40so870473rnz for ; Sun, 27 Mar 2005 19:04:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=pbVXcVQKWind6whzFjr/vPQc3VMGD+IAcgNfxNpnf24pGy853brxCVdEzG4ZBbhUGB2yA3l45COM6Zo5TxdJV8YFnk7rRV5oqLQggV1XYcQnDD2twZhSGzzC03jVWKMzASUSpOJUIreyUpH9xB9L5GODZ4/uC3ONeQmudVnKd6U= Received: by 10.38.206.58 with SMTP id d58mr3847067rng; Sun, 27 Mar 2005 19:04:15 -0800 (PST) Received: by 10.38.179.4 with HTTP; Sun, 27 Mar 2005 19:04:15 -0800 (PST) Message-ID: <16a400ac05032719041880e998@mail.gmail.com> Date: Sun, 27 Mar 2005 22:04:15 -0500 From: Jeremy Claeson To: freebsd-geom@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Newbie help on geom mirror setup X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeremy Claeson List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 03:04:16 -0000 I've not yet figured out how to set up even on instance of the geom mirror using either procedure found at: http://people.freebsd.org/~rse/mirror/. Here's what I'm trying to do: I'm upgrading my Samba server by adding some storage. I've got two 250GB drives that I'd like to software raid and one 40 GB system drive that I'm leaving alone. When it comes to working with disks, I've always been a sysinstall kinda guy. Until I started this project o' mine, I'd never even heard of bsdlabel, geom, etc. What I'm looking for is some very basic understanding of what steps to take for a non-system disk geom mirror; what shape my disks need to be in at the start; what I need to do with bsdlabel, etc. Here's where I keep failing: the step where I use bsdlabel. If I do "bsdlabel -w -B /dev/mirror/gm0s1", I get an error "Geom not found". What should I do in "bsdlabel -e /dev/mirror/gm0s1"? My other disk looks like this: # /dev/ad4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 488392002 0 unused 0 0 # "raw" part, don't edit d: 488392002 0 4.2BSD 2048 16384 28552 If I try to make the gm0s1 look like that, I get an error message as well. Thanks, folks, for the help!!!