Bug 159045 - [zfs] [hang] ZFS scrub freezes system
Summary: [zfs] [hang] ZFS scrub freezes system
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 22:40 UTC by vladislav V. Prodan
Modified: 2017-12-31 22:32 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 vladislav V. Prodan 2011-07-19 22:40:08 UTC
# 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>
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-07-20 05:33:51 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:12 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