Bug 141010 - [zfs] "zfs scrub" fails when backed by files in UFS2
Summary: [zfs] "zfs scrub" fails when backed by files in UFS2
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bugmeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 01:50 UTC by Gerald Gutierrez
Modified: 2025-01-19 05:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Gutierrez 2009-11-30 01:50:00 UTC
"zfs scrub" causes kernel panic with FreeBSD 8.0-RELEASE amd64.


Test system installed via VMware Fusion 3.0 using 1 processor and 2GB of RAM. Several parameters for vm.kmem_size, vm.kmem_size_max were tried with no differences.

The panic doesn't seem to happen if ZFS is backed by IDE hard drives.

How-To-Repeat: 
After clean install, added "zfs_enable=YES" to /etc/rc.conf. Went through ZFS tutorial at: http://flux.org.uk/howto/solaris/zfs_tutorial_01. This creates two 128MB files and creates a ZFS mirror pool backed by the two files. Tutorial then tries to demonstrate a ZFS failure mode. Commands as follows:

zpool create trout mirror /home/ocean/disk1 /home/ocean/disk2
mkfile 32m /trout/foo
dd if=/dev/random of=/home/ocean/disk1 bs=512 count=1
zpool scrub trout

At this point, the kernel panics.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-11-30 02:18:31 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:53 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2025-01-19 05:56:17 UTC
^Triage: I'm sorry that this PR did not get addressed in a timely fashion.

By now, the version that it was created against is long out of support.
As well, many newer versions of ZFS have been imported.

Please re-open if it is still a problem on a supported version.