ggated, gmirror + zfs panic

Pawel Jakub Dawidek pjd at
Mon Apr 2 17:08:13 UTC 2007

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
> RW /dev/md0
> RW /dev/md1
> RW /dev/md2
> RW /dev/md3
> 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             
pjd at                 
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list