From owner-freebsd-geom@FreeBSD.ORG Tue Jun 27 08:59:37 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF01D16A405 for ; Tue, 27 Jun 2006 08:59:37 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30301.mail.mud.yahoo.com (web30301.mail.mud.yahoo.com [68.142.200.94]) by mx1.FreeBSD.org (Postfix) with SMTP id ECD6043D55 for ; Tue, 27 Jun 2006 08:59:35 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 52840 invoked by uid 60001); 27 Jun 2006 08:59:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OSo4ow1w9t+r0fFxfivHF0MOJ0oBTspdBPlgRE8L9xDQwb0kl2p5sKepnf5M20M56tUcd6wJuTBzJpwa3dmFN7oDx5WYx7sJ86p/hhnehypQiM4dYJrtC1xZwiX5POSmv4VA3oV1UcQCnLEvlLMb5buJClV47qsybTlQhVfTJoM= ; Message-ID: <20060627085935.52838.qmail@web30301.mail.mud.yahoo.com> Received: from [213.54.88.121] by web30301.mail.mud.yahoo.com via HTTP; Tue, 27 Jun 2006 01:59:35 PDT Date: Tue, 27 Jun 2006 01:59:35 -0700 (PDT) From: "R. B. Riddick" To: Jason Hitt , freebsd-geom@freebsd.org In-Reply-To: <44A0AC24.1070106@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Problem with stripe across mirrors 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, 27 Jun 2006 08:59:37 -0000 --- Jason Hitt wrote: > untested). The failure comes when i do this: > gmirror label storage0 ad4s1 ad6s1 > gmirror label storage1 ad8s1 ad10s1 > gstripe label storage mirror/storage0 mirror/storage1 > newfs /dev/stripe/storage > > Anyone familiar with this that can lend a hand? > I did the following first, because ur report frightend me... :-) I would say, that it worked fine... For several minutes, that I started another test. faako# kldload geom_mirror faako# kldload geom_stripe faako# cd /tmp/ faako# dd if=/dev/zero of=a bs=1m count=8 8+0 records in 8+0 records out 8388608 bytes transferred in 4.021925 secs (2085720 bytes/sec) faako# cp a b faako# cp b c faako# cp c d faako# mdconfig -a -f a md0 faako# mdconfig -a -f b md1 faako# mdconfig -a -f c md2 faako# mdconfig -a -f d md3 faako# gstripe label fook md0 md1 faako# gstripe label fuuk md2 md3 faako# gmirror label fuok stripe/fook stripe/fuuk faako# ls /dev/mirror/ fuok faako# newfs /dev/mirror/fuok /dev/mirror/fuok: 16.0MB (32748 sectors) block size 16384, fragment size 2048 using 4 cylinder groups of 4.00MB, 256 blks, 512 inodes. super-block backups (for fsck -b #) at: date 160, 8352, 16544, 24736 faako# date Tue Jun 27 09:39:18 UTC 2006 faako# sleep 100 ; date mount /dev/mirror/fuok /mnt Tue Jun 27 09:41:07 UTC 2006 faako# mount /dev/mirror/fuok /mnt faako# dp /dev/zero /mnt/faak dp: Command not found. faako# cp /dev/zero /mnt/faak /mnt: write failed, filesystem is full cp: /mnt/faak: No space left on device faako# date Tue Jun 27 09:46:38 UTC 2006 faako# TEST #2: This test's results were ok, too: faako# gmirror label fook md0 md1 faako# gmirror label fuuk md2 md3 faako# gstripe label fouk mirror/fook mirror fuuk faako# gstripe status faako# gstripe label fouk mirror/fook mirror/fuuk faako# date Tue Jun 27 09:49:04 UTC 2006 faako# sleep 100 ; date Tue Jun 27 09:50:47 UTC 2006 faako# newfs /dev/stripe/fouk /dev/stripe/fouk: 16.0MB (32752 sectors) block size 16384, fragment size 2048 using 4 cylinder groups of 4.00MB, 256 blks, 512 inodes. super-block backups (for fsck -b #) at: 160, 8352, 16544, 24736 faako# mount /dev/stripe/fouk /mnt faako# cp /dev/zero /mnt/faak ^C faako# sync faako# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s2a 546094 283492 218916 56% / devfs 1 1 0 100% /dev /dev/stripe/fouk 15654 2708 11694 19% /mnt faako# Maybe it is your hard disc driver, who becomes upset, when the traffic increases? Did you try four simultaneos dd processes to all four discs? -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com