Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2007 19:07:50 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Mike Wolman <mike@nux.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ggated, gmirror + zfs panic
Message-ID:  <20070402170750.GD34180@garage.freebsd.pl>
In-Reply-To: <20070329174620.Q90308@nux.eros.office>
References:  <20070329174620.Q90308@nux.eros.office>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, Mar 29, 2007 at 05:47:01PM +0100, Mike Wolman wrote:
> Hi,
> 
> I am experimenting with ggate, gmirror and zfs to create a redundant file system using 2 machines.
> 
> I currently do not have 10 spare drives so i have been using md devices to test the setup with.
> 
> If I run through the below commands i am able to crash the machine every time. I have a vmcore available but think this should be easy to reproduce.

I'm able to reproduce it. Give me some time to track it down.

> # dd if=/dev/zero of=/home/mike-play/file0 bs=1k count=1000k
> # dd if=/dev/zero of=/home/mike-play/file1 bs=1k count=1000k
> # dd if=/dev/zero of=/home/mike-play/file2 bs=1k count=1000k
> # dd if=/dev/zero of=/home/mike-play/file3 bs=1k count=1000k
> # dd if=/dev/zero of=/home/mike-play/file4 bs=1k count=1000k
> 
> # mdconfig -a -t vnode -f /home/mike-play/file0 -u 0
> # mdconfig -a -t vnode -f /home/mike-play/file1 -u 1
> # mdconfig -a -t vnode -f /home/mike-play/file2 -u 2
> # mdconfig -a -t vnode -f /home/mike-play/file3 -u 3
> # mdconfig -a -t vnode -f /home/mike-play/file4 -u 4
> 
> edit /etc/gg.exports
> 
> 192.168.5.0/24 RW /dev/md0
> 192.168.5.0/24 RW /dev/md1
> 192.168.5.0/24 RW /dev/md2
> 192.168.5.0/24 RW /dev/md3
> 192.168.5.0/24 RW /dev/md4

ggated(8) support regular files as well, so you don't have to use
mdconfig(8) to export them.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGEThmForvXbEpPzQRAhIUAJ9u4wIqGdRtmohbqUzfSGOpe7jU+ACfcNuH
4vaU7nI3fDJSVPfW2cYC+D8=
=QPMO
-----END PGP SIGNATURE-----

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