Re: ggated, gmirror + zfs panic

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Mon, 2 Apr 2007 19:07:50 +0200
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_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Mon Apr 02 2007 - 15:08:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC