Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2006 01:59:35 -0700 (PDT)
From:      "R. B. Riddick" <arne_woerner@yahoo.com>
To:        Jason Hitt <jhitt25@charter.net>, freebsd-geom@freebsd.org
Subject:   Re: Problem with stripe across mirrors
Message-ID:  <20060627085935.52838.qmail@web30301.mail.mud.yahoo.com>
In-Reply-To: <44A0AC24.1070106@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Jason Hitt <jhitt25@charter.net> 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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060627085935.52838.qmail>