vnode-backed md stops responding on copying files

From: Martin Matuska <martin_at_tradex.sk>
Date: Mon, 19 Jan 2004 21:25:00 +0100
I am using FreeBSD-Current (post 5.2-RELEASE) and have created a vnode backed vn
using these commands:

mdconfig -a -t vnode -s 8G -f somebackingfile -u 0 (I tried 4G and 2G, too)
bsdlabel -w md0 auto
newfs md0c
mount /dev/md0c /mnt

Then I started copying files or doing a make installworld DESTDIR=/mnt from
/usr/src and md hangs after some time copying. The md device and all processes
accessing it cannot be accessed, only a hardware reset is possible to survive,
reboot command doesn't work, too.

I was able to reproduce this system on various  system configurations (all i386,
with up to 2GB memory with AMD K6-3, Athlon or Intel P4 processors), so it
doesnt seem to be caused by my system configuration. I am using a clean FreeBSD
install.

It does not depend on mdconfig flags or if system is mounted
asynchronously/synchronously, too, tried to turn off clustering, make mount
synchronous, no help.

This problem does not occur with FreeBSD 4 (using vn driver).
Received on Mon Jan 19 2004 - 11:21:46 UTC

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