Bug 162277

Summary: Repeatable system crash when offlining a zpool vdev
Product: Base System Reporter: Gary Smith <gahcho>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Gary Smith 2011-11-03 22:30:11 UTC
I created two zfs vdevs with mkfile, then created a zpool mirror.  Attempting to offline one of the devices will result in a system crash and reboot.

#####

(root@v2) ~/t#mkfile 100m a
(root@v2) ~/t#mkfile 100m b
(root@v2) ~/t#zpool create u3 mirror ~/t/a ~/t/b
(root@v2) ~/t#zpool status u3
  pool: u3
 state: ONLINE
 scan: none requested
config:

        NAME           STATE     READ WRITE CKSUM
        u3             ONLINE       0     0     0
          mirror-0     ONLINE       0     0     0
            /root/t/a  ONLINE       0     0     0
            /root/t/b  ONLINE       0     0     0

errors: No known data errors
(root@v2) ~/t#zpool offline u3 /root/t/b

How-To-Repeat: The steps listed in the description will always cause a crash.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:39 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