From owner-freebsd-geom@FreeBSD.ORG Sun Mar 27 12:19:52 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 BEBD616A4CE for ; Sun, 27 Mar 2005 12:19:52 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E2CA43D58 for ; Sun, 27 Mar 2005 12:19:52 +0000 (GMT) (envelope-from mcdonald.ryan@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so71543wra for ; Sun, 27 Mar 2005 04:19:51 -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=nB5CGC2YMga7uDpLkDuhXsdd5n408eKUuqfs3DAQXHYVcJNiCzmlWc5StlsOEFzeesXXu4RUsCFNO48cTCEr1ODPDlzm+yi30ynzLLpCMeYohMQeJ2P52dCPpYUyGu/q3p149UGS3ee2BQAXfnmynVhXXBt76kDe/6OCwn1oRi4= Received: by 10.54.22.19 with SMTP id 19mr1566494wrv; Sun, 27 Mar 2005 04:19:51 -0800 (PST) Received: by 10.54.51.39 with HTTP; Sun, 27 Mar 2005 04:19:51 -0800 (PST) Message-ID: Date: Sun, 27 Mar 2005 06:19:51 -0600 From: Ryan McDonald To: freebsd-geom@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Reliable RAID5 yet? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ryan McDonald List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2005 12:19:52 -0000 I have done what I *think* is an exhaustive amount of reading about geom and vinum concerning RAID5. My question is this. Is there a reliable RAID5 solution under geom? I know you can do it vinum but I'm afraid to use vinum as it seems its on the way out (being replaced by geom). I'm a recent Linux defector and RAID5 was pretty darn simple over there. I want to build an array that I will have for a very long time to come and I'm afraid if I build it with vinum, a new release of FreeBSD in the future will drop support for it. If any of you guru's were building a software RAID5, how would you do it? I do NOT want to use a hardware RAID5 card. -Ryan From owner-freebsd-geom@FreeBSD.ORG Sun Mar 27 14:07:00 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 3A2A716A4CE for ; Sun, 27 Mar 2005 14:07:00 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id D655A43D2F for ; Sun, 27 Mar 2005 14:06:59 +0000 (GMT) (envelope-from des@des.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IE0000ZJKAF9P90@bgo1smout1.broadpark.no> for freebsd-geom@freebsd.org; Sun, 27 Mar 2005 16:01:27 +0200 (CEST) Received: from dsa.des.no ([80.203.228.37]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IE0004V2KM9X8C0@bgo1sminn1.broadpark.no> for freebsd-geom@freebsd.org; Sun, 27 Mar 2005 16:08:33 +0200 (CEST) Received: by dsa.des.no (Pony Express, from userid 666) id 7538FBDC4B; Sun, 27 Mar 2005 16:06:58 +0200 (CEST) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id 105C4BDC37; Sun, 27 Mar 2005 16:06:55 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id D6EB733C3E; Sun, 27 Mar 2005 16:06:54 +0200 (CEST) Date: Sun, 27 Mar 2005 16:06:54 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: To: Ryan McDonald Message-id: <864qexw5c1.fsf@xps.des.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dsa.des.no References: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.0.2 X-Spam-Level: cc: freebsd-geom@freebsd.org Subject: Re: Reliable RAID5 yet? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2005 14:07:00 -0000 Ryan McDonald writes: > I have done what I *think* is an exhaustive amount of reading about > geom and vinum concerning RAID5. My question is this. Is there a > reliable RAID5 solution under geom? I know you can do it vinum but > I'm afraid to use vinum as it seems its on the way out (being replaced > by geom). You are mistaken. Vinum is alive and well and isn't going away anytime soon. GEOM, by the way, is spelled GEOM (upper-case); a geom (lower-case) is an instance of a GEOM class. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no 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!!! From owner-freebsd-geom@FreeBSD.ORG Tue Mar 29 02:43:26 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 70FED16A4CE for ; Tue, 29 Mar 2005 02:43:26 +0000 (GMT) Received: from hotmail.com (bay102-f27.bay102.hotmail.com [64.4.61.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52A3043D39 for ; Tue, 29 Mar 2005 02:43:26 +0000 (GMT) (envelope-from endir@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 28 Mar 2005 18:43:26 -0800 Message-ID: Received: from 64.4.61.200 by by102fd.bay102.hotmail.msn.com with HTTP; Tue, 29 Mar 2005 02:43:25 GMT X-Originating-IP: [64.4.61.200] X-Originating-Email: [endir@hotmail.com] X-Sender: endir@hotmail.com From: "Dave ." To: freebsd-geom@freebsd.org Date: Mon, 28 Mar 2005 20:43:25 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 29 Mar 2005 02:43:26.0165 (UTC) FILETIME=[1500C850:01C53409] Subject: gbde init -f X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 02:43:26 -0000 Greetings, i am trying to setup GBDE to use a file for decryption and i am running into some problems. i think i have the syntax down correctly, because if i use a pretty generic ascii file with only a few standard characters--it'll work. If i try and use, anything with a lot of characters or, ideally, random data--then i get a core dump before the password input for creating the lock file. i am cuerous if the -f function is known to be stable or not? I have tried this with an updated 5_3 and from an install cd of 5.4-beta1. both provide the same results. Would the fact that this is an SMP system effect it? (i have tried it with SMP builtinto the kernel and without SMP, again, same results) this is my input, and it'll crash just after i enter this: gbde init /dev/ad0s3d -i -f /file/namehere "I calculated the odds of this succeeding versus doing something very stupid, and I decided to go ahead anyway." -MST3k From owner-freebsd-geom@FreeBSD.ORG Sat Apr 2 01:09:14 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 EA29416A4CE for ; Sat, 2 Apr 2005 01:09:14 +0000 (GMT) Received: from afields.ca (afields.ca [216.194.67.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD35543D3F for ; Sat, 2 Apr 2005 01:09:14 +0000 (GMT) (envelope-from afields@afields.ca) Received: from afields.ca (localhost.afields.ca [127.0.0.1]) by afields.ca (8.12.11/8.12.11) with ESMTP id j3219EsR055828; Fri, 1 Apr 2005 20:09:14 -0500 (EST) (envelope-from afields@afields.ca) Received: (from afields@localhost) by afields.ca (8.12.11/8.12.11/Submit) id j3219EMF055827; Fri, 1 Apr 2005 20:09:14 -0500 (EST) (envelope-from afields) Date: Fri, 1 Apr 2005 20:09:13 -0500 From: Allan Fields To: "Dave ." Message-ID: <20050402010913.GG47383@afields.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i cc: freebsd-geom@freebsd.org Subject: Re: gbde init -f X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 01:09:15 -0000 On Mon, Mar 28, 2005 at 08:43:25PM -0600, Dave . wrote: > Greetings, > > i am trying to setup GBDE to use a file for decryption and i am running > into some problems. i think i have the syntax down correctly [...] no.. since: -f Not the option to use passphrase material from file. Patches are available to do this previously posted to list. it would be -k and -K > this is my input, and it'll crash just after i enter this: > gbde init /dev/ad0s3d -i -f /file/namehere Probably gdbe(8) tries to parse for key=value pairs in /file/namehere and a bug causes random data to crash it. -- Allan Fields, AFRSL - http://afields.ca 2D4F 6806 D307 0889 6125 C31D F745 0D72 39B4 5541 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!!!