From owner-freebsd-geom@FreeBSD.ORG Mon Apr 30 11:08:10 2007 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B65F16A420 for ; Mon, 30 Apr 2007 11:08:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1B95813C489 for ; Mon, 30 Apr 2007 11:08:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3UB89XM006915 for ; Mon, 30 Apr 2007 11:08:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3UB88OB006911 for freebsd-geom@FreeBSD.org; Mon, 30 Apr 2007 11:08:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Apr 2007 11:08:08 GMT Message-Id: <200704301108.l3UB88OB006911@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 11:08:10 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/73177 geom kldload geom_* causes panic due to memory exhaustion o kern/76538 geom [gbde] nfs-write on gbde partition stalls and continue o kern/83464 geom [geom] [patch] Unhandled malloc failures within libgeo o kern/84556 geom [geom] GBDE-encrypted swap causes panic at shutdown o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/89102 geom [geom_vfs] [panic] panic when forced unmount FS from u o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/90582 geom [geom_mirror] [panic] Restore cause panic string (ffs_ o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML 10 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/78131 geom gbde "destroy" not working. o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/94632 geom [geom] Kernel output resets input while GELI asks for f kern/105390 geom [geli] filesystem on a md backed by sparse file with s o kern/107707 geom [geom] [patch] add new class geom_xbox360 to slice up p bin/110705 geom gmirror control utility does not exit with correct exi 6 problems total. From owner-freebsd-geom@FreeBSD.ORG Tue May 1 12:51:23 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3140A16A406 for ; Tue, 1 May 2007 12:51:23 +0000 (UTC) (envelope-from F.Haarman@giessen.nl) Received: from mail02.net.giessen.nl (mail.giessen.nl [213.53.114.21]) by mx1.freebsd.org (Postfix) with SMTP id 188BB13C45E for ; Tue, 1 May 2007 12:51:21 +0000 (UTC) (envelope-from F.Haarman@giessen.nl) Received: (qmail 69345 invoked from network); 1 May 2007 13:57:39 -0000 Received: from unknown (HELO dg-exch1.giessen.nl) (172.16.10.11) by 0 with SMTP; 1 May 2007 13:57:39 -0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 Content-Class: urn:content-classes:message MIME-Version: 1.0 Importance: normal Priority: normal Date: Tue, 1 May 2007 14:24:38 +0200 Message-ID: <2DC959620A73E842969792F5B47FCA01037D44DC@dg-exch1.giessen.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: gmirror magic ? thread-index: AceL66/WtBJJaEGkRtKwmHG5kbx6EA== From: "Frans Haarman" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gmirror magic ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 12:51:23 -0000 Can someone explain this to me ? I was testing gmirror/gstripe and decided to remove the vnode files stripe0 & stripe1. This resulted in a mirror which kept on working..... /dev/mirror/mirro0 on /mnt (ufs, local) DEVEL# ls /mnt/ .snap anders test testje DEVEL# ls /data/STRIPING/ create-image-file mnt mnt0 mnt1 DEVEL# mdconfig -l -u md1 md1 vnode 512M /data/STRIPING/stripe0 DEVEL# mdconfig -l -u md2 md2 vnode 512M /data/STRIPING/stripe1 DEVEL# mdconfig -l -u md123 md123 vnode 512M /data/STRIPING/stripe1 DEVEL# gmirror status Name Status Components mirror/mirro0 COMPLETE md2 md123 DEVEL# dd if=/dev/zero of=where-does-this-go bs=1m count=512 /mnt: write failed, filesystem is full dd: where-does-this-go: No space left on device 431+0 records in 430+0 records out 450887680 bytes transferred in 67.178881 secs (6711747 bytes/sec) DEVEL# This seems quite strange to me :) Its probably the way vnode disks are attached to the filesystem ? Frans Haarman De Giessen Automatisering B.V. Technische Dienst Telefoon : (0184) 67 53 75 Fax : (0184) 61 12 46 E-mail : servicedesk@giessen.nl Website : www.giessen.nl Algemeen Tel : (0184) 67 54 00 d u i d e l i j k e t a a l ! From owner-freebsd-geom@FreeBSD.ORG Tue May 1 13:03:26 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A35D616A402 for ; Tue, 1 May 2007 13:03:26 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7A12B13C457 for ; Tue, 1 May 2007 13:03:26 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.centtech.com (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l41D3Onn012596; Tue, 1 May 2007 08:03:25 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46373A9C.8020106@freebsd.org> Date: Tue, 01 May 2007 08:03:24 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: Frans Haarman References: <2DC959620A73E842969792F5B47FCA01037D44DC@dg-exch1.giessen.nl> In-Reply-To: <2DC959620A73E842969792F5B47FCA01037D44DC@dg-exch1.giessen.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3188/Tue May 1 05:24:57 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-geom@freebsd.org Subject: Re: gmirror magic ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 13:03:26 -0000 On 05/01/07 07:24, Frans Haarman wrote: > Can someone explain this to me ? I was testing gmirror/gstripe and > decided to > remove the vnode files stripe0 & stripe1. This resulted in a mirror > which kept on > working..... > > > /dev/mirror/mirro0 on /mnt (ufs, local) > > DEVEL# ls /mnt/ > .snap anders test testje > > DEVEL# ls /data/STRIPING/ > create-image-file mnt mnt0 > mnt1 > > > DEVEL# mdconfig -l -u md1 > md1 vnode 512M /data/STRIPING/stripe0 > DEVEL# mdconfig -l -u md2 > md2 vnode 512M /data/STRIPING/stripe1 > DEVEL# mdconfig -l -u md123 > md123 vnode 512M /data/STRIPING/stripe1 Does that look right to you? You have 2 md devices using the same file? > DEVEL# gmirror status > Name Status Components > mirror/mirro0 COMPLETE md2 > md123 Where exactly does the gstripe come in? > DEVEL# dd if=/dev/zero of=where-does-this-go bs=1m count=512 I'm assuming your cwd was /mnt? > /mnt: write failed, filesystem is full > dd: where-does-this-go: No space left on device > 431+0 records in > 430+0 records out > 450887680 bytes transferred in 67.178881 secs (6711747 bytes/sec) > DEVEL# Ok - looks about right to me. You had a 512M mirror, and you wrote enough to fill the file system up.. ? Right? > This seems quite strange to me :) Its probably the way vnode disks are > attached > to the filesystem ? I'm missing something. You might try to paint a bit clearer picture, as it's pretty hard to understand what exactly we should be looking for.. Eric From owner-freebsd-geom@FreeBSD.ORG Tue May 1 13:18:33 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB59916A402 for ; Tue, 1 May 2007 13:18:33 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30306.mail.mud.yahoo.com (web30306.mail.mud.yahoo.com [209.191.69.68]) by mx1.freebsd.org (Postfix) with SMTP id 7E79513C44C for ; Tue, 1 May 2007 13:18:33 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 636 invoked by uid 60001); 1 May 2007 13:18:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=tgCAFc09xX3wywbsftlIodmFSVcFhlKzuMN2s4CjoLNV0C3XDqC347Rfh6GlZFyLbVN1qy0zgB9+e/fdm9fR7Uvs0S5CcBleWC/37F6fjPUuD4WR+6AHRSp9nFdQs49qw9IYoK5k2vWjfh/d6vES8RpDE8ORddjUqw9EX/A/0QQ=; X-YMail-OSG: q6FtBrAVM1mhmSoGbiPQVYMJuWI.PrIRVkKXPFEM.A7ybQ9Yo_Zip0bYb8pDop9g6blOahW81PXOr6_NHy8jZo0URNmTjtTlTqrB2zY2APJ5kEmYfXToBhqjDcaSLA-- Received: from [213.54.5.219] by web30306.mail.mud.yahoo.com via HTTP; Tue, 01 May 2007 06:18:32 PDT Date: Tue, 1 May 2007 06:18:32 -0700 (PDT) From: Arne "Wörner" To: Eric Anderson , Frans Haarman In-Reply-To: <46373A9C.8020106@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <113923.97279.qm@web30306.mail.mud.yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re: gmirror magic ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 13:18:33 -0000 --- Eric Anderson wrote: > On 05/01/07 07:24, Frans Haarman wrote: > > Can someone explain this to me ? I was testing gmirror/gstripe and > > decided to > > remove the vnode files stripe0 & stripe1. This resulted in a mirror > > which kept on > > working..... > > So the files that the md devices r based on r away? But while md still exists, the inode still exists... So: In their directory those files r deleted, but in the file system their inode still exists. That is why the md devices r still there and why the gmirror can still write to them... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Tue May 1 13:28:41 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D8C516A400 for ; Tue, 1 May 2007 13:28:41 +0000 (UTC) (envelope-from F.Haarman@giessen.nl) Received: from mail02.net.giessen.nl (mail.giessen.nl [213.53.114.21]) by mx1.freebsd.org (Postfix) with SMTP id 0DB8313C459 for ; Tue, 1 May 2007 13:28:40 +0000 (UTC) (envelope-from F.Haarman@giessen.nl) Received: (qmail 76800 invoked from network); 1 May 2007 15:01:38 -0000 Received: from unknown (HELO dg-exch1.giessen.nl) (172.16.10.11) by 0 with SMTP; 1 May 2007 15:01:38 -0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Importance: normal Priority: normal Date: Tue, 1 May 2007 15:28:38 +0200 Message-ID: <2DC959620A73E842969792F5B47FCA01037D44DD@dg-exch1.giessen.nl> In-Reply-To: <46373A9C.8020106@freebsd.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: gmirror magic ? thread-index: AceL8SC+nOMKFQ5DTe+teZFCVkVpGgAAw2VQ From: "Frans Haarman" To: Subject: RE: gmirror magic ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 13:28:41 -0000 Excuse my ignorance, What I tried was removing a file on disk which was attached as a "md vnode". I assumed removing the file on disk will "kill" the "md vnode" but it does not. It seems this has nothing todo with gmirror/gstripe but the way md vnodes work! Frans Haarman De Giessen Automatisering B.V. Technische Dienst Telefoon : (0184) 67 53 75 Fax : (0184) 61 12 46 E-mail : servicedesk@giessen.nl Website : www.giessen.nl Algemeen Tel : (0184) 67 54 00 d u i d e l i j k e t a a l ! -----Oorspronkelijk bericht----- Van: Eric Anderson [mailto:anderson@freebsd.org] Verzonden: dinsdag 1 mei 2007 15:03 Aan: Frans Haarman CC: freebsd-geom@freebsd.org Onderwerp: Re: gmirror magic ? On 05/01/07 07:24, Frans Haarman wrote: > Can someone explain this to me ? I was testing gmirror/gstripe and > decided to remove the vnode files stripe0 & stripe1. This resulted in > a mirror which kept on working..... > > > /dev/mirror/mirro0 on /mnt (ufs, local) > > DEVEL# ls /mnt/ > .snap anders test testje > > DEVEL# ls /data/STRIPING/ > create-image-file mnt mnt0 > mnt1 > > > DEVEL# mdconfig -l -u md1 > md1 vnode 512M /data/STRIPING/stripe0 > DEVEL# mdconfig -l -u md2 > md2 vnode 512M /data/STRIPING/stripe1 > DEVEL# mdconfig -l -u md123 > md123 vnode 512M /data/STRIPING/stripe1 Does that look right to you? You have 2 md devices using the same file? > DEVEL# gmirror status > Name Status Components > mirror/mirro0 COMPLETE md2 > md123 Where exactly does the gstripe come in? > DEVEL# dd if=/dev/zero of=where-does-this-go bs=1m count=512 I'm assuming your cwd was /mnt? > /mnt: write failed, filesystem is full > dd: where-does-this-go: No space left on device > 431+0 records in > 430+0 records out > 450887680 bytes transferred in 67.178881 secs (6711747 bytes/sec) > DEVEL# Ok - looks about right to me. You had a 512M mirror, and you wrote enough to fill the file system up.. ? Right? > This seems quite strange to me :) Its probably the way vnode disks are > attached to the filesystem ? I'm missing something. You might try to paint a bit clearer picture, as it's pretty hard to understand what exactly we should be looking for.. Eric From owner-freebsd-geom@FreeBSD.ORG Tue May 1 13:39:15 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8AD0416A406 for ; Tue, 1 May 2007 13:39:15 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 61AB813C483 for ; Tue, 1 May 2007 13:39:15 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.centtech.com (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.8/8.13.8) with ESMTP id l41DdDaw006007; Tue, 1 May 2007 08:39:13 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46374301.1080406@freebsd.org> Date: Tue, 01 May 2007 08:39:13 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: Frans Haarman References: <2DC959620A73E842969792F5B47FCA01037D44DD@dg-exch1.giessen.nl> In-Reply-To: <2DC959620A73E842969792F5B47FCA01037D44DD@dg-exch1.giessen.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3188/Tue May 1 05:24:57 2007 on mh2.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh2.centtech.com Cc: freebsd-geom@freebsd.org Subject: Re: gmirror magic ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 13:39:15 -0000 On 05/01/07 08:28, Frans Haarman wrote: > Excuse my ignorance, > > What I tried was removing a file on disk which > was attached as a "md vnode". > > I assumed removing the file on disk will "kill" > the "md vnode" but it does not. > > It seems this has nothing todo with gmirror/gstripe > but the way md vnodes work! It's the way all files in UFS work - if it's in use, and it gets removed, the directory entry goes away, but the data stays there until all references are gone. Once they are all gone, the data blocks get recycled too. Eric From owner-freebsd-geom@FreeBSD.ORG Thu May 3 17:30:46 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60C2016A401 for ; Thu, 3 May 2007 17:30:46 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id 20BAC13C4BC for ; Thu, 3 May 2007 17:30:45 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1Hjeqg-00023W-Kd for freebsd-geom@freebsd.org; Thu, 03 May 2007 20:12:10 +0300 Date: Thu, 3 May 2007 20:12:26 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <1003497296.20070503201226@uzvik.kiev.ua> To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 17:30:46 -0000 Hi, I want migrate(after two after-reboot-crashes) from gvinum to graid5. I take graid5 from this url: http://home.tiscali.de/cmdr_faako/geom_raid5.tbz and trying to compile it using this guide: http://www.freenas.org/downloads/docs/devel-docs/#d0e689 kernel module compiles OK. , but i meet troubles when I trying to compile geom_raid5.c [root@82 /usr/src/sbin/geom/class/raid5]# cd /usr/src/sbin/geom/class/raid5/ [root@82 /usr/src/sbin/geom/class/raid5]# [root@82 /usr/src/sbin/geom/class/raid5]# mkdir /usr/include/geom/raid5 [root@82 /usr/src/sbin/geom/class/raid5]# [root@82 /usr/src/sbin/geom/class/raid5]# cp /usr/src/sys/geom/raid5/g_raid5.h /usr/include/geom/raid5/ [root@82 /usr/src/sbin/geom/class/raid5]# [root@82 /usr/src/sbin/geom/class/raid5]# make depend [root@82 /usr/src/sbin/geom/class/raid5]# [root@82 /usr/src/sbin/geom/class/raid5]# make Warning: Object directory not changed from original /usr/src/sbin/geom/class/raid5 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [root@82 /usr/src/sbin/geom/class/raid5]# [root@82 /usr/src/sbin/geom/class/raid5]# make install [root@82 /usr/src/sbin/geom/class/raid5]# and after this graid5(at /sbin/graid5 and at any other location) doesn't created : ( Can you please help me solve this problem? From owner-freebsd-geom@FreeBSD.ORG Thu May 3 17:48:58 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8772F16A403 for ; Thu, 3 May 2007 17:48:58 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30301.mail.mud.yahoo.com (web30301.mail.mud.yahoo.com [209.191.69.63]) by mx1.freebsd.org (Postfix) with SMTP id 5183013C459 for ; Thu, 3 May 2007 17:48:58 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 46632 invoked by uid 60001); 3 May 2007 17:48:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=psSgwFncHgqUVbpa4LUjAv9O/XL8Ejue3cLqhblPrdokjTPy3HX8kGzGuwFoc6T8ETg73OVydI4Xc5lAsLZVID9VrDi1xXgUMyrkwbFrlB5tozU4Nq32GQ/u3ZIghcwmazDdjITSo42KzdsWoryLAH+2Is1LrZ0I3lE3vesM7aY=; X-YMail-OSG: O9CrUDoVM1m63dCCJ.tAjIv.2qWqEQELuHGUKrvu_i9TGPQKWO2AYALEz4xs1wArOtGiEtTFZ7BikwK7sSnS6KLB4ckH0rAw1RCra0MKRf.7ORZ1LqKw.3vxr9F.CQ-- Received: from [213.54.174.204] by web30301.mail.mud.yahoo.com via HTTP; Thu, 03 May 2007 10:48:57 PDT Date: Thu, 3 May 2007 10:48:57 -0700 (PDT) From: Arne "Wörner" To: deniswork , freebsd-geom@freebsd.org In-Reply-To: <1003497296.20070503201226@uzvik.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <571814.46202.qm@web30301.mail.mud.yahoo.com> Cc: Subject: Re: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 17:48:58 -0000 --- deniswork@uzvik.kiev.ua wrote: > Hi, I want migrate(after two after-reboot-crashes) from gvinum to > graid5. > Cool... I am glad to read that... > I take graid5 from this url: > > http://home.tiscali.de/cmdr_faako/geom_raid5.tbz > OK... > and trying to compile it using this guide: > http://www.freenas.org/downloads/docs/devel-docs/#d0e689 > > kernel module compiles OK. > , but i meet troubles when I > trying to compile geom_raid5.c > > [root@82 /usr/src/sbin/geom/class/raid5]# cd /usr/src/sbin/geom/class/raid5/ > [root@82 /usr/src/sbin/geom/class/raid5]# > [root@82 /usr/src/sbin/geom/class/raid5]# mkdir /usr/include/geom/raid5 > [root@82 /usr/src/sbin/geom/class/raid5]# > [root@82 /usr/src/sbin/geom/class/raid5]# cp > /usr/src/sys/geom/raid5/g_raid5.h /usr/include/geom/raid5/ > [root@82 /usr/src/sbin/geom/class/raid5]# > [root@82 /usr/src/sbin/geom/class/raid5]# make depend > [root@82 /usr/src/sbin/geom/class/raid5]# > [root@82 /usr/src/sbin/geom/class/raid5]# make > Warning: Object directory not changed from original > /usr/src/sbin/geom/class/raid5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This means nothing important, I would guess... I always ignored that... > and after this graid5(at /sbin/graid5 and at any other location) doesn't > created : ( > U can either use geom raid5 or u create the necessary hard link: ln /sbin/geom /sbin/graid5 > Can you please help me solve this problem? > Yup - I hope I did... :-) Have fun... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Thu May 3 19:10:52 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B44616A401 for ; Thu, 3 May 2007 19:10:52 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id 8B1E613C468 for ; Thu, 3 May 2007 19:10:51 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1HjghV-0008Ce-RG; Thu, 03 May 2007 22:10:49 +0300 Date: Thu, 3 May 2007 22:11:05 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <1744383069.20070503221105@uzvik.kiev.ua> To: =?ISO-8859-1?Q?Arne_W=F6rner?= In-Reply-To: <571814.46202.qm@web30301.mail.mud.yahoo.com> References: <1003497296.20070503201226@uzvik.kiev.ua> <571814.46202.qm@web30301.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re[2]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 19:10:52 -0000 Can you please advice how to create raid with graid5? I found on docs graid5 label -v -s 131072 data /dev/da0 /dev/da1 /dev/da2 /dev/da3 newfs /dev/raid5/data mount /dev/raid5/data /mnt So my attempt: $ geom raid5 label -v /dev/ad4 /dev/ad6 /dev/ad8 /dev/ad10 i get: Unknown command: label usage: geom raid5 help geom raid5 list [name ...] geom raid5 status [-s] [name ...] geom raid5 load [-v] geom raid5 unload [-v] Thanks! p.s. [root@82 /usr/src/sbin/geom/class/raid5]# kldstat Id Refs Address Size Name 1 6 0xc0400000 70794c kernel 2 1 0xc0b08000 11920 geom_vinum.ko 3 1 0xc0b1a000 59f20 acpi.ko 5 1 0xc8f43000 5000 geom_label.ko 6 1 0xc85e4000 13000 geom_raid5.ko > --- deniswork@uzvik.kiev.ua wrote: >> Hi, I want migrate(after two after-reboot-crashes) from gvinum to >> graid5. >> > Cool... I am glad to read that... >> I take graid5 from this url: >> >> http://home.tiscali.de/cmdr_faako/geom_raid5.tbz >> > OK... =20 >> and trying to compile it using this guide: >> http://www.freenas.org/downloads/docs/devel-docs/#d0e689 >>=20 >> kernel module compiles OK. >> , but i meet troubles when I >> trying to compile geom_raid5.c >>=20 >> [root@82 /usr/src/sbin/geom/class/raid5]# cd /usr/src/sbin/geom/class/ra= id5/ >> [root@82 /usr/src/sbin/geom/class/raid5]# >> [root@82 /usr/src/sbin/geom/class/raid5]# mkdir /usr/include/geom/raid5 >> [root@82 /usr/src/sbin/geom/class/raid5]# >> [root@82 /usr/src/sbin/geom/class/raid5]# cp >> /usr/src/sys/geom/raid5/g_raid5.h /usr/include/geom/raid5/ >> [root@82 /usr/src/sbin/geom/class/raid5]# >> [root@82 /usr/src/sbin/geom/class/raid5]# make depend >> [root@82 /usr/src/sbin/geom/class/raid5]# >> [root@82 /usr/src/sbin/geom/class/raid5]# make >> Warning: Object directory not changed from original >> /usr/src/sbin/geom/class/raid5 >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> > This means nothing important, I would guess... I always ignored that... >> and after this graid5(at /sbin/graid5 and at any other location) doesn't >> created : ( >>=20 > U can either use > geom raid5 > or u create the necessary hard link: > ln /sbin/geom /sbin/graid5 >> Can you please help me solve this problem? >>=20 > Yup - I hope I did... :-) > Have fun... > -Arne From owner-freebsd-geom@FreeBSD.ORG Thu May 3 19:15:51 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4713B16A402 for ; Thu, 3 May 2007 19:15:51 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id 025FF13C45A for ; Thu, 3 May 2007 19:15:50 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1HjgmM-0008Vv-1L; Thu, 03 May 2007 22:15:50 +0300 Date: Thu, 3 May 2007 22:16:05 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <1355457833.20070503221605@uzvik.kiev.ua> To: =?ISO-8859-1?Q?Arne_W=F6rner?= In-Reply-To: <571814.46202.qm@web30301.mail.mud.yahoo.com> References: <1003497296.20070503201226@uzvik.kiev.ua> <571814.46202.qm@web30301.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re[2]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 19:15:51 -0000 Btw, after make install on geom_raid5.c i'm unable locate geom_raid5.so at system. And I thing I need copy it to /lib/geom as described in guide > --- deniswork@uzvik.kiev.ua wrote: >> Hi, I want migrate(after two after-reboot-crashes) from gvinum to >> graid5. >> > Cool... I am glad to read that... >> I take graid5 from this url: >> >> http://home.tiscali.de/cmdr_faako/geom_raid5.tbz >> > OK... =20 >> and trying to compile it using this guide: >> http://www.freenas.org/downloads/docs/devel-docs/#d0e689 >>=20 >> kernel module compiles OK. >> , but i meet troubles when I >> trying to compile geom_raid5.c >>=20 >> [root@82 /usr/src/sbin/geom/class/raid5]# cd /usr/src/sbin/geom/class/ra= id5/ >> [root@82 /usr/src/sbin/geom/class/raid5]# >> [root@82 /usr/src/sbin/geom/class/raid5]# mkdir /usr/include/geom/raid5 >> [root@82 /usr/src/sbin/geom/class/raid5]# >> [root@82 /usr/src/sbin/geom/class/raid5]# cp >> /usr/src/sys/geom/raid5/g_raid5.h /usr/include/geom/raid5/ >> [root@82 /usr/src/sbin/geom/class/raid5]# >> [root@82 /usr/src/sbin/geom/class/raid5]# make depend >> [root@82 /usr/src/sbin/geom/class/raid5]# >> [root@82 /usr/src/sbin/geom/class/raid5]# make >> Warning: Object directory not changed from original >> /usr/src/sbin/geom/class/raid5 >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> > This means nothing important, I would guess... I always ignored that... >> and after this graid5(at /sbin/graid5 and at any other location) doesn't >> created : ( >>=20 > U can either use > geom raid5 > or u create the necessary hard link: > ln /sbin/geom /sbin/graid5 >> Can you please help me solve this problem? >>=20 > Yup - I hope I did... :-) > Have fun... > -Arne > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around=20 > http://mail.yahoo.com=20 From owner-freebsd-geom@FreeBSD.ORG Thu May 3 19:15:54 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D6C216A46E for ; Thu, 3 May 2007 19:15:54 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30311.mail.mud.yahoo.com (web30311.mail.mud.yahoo.com [209.191.69.73]) by mx1.freebsd.org (Postfix) with SMTP id F302113C455 for ; Thu, 3 May 2007 19:15:53 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 20073 invoked by uid 60001); 3 May 2007 19:15:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=drf3oEHP3zkL7vtk3JD7kVh8awA76X3SqoLcODUy87akhlzrz6MK/3+hfOtDAj+hoimjoumdNQfQvbdqRF9QtrDoJFGJuXDusNtliE+NEoEDOSQVxrCvpZuscE7m7A4EN/lzity8WKV08/Ojfm9MXsOLiag7L+XEBcaNDukiByA=; X-YMail-OSG: Lpk.L7sVM1knl8_Dj6aqL3I3vNTEETKZvAnL7Xw54wbWFmwJMh33mOOWJHx7pALw6y0ZCjozRULinRKhoPCAPaZxnNy9WjgbeXFy3nwV0dfVjPz.fJGS5uRyVA-- Received: from [213.54.174.204] by web30311.mail.mud.yahoo.com via HTTP; Thu, 03 May 2007 12:15:53 PDT Date: Thu, 3 May 2007 12:15:53 -0700 (PDT) From: Arne "Wörner" To: deniswork In-Reply-To: <1744383069.20070503221105@uzvik.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <355458.19183.qm@web30311.mail.mud.yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re: Re[2]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 19:15:54 -0000 --- deniswork@uzvik.kiev.ua wrote: > Can you please advice how to create raid with graid5? > I found on docs > graid5 label -v -s 131072 data /dev/da0 /dev/da1 /dev/da2 /dev/da3 > newfs /dev/raid5/data > mount /dev/raid5/data /mnt > Yup - looks good... > So my attempt: > $ geom raid5 label -v /dev/ad4 /dev/ad6 /dev/ad8 /dev/ad10 > i get: > Unknown command: label > usage: geom raid5 help > geom raid5 list [name ...] > geom raid5 status [-s] [name ...] > geom raid5 load [-v] > geom raid5 unload [-v] > Looks like u do not have the user-land library installed: % cd /usr/src/sbin/geom/class/raid5 % make && make install Then u should have this file: /lib/geom/geom_raid5.so -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Thu May 3 19:17:50 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BFDA16A400 for ; Thu, 3 May 2007 19:17:50 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id DD6C713C480 for ; Thu, 3 May 2007 19:17:49 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1HjgoH-0000Bp-2R; Thu, 03 May 2007 22:17:49 +0300 Date: Thu, 3 May 2007 22:18:04 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <1679825767.20070503221804@uzvik.kiev.ua> To: =?ISO-8859-1?Q?Arne_W=F6rner?= In-Reply-To: <355458.19183.qm@web30311.mail.mud.yahoo.com> References: <1744383069.20070503221105@uzvik.kiev.ua> <355458.19183.qm@web30311.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re[4]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 19:17:50 -0000 > Looks like u do not have the user-land library installed: > % cd /usr/src/sbin/geom/class/raid5 > % make && make install > Then u should have this file: > /lib/geom/geom_raid5.so I feel it didn't compiled: [root@82 /lib/geom]# cd /usr/src/sbin/geom/class/raid5 [root@82 /usr/src/sbin/geom/class/raid5]# make && make install Warning: Object directory not changed from original /usr/src/sbin/geom/clas= s/raid5 [root@82 /usr/src/sbin/geom/class/raid5]# ls /lib/geom/ geom_concat.so geom_label.so geom_nop.so geom_shsec.so geom_eli.so geom_mirror.so geom_raid3.so geom_stripe.so [root@82 /usr/src/sbin/geom/class/raid5]# From owner-freebsd-geom@FreeBSD.ORG Thu May 3 19:20:55 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D6FA16A507 for ; Thu, 3 May 2007 19:20:55 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30304.mail.mud.yahoo.com (web30304.mail.mud.yahoo.com [209.191.69.66]) by mx1.freebsd.org (Postfix) with SMTP id 07D7A13C455 for ; Thu, 3 May 2007 19:20:54 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 44435 invoked by uid 60001); 3 May 2007 19:20:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=jcrutvv7VrzZlOMLNJ4iMaD/QWTPG5H4DUR7yGdxuuZ0ol6a3rH26ngahswWxIEtWAElOPjLmzuQRm6q46lf/gH9iei/XH3/55eisZAZhIb/pfszTiMjj340AlLsIulBXcIA+kAKWoiMpTDxevpr6ESKn8qazDThdAnRSlc4/W8=; X-YMail-OSG: O49FuBQVM1lGrMmr8AsBn1TvM8PtBXMd6S9FHUBkcTGRwfucOz3yedtMw.M6XwzjrQ-- Received: from [213.54.174.204] by web30304.mail.mud.yahoo.com via HTTP; Thu, 03 May 2007 12:20:54 PDT Date: Thu, 3 May 2007 12:20:54 -0700 (PDT) From: Arne "Wörner" To: deniswork In-Reply-To: <1679825767.20070503221804@uzvik.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <595427.43219.qm@web30304.mail.mud.yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re: Re[4]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 19:20:55 -0000 --- deniswork@uzvik.kiev.ua wrote: > I feel it didn't compiled: > [root@82 /lib/geom]# cd /usr/src/sbin/geom/class/raid5 > [root@82 /usr/src/sbin/geom/class/raid5]# make && make install > Warning: Object directory not changed from original > /usr/src/sbin/geom/class/raid5 > [root@82 /usr/src/sbin/geom/class/raid5]# ls /lib/geom/ > geom_concat.so geom_label.so geom_nop.so geom_shsec.so > geom_eli.so geom_mirror.so geom_raid3.so geom_stripe.so > [root@82 /usr/src/sbin/geom/class/raid5]# > Hmm... What is in /usr/src/sbin/geom/class/raid5 ? Maybe it helps, when u do a "make clean" first? Then it should look like this: neo# cd /usr/src/sbin/geom/class/raid5 neo# make clean rm -f graid5.8.gz graid5.8.cat.gz rm -f geom_raid5.So subr.So geom_raid5.so subr.so geom_raid5.So.tmp subr.So.tmp rm -f geom_raid5.so neo# make depend neo# make Warning: Object directory not changed from original /usr/src/sbin/geom/class/raid5 cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I/usr/src/sbin/geom/class/raid5/../.. -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c geom_raid5.c -o geom_raid5.So make installcc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I/usr/src/sbin/geom/class/raid5/../.. -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /usr/src/sbin/geom/class/raid5/../../misc/subr.c -o subr.So building shared library geom_raid5.so gzip -cn graid5.8 > graid5.8.gz neo# make install install -s -o root -g wheel -m 444 geom_raid5.so /lib/geom install -o root -g wheel -m 444 graid5.8.gz /usr/share/man/man8 /sbin/graid5 -> /sbin/geom neo# ls .depend geom_raid5.So geom_raid5.so graid5.8.gz Makefile geom_raid5.c graid5.8 subr.So __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Thu May 3 19:32:53 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D4B516A408 for ; Thu, 3 May 2007 19:32:53 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id 8C88713C487 for ; Thu, 3 May 2007 19:32:52 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1Hjh2p-00019K-Hw; Thu, 03 May 2007 22:32:51 +0300 Date: Thu, 3 May 2007 22:33:07 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <1847971490.20070503223307@uzvik.kiev.ua> To: =?ISO-8859-1?Q?Arne_W=F6rner?= In-Reply-To: <595427.43219.qm@web30304.mail.mud.yahoo.com> References: <1679825767.20070503221804@uzvik.kiev.ua> <595427.43219.qm@web30304.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re[6]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 19:32:53 -0000 I see in your output line: /usr/src/sbin/geom/class/raid5/../../misc/subr.c -o subr.So But I have: [root@82 /usr/src/sbin/geom/class/raid5]# ls ../../ class > --- deniswork@uzvik.kiev.ua wrote: >> I feel it didn't compiled: >> [root@82 /lib/geom]# cd /usr/src/sbin/geom/class/raid5 >> [root@82 /usr/src/sbin/geom/class/raid5]# make && make install >> Warning: Object directory not changed from original >> /usr/src/sbin/geom/class/raid5 >> [root@82 /usr/src/sbin/geom/class/raid5]# ls /lib/geom/ >> geom_concat.so geom_label.so geom_nop.so geom_shsec.so >> geom_eli.so geom_mirror.so geom_raid3.so geom_stripe.so >> [root@82 /usr/src/sbin/geom/class/raid5]# >>=20 > Hmm... > What is in /usr/src/sbin/geom/class/raid5 ? > Maybe it helps, when u do a "make clean" first? > Then it should look like this: > neo# cd /usr/src/sbin/geom/class/raid5 > neo# make clean > rm -f graid5.8.gz graid5.8.cat.gz > rm -f geom_raid5.So subr.So geom_raid5.so subr.so geom_raid5.So.tmp subr.= So.tmp > rm -f geom_raid5.so > neo# make depend > neo# make > Warning: Object directory not changed from original > /usr/src/sbin/geom/class/raid5 > cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe=20 > -I/usr/src/sbin/geom/class/raid5/../.. -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-st= rings > -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winl= ine > -Wnested-externs -Wredundant-decls -c geom_raid5.c -o geom_raid5.So > make installcc -fpic -DPIC -O2 -fno-strict-aliasing -pipe=20 > -I/usr/src/sbin/geom/class/raid5/../.. -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-st= rings > -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winl= ine > -Wnested-externs -Wredundant-decls -c > /usr/src/sbin/geom/class/raid5/../../misc/subr.c -o subr.So From owner-freebsd-geom@FreeBSD.ORG Thu May 3 19:44:36 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1000716A400 for ; Thu, 3 May 2007 19:44:36 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30315.mail.mud.yahoo.com (web30315.mail.mud.yahoo.com [209.191.69.77]) by mx1.freebsd.org (Postfix) with SMTP id B64CC13C465 for ; Thu, 3 May 2007 19:44:33 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 84297 invoked by uid 60001); 3 May 2007 19:44:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Sq5g9WPyTpBHHG7Y9Lzoaw33UaLZ2d7+hmqd7GfD8xwURtD5SyizuXWxcH6H29pFjIl69ytfAe0FVAqM/jKcwTRioWxG8D6iQEbEF/yhWzTQuT/y/b1P6axUOdC9u6mcvI6CAbxjFu8RqnFFm+2mNl4ySz+sttBmy6fg2whq3xY=; X-YMail-OSG: Z8R9VzUVM1nAC7r11QjivcwtUINvzZHjcH5bL3ic3a.h4Iwu4FLQAo3ULPZf5K83gCjiozvm9fpvVcwoevdsKLMICI29VZOzLg1SazAhhIlx8s0- Received: from [213.54.174.204] by web30315.mail.mud.yahoo.com via HTTP; Thu, 03 May 2007 12:44:32 PDT Date: Thu, 3 May 2007 12:44:32 -0700 (PDT) From: Arne "Wörner" To: deniswork In-Reply-To: <1847971490.20070503223307@uzvik.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <971656.83802.qm@web30315.mail.mud.yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re: Re[6]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 19:44:36 -0000 --- deniswork@uzvik.kiev.ua wrote: > I see in your output line: > /usr/src/sbin/geom/class/raid5/../../misc/subr.c -o subr.So > > > But I have: > [root@82 /usr/src/sbin/geom/class/raid5]# ls ../../ > class > OK... U should install ur sbin src tree first... U can use sysinstall for that... Then u can unpack geom_raid5.tbz again and compile it... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Thu May 3 20:53:57 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B4E616A407 for ; Thu, 3 May 2007 20:53:57 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 4594513C44B for ; Thu, 3 May 2007 20:53:57 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so671757ana for ; Thu, 03 May 2007 13:53:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YoF7BjhCmzfuKS2mFO9anJ/PPl6tX6FHqyHLyFlswKasOL1bBQqjvwwA5MWtmILHv/KHJGtkzzPQgoqDkHrAuB9nm+HFtDtf0Lai/jKDisbyC9LiC+sq6b0NMcKe617tYr44chfGqAkxsl8JxCZkjZMx5PYzUJw85eX90eE4DGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FhCz3dk/YcK7pwsgEFTbm1OaGHLb3onnRPLj0TljsCphA/MxIsyRKreniVdrFvF+ILOYVQndrIC7tSCk1el0QWl2WDKJId5DMpEjfUuc9ONzDf0f1zO+IfdB99URYIEVz+zE1jDeKoihZchJWj0RV1RDAV25ohLv1QgFJzKlWvI= Received: by 10.100.197.15 with SMTP id u15mr2038334anf.1178223964188; Thu, 03 May 2007 13:26:04 -0700 (PDT) Received: by 10.100.141.14 with HTTP; Thu, 3 May 2007 13:26:04 -0700 (PDT) Message-ID: <790a9fff0705031326q8e3e408y8467a35a99bc2aea@mail.gmail.com> Date: Thu, 3 May 2007 15:26:04 -0500 From: "Scot Hetzel" To: "=?ISO-8859-1?Q?Arne_W=F6rner?=" In-Reply-To: <571814.46202.qm@web30301.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1003497296.20070503201226@uzvik.kiev.ua> <571814.46202.qm@web30301.mail.mud.yahoo.com> Cc: deniswork , freebsd-geom@freebsd.org Subject: Re: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 20:53:57 -0000 On 5/3/07, Arne W=F6rner wrote: > > [root@82 /usr/src/sbin/geom/class/raid5]# cd /usr/src/sbin/geom/class/r= aid5/ : > > [root@82 /usr/src/sbin/geom/class/raid5]# make depend > > [root@82 /usr/src/sbin/geom/class/raid5]# > > [root@82 /usr/src/sbin/geom/class/raid5]# make > > Warning: Object directory not changed from original > > /usr/src/sbin/geom/class/raid5 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > This means nothing important, I would guess... I always ignored that... > if you do a "make obj" before the make depend, then this warning will not appear. Scot --=20 DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. From owner-freebsd-geom@FreeBSD.ORG Thu May 3 23:28:46 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D6AD16A403 for ; Thu, 3 May 2007 23:28:46 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id 0AE2213C457 for ; Thu, 3 May 2007 23:28:45 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1Hjkj5-0006PM-Pc; Fri, 04 May 2007 02:28:43 +0300 Date: Fri, 4 May 2007 02:29:00 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <593515236.20070504022900@uzvik.kiev.ua> To: =?ISO-8859-1?Q?Arne_W=F6rner?= In-Reply-To: <971656.83802.qm@web30315.mail.mud.yahoo.com> References: <1847971490.20070503223307@uzvik.kiev.ua> <971656.83802.qm@web30315.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re[8]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 23:28:46 -0000 Thanks, this help! Another question: where graid5 store it settings? by mistake I added 3 discs instead of 4. And when I try to remove disc from raid array, $graid5 remove disc provider remote PC don't answer, and I must call to data-center to order ip-kvm to make reboot. I just wonder, can I remove some file, to clear up graid5 settings, and create my raid in proper way. Thanks for help! > OK... > U should install ur sbin src tree first... > U can use sysinstall for that... > Then u can unpack geom_raid5.tbz again and compile it... > -Arne From owner-freebsd-geom@FreeBSD.ORG Fri May 4 00:14:00 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0CE016A404 for ; Fri, 4 May 2007 00:14:00 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from auriate.fluffles.net (cust.95.160.adsl.cistron.nl [195.64.95.160]) by mx1.freebsd.org (Postfix) with ESMTP id 8844A13C44C for ; Fri, 4 May 2007 00:14:00 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from destiny ([10.0.0.21]) by auriate.fluffles.net with esmtpa (Exim 4.66 (FreeBSD)) (envelope-from ) id 1Hjl4B-000Fyf-9I; Fri, 04 May 2007 01:50:31 +0200 Message-ID: <463A7558.9090600@fluffles.net> Date: Fri, 04 May 2007 01:50:48 +0200 From: Fluffles User-Agent: Thunderbird 1.5.0.8 (X11/20061114) MIME-Version: 1.0 To: deniswork References: <1847971490.20070503223307@uzvik.kiev.ua> <971656.83802.qm@web30315.mail.mud.yahoo.com> <593515236.20070504022900@uzvik.kiev.ua> In-Reply-To: <593515236.20070504022900@uzvik.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?Arne_W=F6rner?= , freebsd-geom@freebsd.org Subject: Re: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 00:14:00 -0000 deniswork@uzvik.kiev.ua wrote: > Thanks, this help! > Another question: where graid5 store it settings? > Like other geom classes, geom_raid5 uses on-disk metadata to store all settings (stripesize, disk number, array size, array state, etc). You can view the stored metadata with command: graid5 dump ad4 (assuming ad4 is a graid5-disk) > I just wonder, can I remove some file, to clear up graid5 settings, > and create my raid in proper way. > To 'erase' these settings use "graid5 clear ad4". But remember that you cannot do this if the array is online; perhaps the easiest is making sure graid5 is not loaded automatically in /boot/loader.conf and then issuing a reboot. You can then clear all the disks which used to store metadata, and try again. Remember: you can still use the userland "graid5" binary utility even though the graid5 KLD-module is not loaded. This allows usage of the 'clear' command to achieve your goal. Good luck! - Veronica From owner-freebsd-geom@FreeBSD.ORG Fri May 4 01:17:00 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7752916A401 for ; Fri, 4 May 2007 01:17:00 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id F27FD13C44C for ; Fri, 4 May 2007 01:16:59 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from ednmsw510.dsto.defence.gov.au (ednmsw510.dsto.defence.gov.au [131.185.68.11]) by digger1.defence.gov.au (8.13.8/8.13.8) with ESMTP id l4417b1d024854 for ; Fri, 4 May 2007 10:37:37 +0930 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw510.dsto.defence.gov.au (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Fri, 4 May 2007 10:46:53 +0930 Received: from obelix.dsto.defence.gov.au ([203.6.60.208]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Fri, 4 May 2007 10:46:52 +0930 Received: from obelix.dsto.defence.gov.au (localhost [127.0.0.1]) by obelix.dsto.defence.gov.au (8.13.8/8.13.8) with ESMTP id l441GliO019048 for ; Fri, 4 May 2007 09:16:47 +0800 (WST) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by obelix.dsto.defence.gov.au (8.13.8/8.13.8/Submit) id l441GlDf019047 for freebsd-geom@freebsd.org; Fri, 4 May 2007 09:16:47 +0800 (WST) (envelope-from wilkinsa) Date: Fri, 4 May 2007 09:16:46 +0800 From: "Wilkinson, Alex" To: freebsd-geom@freebsd.org Message-ID: <20070504011646.GD15396@obelix.dsto.defence.gov.au> References: <1847971490.20070503223307@uzvik.kiev.ua> <971656.83802.qm@web30315.mail.mud.yahoo.com> <593515236.20070504022900@uzvik.kiev.ua> <463A7558.9090600@fluffles.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <463A7558.9090600@fluffles.net> User-Agent: Mutt/1.5.14 (2007-02-12) X-OriginalArrivalTime: 04 May 2007 01:16:53.0114 (UTC) FILETIME=[E62095A0:01C78DE9] X-TM-AS-Product-Ver: SMEX-7.0.0.1526-3.6.1039-15154.000 X-TM-AS-Result: No--3.322300-8.000000-31 Content-Transfer-Encoding: 7bit Subject: Re: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 01:17:00 -0000 0n Fri, May 04, 2007 at 01:50:48AM +0200, Fluffles wrote: >deniswork@uzvik.kiev.ua wrote: >> Thanks, this help! Question: Is there a graid5 guide anywhere ? I would like to test this code out. -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-geom@FreeBSD.ORG Fri May 4 01:42:40 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7328616A402 for ; Fri, 4 May 2007 01:42:40 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from auriate.fluffles.net (cust.95.160.adsl.cistron.nl [195.64.95.160]) by mx1.freebsd.org (Postfix) with ESMTP id 2A86413C458 for ; Fri, 4 May 2007 01:42:40 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from destiny ([10.0.0.21]) by auriate.fluffles.net with esmtpa (Exim 4.66 (FreeBSD)) (envelope-from ) id 1Hjmod-000Jl7-16; Fri, 04 May 2007 03:42:35 +0200 Message-ID: <463A8F9C.8020205@fluffles.net> Date: Fri, 04 May 2007 03:42:52 +0200 From: Fluffles User-Agent: Thunderbird 1.5.0.8 (X11/20061114) MIME-Version: 1.0 To: "Wilkinson, Alex" References: <1847971490.20070503223307@uzvik.kiev.ua> <971656.83802.qm@web30315.mail.mud.yahoo.com> <593515236.20070504022900@uzvik.kiev.ua> <463A7558.9090600@fluffles.net> <20070504011646.GD15396@obelix.dsto.defence.gov.au> In-Reply-To: <20070504011646.GD15396@obelix.dsto.defence.gov.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 01:42:40 -0000 Wilkinson, Alex wrote: > 0n Fri, May 04, 2007 at 01:50:48AM +0200, Fluffles wrote: > > >deniswork@uzvik.kiev.ua wrote: > >> Thanks, this help! > > Question: Is there a graid5 guide anywhere ? > I would like to test this code out. > I'm working on one; but basically it's compile (works on both 6 and 7-CURR) and go using "graid5 label ". and you can use it straight away. I've done extensive benchmarking but results depend on: - hardware, especially CPU/MEM/BUS technology - disk bus bandwidth; avoid PCI whenever possible, PCI is depricated. Use onboard connectors directly tied to chipset if possible - the version of graid5, stable or TNG (take the graid5-eff.tbz package instead of graid5.tbz); TNG has nice speed improvements - disk speeds themselves Under the right conditions (dualcore with 8 SATA disks on embedded bus) it is possible to achieve 400MB/s *write* throughput, which is short of amazing considering this is 100% software RAID, and leaves many XOR-hardware RAID solutions behind. ;-) - Veronica From owner-freebsd-geom@FreeBSD.ORG Fri May 4 04:15:44 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB5A916A401 for ; Fri, 4 May 2007 04:15:44 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30314.mail.mud.yahoo.com (web30314.mail.mud.yahoo.com [209.191.69.76]) by mx1.freebsd.org (Postfix) with SMTP id 8D29C13C44B for ; Fri, 4 May 2007 04:15:42 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 87427 invoked by uid 60001); 4 May 2007 04:15:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=L/wDr06IR4O5wMivQ0AuXniF/lR53oauXHIF8mlgbecfl8DWiSeVoxZIp7wbh3Bqckn/YlmYNrm2nMIcTMcIbaI8rM9nkdYpTvM1NXkoiTCOH5d2Za05V12Do02cuSSwYoZyocJe9SOoJ3bbQW1C4YGcaV+x+8s+xb4b+OqI12w=; X-YMail-OSG: p2s4kAsVM1mXSzrBc.3TJYT8rnDoCCS91TfoAt4HFV0yMONJXAfrOZkdk09dZ3IkIA-- Received: from [85.212.47.21] by web30314.mail.mud.yahoo.com via HTTP; Thu, 03 May 2007 21:15:42 PDT Date: Thu, 3 May 2007 21:15:42 -0700 (PDT) From: Arne "Wörner" To: deniswork In-Reply-To: <593515236.20070504022900@uzvik.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <75611.86241.qm@web30314.mail.mud.yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re: Re[8]: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 04:15:44 -0000 --- deniswork@uzvik.kiev.ua wrote: > And when I try to remove disc from raid array, > $graid5 remove disc provider > remote PC don't answer, and I must call to data-center to order ip-kvm > to make reboot. > Hmm... "graid5 remove ..." should work fine... I tested it quite often... Do u still know the whole sequence of commands since the "graid5 label"? -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Fri May 4 07:12:28 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1808016A400 for ; Fri, 4 May 2007 07:12:28 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 07FC213C448 for ; Fri, 4 May 2007 07:12:22 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from ednmsw510.dsto.defence.gov.au (ednmsw510.dsto.defence.gov.au [131.185.68.11]) by digger1.defence.gov.au (8.13.8/8.13.8) with ESMTP id l4472xB8010378 for ; Fri, 4 May 2007 16:32:59 +0930 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw510.dsto.defence.gov.au (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Fri, 4 May 2007 16:42:16 +0930 Received: from obelix.dsto.defence.gov.au ([203.6.60.208]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Fri, 4 May 2007 16:42:15 +0930 Received: from obelix.dsto.defence.gov.au (localhost [127.0.0.1]) by obelix.dsto.defence.gov.au (8.13.8/8.13.8) with ESMTP id l447C6sk024559 for ; Fri, 4 May 2007 15:12:07 +0800 (WST) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by obelix.dsto.defence.gov.au (8.13.8/8.13.8/Submit) id l447C6cE024558 for freebsd-geom@freebsd.org; Fri, 4 May 2007 15:12:06 +0800 (WST) (envelope-from wilkinsa) Date: Fri, 4 May 2007 15:12:05 +0800 From: "Wilkinson, Alex" To: freebsd-geom@freebsd.org Message-ID: <20070504071205.GA24549@obelix.dsto.defence.gov.au> Mail-Followup-To: freebsd-geom@freebsd.org References: <1847971490.20070503223307@uzvik.kiev.ua> <971656.83802.qm@web30315.mail.mud.yahoo.com> <593515236.20070504022900@uzvik.kiev.ua> <463A7558.9090600@fluffles.net> <20070504011646.GD15396@obelix.dsto.defence.gov.au> <463A8F9C.8020205@fluffles.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <463A8F9C.8020205@fluffles.net> User-Agent: Mutt/1.5.14 (2007-02-12) X-OriginalArrivalTime: 04 May 2007 07:12:16.0067 (UTC) FILETIME=[8B990130:01C78E1B] X-TM-AS-Product-Ver: SMEX-7.0.0.1526-3.6.1039-15154.002 X-TM-AS-Result: No--6.098800-8.000000-31 Content-Transfer-Encoding: 7bit Subject: Re: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 07:12:28 -0000 0n Fri, May 04, 2007 at 03:42:52AM +0200, Fluffles wrote: >Wilkinson, Alex wrote: >> 0n Fri, May 04, 2007 at 01:50:48AM +0200, Fluffles wrote: >> >> >deniswork@uzvik.kiev.ua wrote: >> >> Thanks, this help! >> >> Question: Is there a graid5 guide anywhere ? >> I would like to test this code out. > >I'm working on one ... Can you please post to this list when complete and ready for testing. Cheers -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-geom@FreeBSD.ORG Fri May 4 07:33:47 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB72616A400 for ; Fri, 4 May 2007 07:33:47 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30301.mail.mud.yahoo.com (web30301.mail.mud.yahoo.com [209.191.69.63]) by mx1.freebsd.org (Postfix) with SMTP id 6C63D13C447 for ; Fri, 4 May 2007 07:33:47 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 12992 invoked by uid 60001); 4 May 2007 07:33:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=RHil849GSxmu0xz6HR/28AFBZO8iiMqSKMtN26qwAiqQJwD6+NBk5tST6G40NlQJFJP0ol88Ga4/USjvd8qCVEGh9vINMpDcHAeQZAkh8M43+VQJxgYOq0GNGr7fW0WtQ9Sz5WDiaSNAu+fYQfXx1CmSSFlK4S/U79hGikFZxqQ=; X-YMail-OSG: dbF.hxQVM1kBHBT_WJEpkYKcFejxcSaylY9N5qyV37yuuhRtULXI1KazHkoEtpjAO3JCx9iaShSLgg00cTd4nD9fdtkt8GCHz4srIL1ra.cR8mMUpwTUuOnMq_rTAw-- Received: from [213.54.12.51] by web30301.mail.mud.yahoo.com via HTTP; Fri, 04 May 2007 00:33:45 PDT Date: Fri, 4 May 2007 00:33:45 -0700 (PDT) From: Arne "Wörner" To: "Wilkinson, Alex" , freebsd-geom@freebsd.org In-Reply-To: <20070504071205.GA24549@obelix.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <674582.12963.qm@web30301.mail.mud.yahoo.com> Cc: Subject: Re: graid5 compilation problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 07:33:47 -0000 --- "Wilkinson, Alex" wrote: > 0n Fri, May 04, 2007 at 03:42:52AM +0200, Fluffles wrote: > >Wilkinson, Alex wrote: > >> Question: Is there a graid5 guide anywhere ? > >> I would like to test this code out. > > > >I'm working on one ... > > Can you please post to this list when complete and ready for testing. > Here is a quick hack as an interim solution: http://home.tiscali.de/cmdr_faako/graid5-howto.html I hope this is better than nothing... -Arne ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 From owner-freebsd-geom@FreeBSD.ORG Fri May 4 17:49:30 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C63216A406 for ; Fri, 4 May 2007 17:49:30 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id 2BAC713C458 for ; Fri, 4 May 2007 17:49:29 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1Hk1uJ-0002i5-Sz; Fri, 04 May 2007 20:49:27 +0300 Date: Fri, 4 May 2007 20:49:46 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <1015033466.20070504204946@uzvik.kiev.ua> To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: quoted-printable Cc: =?Windows-1251?Q?Arne_W=F6rner?= Subject: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 17:49:30 -0000 hello, after reboot i meet strange problem, i can't mount raid : ( [root@82 /usr/home/denis]# mount /dev/raid5/data /home/esc/daemon/upload/d= l2 mount: /dev/raid5/data: Operation not permitted [root@82 /usr/home/denis]# tail -f /var/log/messages May 4 20:37:48 82 kernel: GEOM_RAID5: registered shutdown event handler. May 4 20:37:48 82 kernel: GEOM_RAID5: data: device created (stripesize=3D1= 31072). May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad10(3): disk attached. May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad8(2): disk attached. May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad6(1): disk attached. May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad4(0): disk attached. May 4 20:37:48 82 kernel: GEOM_RAID5: data: activated. May 4 20:37:48 82 kernel: WARNING: R/W mount of /usr/home/esc/daemon/uploa= d/dl2 denied. Filesystem is not clean - run fsck May 4 20:37:56 82 kernel: WARNING: R/W mount of /usr/home/esc/daemon/uploa= d/dl2 denied. Filesystem is not clean - run fsck May 4 20:40:04 82 last message repeated 4 times When I try fsck I get: [root@82 /usr/home/denis]# fsck /dev/raid5/data fsck: Could not determine filesystem type [root@82 /usr/home/denis]# fsck_ufs /dev/raid5/data ** /dev/raid5/data BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNA= TE ioctl (GCINFO): Inappropriate ioctl for device fsck_ufs: /dev/raid5/data: can't read disk label How to mount raid? Thanks p.s. mounting in read-only mode pass successful but it is not what I want : ( =20 From owner-freebsd-geom@FreeBSD.ORG Fri May 4 17:55:27 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8268F16A403 for ; Fri, 4 May 2007 17:55:27 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4151613C46E for ; Fri, 4 May 2007 17:55:27 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1Hk206-0002zh-FG for freebsd-geom@freebsd.org; Fri, 04 May 2007 20:55:26 +0300 Date: Fri, 4 May 2007 20:55:44 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <1549377594.20070504205544@uzvik.kiev.ua> To: freebsd-geom@freebsd.org In-Reply-To: <1015033466.20070504204946@uzvik.kiev.ua> References: <1015033466.20070504204946@uzvik.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 17:55:27 -0000 > p.s. mounting in read-only mode pass successful but it is not what I > want : ( BTW, mounted ro data, crashed : ( I loose my data again? : ( From owner-freebsd-geom@FreeBSD.ORG Fri May 4 18:25:55 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28DEB16A400 for ; Fri, 4 May 2007 18:25:55 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30314.mail.mud.yahoo.com (web30314.mail.mud.yahoo.com [209.191.69.76]) by mx1.freebsd.org (Postfix) with SMTP id E4CB313C46C for ; Fri, 4 May 2007 18:25:54 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 55339 invoked by uid 60001); 4 May 2007 18:25:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=vNpNNgK9lYoQrIc2aUN9C0EyQYdUAp1MftECO7YcTsxAcJDo+rGahhB5jlK2/b0mhonsjz90Y37crPzws2YUN8M/RPARtz7ePNk7gvfCcXKpaHIWENQNwUJAvWY/3PMbTi2sY4xbdi35W+7ggl38TNtlRr0LHmbFNFtU0OQ2acU=; X-YMail-OSG: cLIBoDwVM1lIEn1dZBgckm_.gMkwZU17mQhBLWjgVmrep.AceCJ0cFpZAu4lY58qA4Cj5Gh0AfklOtsoDUcimF7KGE5DHB2ohZ.Tc8LzvhrTokduE4ztvWhSxA-- Received: from [85.212.5.38] by web30314.mail.mud.yahoo.com via HTTP; Fri, 04 May 2007 11:25:54 PDT Date: Fri, 4 May 2007 11:25:54 -0700 (PDT) From: Arne "Wörner" To: deniswork , freebsd-geom@freebsd.org In-Reply-To: <1015033466.20070504204946@uzvik.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <386758.54024.qm@web30314.mail.mud.yahoo.com> Cc: Subject: Re: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 18:25:55 -0000 --- deniswork@uzvik.kiev.ua wrote: > hello, after reboot i meet strange problem, i can't mount raid : ( > > [root@82 /usr/home/denis]# mount /dev/raid5/data /home/esc/daemon/upload/dl2 > mount: /dev/raid5/data: Operation not permitted > > [root@82 /usr/home/denis]# tail -f /var/log/messages > May 4 20:37:48 82 kernel: GEOM_RAID5: registered shutdown event handler. > May 4 20:37:48 82 kernel: GEOM_RAID5: data: device created > (stripesize=131072). > May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad10(3): disk attached. > May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad8(2): disk attached. > May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad6(1): disk attached. > May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad4(0): disk attached. > May 4 20:37:48 82 kernel: GEOM_RAID5: data: activated. > May 4 20:37:48 82 kernel: WARNING: R/W mount of > /usr/home/esc/daemon/upload/dl2 denied. Filesystem is not clean - run fsck > May 4 20:37:56 82 kernel: WARNING: R/W mount of > /usr/home/esc/daemon/upload/dl2 denied. Filesystem is not clean - run fsck > May 4 20:40:04 82 last message repeated 4 times > > > When I try fsck I get: > [root@82 /usr/home/denis]# fsck /dev/raid5/data > fsck: Could not determine filesystem type > > [root@82 /usr/home/denis]# fsck_ufs /dev/raid5/data > ** /dev/raid5/data > BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE > ioctl (GCINFO): Inappropriate ioctl for device > fsck_ufs: /dev/raid5/data: can't read disk label > > How to mount raid? > > Thanks > > p.s. mounting in read-only mode pass successful but it is not what I > want : ( > That is strange... Obviously ur file system is damaged... I do not know, how that happened... Did u abort the device rebuild process? If ur box can do a "graid5 remove" without crashing u could try this: Try to do that fsck in degraded mode (in the hope that just one disk contains silly data)... U should start with removing disk#0... Then do the fsck... But before u put back disk#0 u should remove disk#1 in order to avoid a further rebuild process, which might damage the data further... Maybe u could try sysutils/scan_ffs (from the ports) in order to repair the disklabel? And then do a fsck again? I mount my 3 graid5 devices every day without such problems... Even "power-failures" (when my CPU gets too hot, the PSU shuts the box down :-] ) r no real problem... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Fri May 4 19:31:10 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 941F116A404 for ; Fri, 4 May 2007 19:31:10 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from utel1.besthosting.in.ua (besthosting.in.ua [213.186.116.70]) by mx1.freebsd.org (Postfix) with ESMTP id 13E3913C489 for ; Fri, 4 May 2007 19:31:09 +0000 (UTC) (envelope-from deniswork@uzvik.kiev.ua) Received: from [195.69.168.153] (helo=andrew.nolan) by utel1.besthosting.in.ua with esmtpa (Exim 4.60) (envelope-from ) id 1Hk3Uh-00087M-Sa; Fri, 04 May 2007 22:31:08 +0300 Date: Fri, 4 May 2007 22:31:26 +0300 From: deniswork@uzvik.kiev.ua X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <171980743.20070504223126@uzvik.kiev.ua> To: =?ISO-8859-1?Q?Arne_W=F6rner?= In-Reply-To: <386758.54024.qm@web30314.mail.mud.yahoo.com> References: <1015033466.20070504204946@uzvik.kiev.ua> <386758.54024.qm@web30314.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re[2]: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deniswork List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 19:31:10 -0000 > That is strange... > Obviously ur file system is damaged... > I do not know, how that happened... > Did u abort the device rebuild process? Yes, i make $graid5 configure -R disk this stops sync. than I make graid5 remove ... and disclable foreach disck. than i create new array, and all goes fine. I rebooted server few times, all was fine. I start coping my data, than power reboot happens... in logs i see: May 4 20:37:48 82 kernel: GEOM_RAID5: data: device created (stripesize=3D1= 31072). May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad10(3): disk attached. May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad8(2): disk attached. May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad6(1): disk attached. May 4 20:37:48 82 kernel: GEOM_RAID5: data: ad4(0): disk attached. May 4 20:37:48 82 kernel: GEOM_RAID5: data: activated. May 4 20:37:48 82 kernel: WARNING: R/W mount of /usr/home/esc/daemon/uploa= d/dl2 denied. Filesystem is not clean - run fsck May 4 20:37:56 82 kernel: WARNING: R/W mount of /usr/home/esc/daemon/uploa= d/dl2 denied. Filesystem is not clean - run fsck May 4 20:40:04 82 last message repeated 4 times May 4 20:45:29 82 last message repeated 2 times I start scan_ffs for raid ... it take much time .. i will tell results... but i think, this will not help , coz mounted(in reas-only) data is damaged .... > If ur box can do a "graid5 remove" without crashing u could try this: > Try to do that fsck in degraded mode (in the hope that just one disk cont= ains > silly data)... U should start with removing disk#0... Then do the fsck...= But > before u put back disk#0 u should remove disk#1 in order to avoid a furth= er > rebuild process, which might damage the data further... > Maybe u could try sysutils/scan_ffs (from the ports) in order to repair t= he > disklabel? And then do a fsck again? > I mount my 3 graid5 devices every day without such problems... Even > "power-failures" (when my CPU gets too hot, the PSU shuts the box down :-= ] ) r > no real problem... > -Arne From owner-freebsd-geom@FreeBSD.ORG Fri May 4 19:53:05 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 135B816A46B for ; Fri, 4 May 2007 19:53:05 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30304.mail.mud.yahoo.com (web30304.mail.mud.yahoo.com [209.191.69.66]) by mx1.freebsd.org (Postfix) with SMTP id B7F0713C4B8 for ; Fri, 4 May 2007 19:53:04 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 38737 invoked by uid 60001); 4 May 2007 19:53:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=c+w2y1PZPyXFipjkSmlrvo5J3KWDp613oO4S3tmIp5h1JQj73lGxjA7Pclswz1IJKHDx1XlbuUr9LXXW0VO+abvT27mXOvs7KcMOgKedcsWKzBErBmRfzFH8vMbZr32TMgZwUxUjdwOkaJWUmDyNDzwLLRkxLJNwwBUgHV9VIIw=; X-YMail-OSG: nW4FksQVM1nMoiKMhuTtOc6Mr9IDy4z5hPJ12U7vzFYfSZveg.GBGKKi.byXksmTqACsgWG5FKfp0tXVuZJJJugpSeDBziGd5jOmxZdCpoXLLmdoYsgfzNPdKw-- Received: from [85.212.5.38] by web30304.mail.mud.yahoo.com via HTTP; Fri, 04 May 2007 12:53:04 PDT Date: Fri, 4 May 2007 12:53:04 -0700 (PDT) From: Arne "Wörner" To: deniswork In-Reply-To: <171980743.20070504223126@uzvik.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <125507.38194.qm@web30304.mail.mud.yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re: Re[2]: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 19:53:05 -0000 --- deniswork@uzvik.kiev.ua wrote: > than i create new array, and all goes fine. > I rebooted server few times, all was fine. > I start coping my data, than power reboot happens... > In rare cases a power failure might cause a UFS to be badly damaged, I think... This is caused by write caches (in the disks and in graid5)... U might want to run graid5 with sysctl kern.geom.raid5.wdt=0 (that disables the write cache in graid5, which slows down write requests) -Arne ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ From owner-freebsd-geom@FreeBSD.ORG Sat May 5 14:21:13 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 893F616A403 for ; Sat, 5 May 2007 14:21:13 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 484E713C45A for ; Sat, 5 May 2007 14:21:13 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HkL8C-000298-Oy for freebsd-geom@freebsd.org; Sat, 05 May 2007 16:21:04 +0200 Received: from cmung1765.cmu.carnet.hr ([193.198.134.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2007 16:21:04 +0200 Received: from ivoras by cmung1765.cmu.carnet.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2007 16:21:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Sat, 05 May 2007 16:20:51 +0200 Lines: 8 Message-ID: References: <171980743.20070504223126@uzvik.kiev.ua> <125507.38194.qm@web30304.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cmung1765.cmu.carnet.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <125507.38194.qm@web30304.mail.mud.yahoo.com> X-Enigmail-Version: 0.94.1.0 Sender: news Subject: Re: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 14:21:13 -0000 Arne Wörner wrote: > (that disables the write cache in graid5, which slows down write requests) Is the write cache in graid5 aware of what happens on the VFS / UFS layers (something like gjournal does)? Otherwise, how can you guarantee consistency with write caching at the GEOM layer when there's a power outage or some other system interruption? From owner-freebsd-geom@FreeBSD.ORG Sat May 5 14:30:04 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64E5F16A403 for ; Sat, 5 May 2007 14:30:04 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30309.mail.mud.yahoo.com (web30309.mail.mud.yahoo.com [209.191.69.71]) by mx1.freebsd.org (Postfix) with SMTP id 1916513C459 for ; Sat, 5 May 2007 14:30:03 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 22707 invoked by uid 60001); 5 May 2007 14:30:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=vGSIaxyEf87fCd1PYgZPQ0JazhYem7IIq2KEOA/Xkpqf3a5yvkxbj8GsFcAhNjLOjVoNkoi9RaB7Ujcl5JAvqkU2qpln21cNzjSDJdLIioI87kUWAg1W3sTfswVgtxnWA0mVZV2FrA+l0jtATkMPpp2TxvkADm0WUH+r94ikx0o=; X-YMail-OSG: NhgNdBwVM1kF1lGrB8klX7MhqGYPf2eyfjt1_WO.QxBDPl.01hnEq69Pw4TQdzTcUZC1JD1PmnkBDy3N.3W70XKno9Qi.nJ8.bSF1i5Rg35aYWCWSnZx5c_N.oQQNA-- Received: from [213.54.47.84] by web30309.mail.mud.yahoo.com via HTTP; Sat, 05 May 2007 07:30:02 PDT Date: Sat, 5 May 2007 07:30:02 -0700 (PDT) From: Arne "Wörner" To: Ivan Voras , freebsd-geom@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <398236.18997.qm@web30309.mail.mud.yahoo.com> Cc: Subject: Re: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 14:30:04 -0000 --- Ivan Voras wrote: > Arne Wörner wrote: > > > (that disables the write cache in graid5, which slows down write requests) > > Is the write cache in graid5 aware of what happens on the VFS / UFS > layers (something like gjournal does)? Otherwise, how can you guarantee > consistency with write caching at the GEOM layer when there's a power > outage or some other system interruption? > I cant... :-) Just like many ATA disks, that just cant turn off their write cache... (but graid5 can at least turn off its write cache) But graid5 is aware of BIO_FLUSH... :-)) So somewhen UFS might send a BIO_FLUSH when it is appropriate... Or gjournal sends the BIO_FLUSH... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Sat May 5 15:31:05 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 316B016A400 for ; Sat, 5 May 2007 15:31:05 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id E8CE613C45E for ; Sat, 5 May 2007 15:31:04 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 4567D20A7; Sat, 5 May 2007 17:31:01 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 38D00208C; Sat, 5 May 2007 17:31:01 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 1988B48A6; Sat, 5 May 2007 17:31:01 +0200 (CEST) From: des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=) To: Ivan Voras References: <171980743.20070504223126@uzvik.kiev.ua> <125507.38194.qm@web30304.mail.mud.yahoo.com> Date: Sat, 05 May 2007 17:31:00 +0200 In-Reply-To: (Ivan Voras's message of "Sat, 05 May 2007 16:20:51 +0200") Message-ID: <86fy6bqocr.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 15:31:05 -0000 Ivan Voras writes: > Is the write cache in graid5 aware of what happens on the VFS / UFS > layers (something like gjournal does)? Otherwise, how can you guarantee > consistency with write caching at the GEOM layer when there's a power > outage or some other system interruption? You can't. Google for "RAID 5 write hole" for an explanation. The way this is handled by hardware RAID 5 controllers is that they keep a journal in the controller's memory (which has its own battery backup) and replay it when the power returns. If the controller is fried, you're SOL. ZFS uses copy-on-write, so its raidz and raidz2 do not have a "write hole". DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-geom@FreeBSD.ORG Sat May 5 23:31:40 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C061916A400 for ; Sat, 5 May 2007 23:31:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 635C013C469 for ; Sat, 5 May 2007 23:31:30 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 73319487F3; Sun, 6 May 2007 01:31:28 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 7590B456AB; Sun, 6 May 2007 01:31:24 +0200 (CEST) Date: Sun, 6 May 2007 01:30:53 +0200 From: Pawel Jakub Dawidek To: Dag-Erling Sm??rgrav Message-ID: <20070505233053.GE16398@garage.freebsd.pl> References: <171980743.20070504223126@uzvik.kiev.ua> <125507.38194.qm@web30304.mail.mud.yahoo.com> <86fy6bqocr.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2qXFWqzzG3v1+95a" Content-Disposition: inline In-Reply-To: <86fy6bqocr.fsf@dwp.des.no> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: Ivan Voras , freebsd-geom@freebsd.org Subject: Re: graid5 after-reboot problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 23:31:40 -0000 --2qXFWqzzG3v1+95a Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 05, 2007 at 05:31:00PM +0200, Dag-Erling Sm??rgrav wrote: > Ivan Voras writes: > > Is the write cache in graid5 aware of what happens on the VFS / UFS > > layers (something like gjournal does)? Otherwise, how can you guarantee > > consistency with write caching at the GEOM layer when there's a power > > outage or some other system interruption? >=20 > You can't. Google for "RAID 5 write hole" for an explanation. >=20 > The way this is handled by hardware RAID 5 controllers is that they > keep a journal in the controller's memory (which has its own battery > backup) and replay it when the power returns. If the controller is > fried, you're SOL. >=20 > ZFS uses copy-on-write, so its raidz and raidz2 do not have a "write > hole". RAID3 is also write-hole safe, btw. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --2qXFWqzzG3v1+95a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGPROtForvXbEpPzQRAuJhAJ9JOCnBd2CQLO9joBkfPA+rmSQ2lACbB9ag aKR9FKzUWHCczmJC1/2srcE= =tfn2 -----END PGP SIGNATURE----- --2qXFWqzzG3v1+95a--