From nobody@FreeBSD.org  Tue Jul 19 21:35:53 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5CE16106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Jul 2011 21:35:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 4CFA18FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Jul 2011 21:35:53 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6JLZqWr013188
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Jul 2011 21:35:52 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p6JLZq82013187;
	Tue, 19 Jul 2011 21:35:52 GMT
	(envelope-from nobody)
Message-Id: <201107192135.p6JLZq82013187@red.freebsd.org>
Date: Tue, 19 Jul 2011 21:35:52 GMT
From: "Vladislav V. Prodan" <universite@ukr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ZFS scrub freezes system
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         159045
>Category:       kern
>Synopsis:       [zfs] [hang] ZFS scrub freezes system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 19 21:40:08 UTC 2011
>Closed-Date:    
>Last-Modified:  Wed Jul 20 04:34:10 UTC 2011
>Originator:     Vladislav V. Prodan
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
FreeBSD mary-teresa.XXXXX.ua 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Jul 13 02:01:02 EEST 2011     root@mary-teresa.XXXXX.ua:/usr/obj/usr/src/sys/XXXXX.4  amd64

>Description:
# zpool list
NAME      SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
tank     4,06T  2,82T  1,24T    69%  1.00x  DEGRADED  -
zbackup   464G   181G   283G    39%  1.00x  ONLINE  -
zroot     460G  90,7G   369G    19%  1.06x  ONLINE  -
# zpool upgrade
This system is currently running ZFS pool version 28.

All pools are formatted using this version.
# zfs upgrade
This system is currently running ZFS filesystem version 5.

All filesystems are formatted with the current version.


I ran
# zfs scrub zbackup
then the system froze.
Ping to the server running, but the other services - web, nat, mail - did not respond.

After a hard reboot check this pool continued independently:
# zpool status zbackup
  pool: zbackup
 state: ONLINE
 scan: scrub in progress since Wed Jul 20 00:14:36 2011
    26,9G scanned out of 181G at 1/s, (scan is slow, no estimated time)
    0 repaired, 14,82% done
config:

        NAME               STATE     READ WRITE CKSUM
        zbackup            ONLINE       0     0     0
          gpt/disk-backup  ONLINE       0     0     0

errors: No known data errors

>How-To-Repeat:
zfs scrub <pool>
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jul 20 04:33:51 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159045 
>Unformatted:
