From owner-freebsd-geom@FreeBSD.ORG Sat Apr 2 17:09:30 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 36BD916A4CE for ; Sat, 2 Apr 2005 17:09:30 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAFC043D4C for ; Sat, 2 Apr 2005 17:09:29 +0000 (GMT) (envelope-from jclaeson@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so55097nzk for ; Sat, 02 Apr 2005 09:09:29 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=SkOcQ8Ivf506oM7KJkYXi9KWIhLmcaOrizyFhhAUncANDuy8PPtcZjSWLhNEBCxeE1JqXogx5A+znThl/CAPHWqZ2r8+Gt64FXXvUTbIkXTv73IhhyN904zB8wggJsmMlQkF+I3iOMYf1Qzjk4R5ZUVzkRrT4nY92q+88sjTuiI= Received: by 10.36.90.20 with SMTP id n20mr11112nzb; Sat, 02 Apr 2005 09:09:29 -0800 (PST) Received: by 10.36.103.4 with HTTP; Sat, 2 Apr 2005 09:09:29 -0800 (PST) Message-ID: <16a400ac05040209091cf0dc77@mail.gmail.com> Date: Sat, 2 Apr 2005 12:09:29 -0500 From: Jeremy Claeson To: freebsd-geom@freebsd.org In-Reply-To: <16a400ac05032719041880e998@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <16a400ac05032719041880e998@mail.gmail.com> Subject: Fwd: 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: Sat, 02 Apr 2005 17:09:30 -0000 Hello? Anyone out there? Can anyone help me out here? Thanks! ---------- Forwarded message ---------- From: Jeremy Claeson Date: Mar 27, 2005 10:04 PM Subject: Newbie help on geom mirror setup To: freebsd-geom@freebsd.org 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!!!