Bug 159210 - [zfs] [hang] ZFS (scrub???) freezes system
Summary: [zfs] [hang] ZFS (scrub???) freezes system
Status: Closed FIXED
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-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-26 19:50 UTC by vladislav V. Prodan
Modified: 2011-07-27 04:10 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-26 19:50:02 UTC

Similarly kern/159045


# zpool status tank
  pool: tank
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Online the device using 'zpool online' or replace the device with
        'zpool replace'.
 scan: scrub repaired 0 in 7h4m with 0 errors on Wed Jul  6 05:19:36 2011
config:

        NAME        STATE     READ WRITE CKSUM
        tank        DEGRADED     0     0     0
          raidz2-0  DEGRADED     0     0     0
            ad8p1   ONLINE       0     0     0
            ad12p1  ONLINE       0     0     0
            ad16p1  OFFLINE      0     0     0
            ad10p1  ONLINE       0     0     0
            ad14p1  ONLINE       0     0     0
            ad18p1  ONLINE       0     0     0


# gpart list ad16
gpart: No such geom: ad16.
# gpart create -s gpt ad16
ad16 created
# gpart add -t freebsd-zfs -l disk2-r ad16
ad16p1 added
# gpart list ad16
Geom name: ad16
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 1465149134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ad16p1
   Mediasize: 750156339712 (698G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 17408
   Mode: r0w0e0
   rawuuid: bf82fe0a-b7b2-11e0-a9dc-00e04d7b690c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: disk2-r
   length: 750156339712
   offset: 17408
   type: freebsd-zfs
   index: 1
   end: 1465149134
   start: 34
Consumers:
1. Name: ad16
   Mediasize: 750156374016 (698G)
   Sectorsize: 512
   Mode: r0w0e0
# zpool status tank

How-To-Repeat: Make degraded pool raidz, mark one of the hdd in the pool is offline.
Pull out this hdd.
Insert another hdd instead.
Partition this hdd through gpart.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-07-27 04:09:35 UTC
State Changed
From-To: open->closed

Duplicate of kern/159045. 


Comment 2 Mark Linimon freebsd_committer freebsd_triage 2011-07-27 04:09:35 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs