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

--P+33d92oIH25kiaB
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 29, 2007 at 05:47:01PM +0100, Mike Wolman wrote:
> Hi,
>=20
> I am experimenting with ggate, gmirror and zfs to create a redundant file=
 system using 2 machines.
>=20
> I currently do not have 10 spare drives so i have been using md devices t=
o test the setup with.
>=20
> 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=3D/dev/zero of=3D/home/mike-play/file0 bs=3D1k count=3D1000k
> # dd if=3D/dev/zero of=3D/home/mike-play/file1 bs=3D1k count=3D1000k
> # dd if=3D/dev/zero of=3D/home/mike-play/file2 bs=3D1k count=3D1000k
> # dd if=3D/dev/zero of=3D/home/mike-play/file3 bs=3D1k count=3D1000k
> # dd if=3D/dev/zero of=3D/home/mike-play/file4 bs=3D1k count=3D1000k
>=20
> # 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
>=20
> edit /etc/gg.exports
>=20
> 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.

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

--P+33d92oIH25kiaB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

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

--P+33d92oIH25kiaB--



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