From owner-freebsd-bugs@freebsd.org Sat Oct 27 04:10:18 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C4C610D6B69 for ; Sat, 27 Oct 2018 04:10:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E6B7E7B3C8 for ; Sat, 27 Oct 2018 04:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AC16010D6B68; Sat, 27 Oct 2018 04:10:17 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A57C10D6B67 for ; Sat, 27 Oct 2018 04:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17F257B3C7 for ; Sat, 27 Oct 2018 04:10:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5D0DCA3E8 for ; Sat, 27 Oct 2018 04:10:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9R4AGOY077164 for ; Sat, 27 Oct 2018 04:10:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9R4AGgu077163 for bugs@FreeBSD.org; Sat, 27 Oct 2018 04:10:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 232738] 13-current zfs device removal assfail Date: Sat, 27 Oct 2018 04:10:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gldisater@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2018 04:10:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232738 Bug ID: 232738 Summary: 13-current zfs device removal assfail Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: gldisater@gmail.com Bhyve VM using sectorsize=3D512/4096 for the virtio devices 1, 2, and 3 FreeBSD 13.0-CURRENT r339718 GENERIC Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-question= s/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier Edit /etc/motd to change this login announcement. You have new mail. root@devremoval:~ # zpool status pool: zroot state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 vtbd0p3 ONLINE 0 0 0 errors: No known data errors root@devremoval:~ # zpool create devrem7 vtbd1 vtbd2 root@devremoval:~ # zpool attach devrem7 vtbd2 vtbd3 root@devremoval:~ # dd if=3D/dev/random of=3D/devrem7/file bs=3D1M count=3D= 2000 2000+0 records in 2000+0 records out 2097152000 bytes transferred in 45.626743 secs (45963219 bytes/sec) root@devremoval:~ # zpool status devrem7 pool: devrem7 state: ONLINE scan: resilvered 188K in 0 days 00:00:00 with 0 errors on Sat Oct 27 00:0= 2:53 2018 config: NAME STATE READ WRITE CKSUM devrem7 ONLINE 0 0 0 vtbd1 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 vtbd2 ONLINE 0 0 0 vtbd3 ONLINE 0 0 0 errors: No known data errors root@devremoval:~ # zpool detach devrem7 vtbd3 root@devremoval:~ # zpool status devrem7 pool: devrem7 state: ONLINE scan: resilvered 188K in 0 days 00:00:00 with 0 errors on Sat Oct 27 00:0= 2:53 2018 config: NAME STATE READ WRITE CKSUM devrem7 ONLINE 0 0 0 vtbd1 ONLINE 0 0 0 vtbd2 ONLINE 0 0 0 errors: No known data errors root@devremoval:~ # zpool remove devrem7 vtbd2 panic: solaris assert: cvd->vdev_ashift =3D=3D spa->spa_max_ashift (0xc =3D= =3D 0x9), fil e: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_removal.c, lin= e:=20=20 1919 cpuid =3D 0 time =3D 1540613111 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe004a528= 570 vpanic() at vpanic+0x1a3/frame 0xfffffe004a5285d0 panic() at panic+0x43/frame 0xfffffe004a528630 assfail3() at assfail3+0x2c/frame 0xfffffe004a528650 spa_vdev_remove_top_check() at spa_vdev_remove_top_check+0x1e1/frame 0xfffffe004 a528690 spa_vdev_remove() at spa_vdev_remove+0x2b5/frame 0xfffffe004a528720 zfs_ioc_vdev_remove() at zfs_ioc_vdev_remove+0x47/frame 0xfffffe004a528750 zfsdev_ioctl() at zfsdev_ioctl+0x78b/frame 0xfffffe004a5287f0 devfs_ioctl() at devfs_ioctl+0xb2/frame 0xfffffe004a528840 VOP_IOCTL_APV() at VOP_IOCTL_APV+0x73/frame 0xfffffe004a528860 vn_ioctl() at vn_ioctl+0x124/frame 0xfffffe004a528970 devfs_ioctl_f() at devfs_ioctl_f+0x1f/frame 0xfffffe004a528990 kern_ioctl() at kern_ioctl+0x2ba/frame 0xfffffe004a5289f0 sys_ioctl() at sys_ioctl+0x15e/frame 0xfffffe004a528ac0 amd64_syscall() at amd64_syscall+0x278/frame 0xfffffe004a528bf0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe004a528bf0 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip =3D 0x8004aba1a, rsp =3D 0x7fffffffc 0f8, rbp =3D 0x7fffffffc170 --- KDB: enter: panic [ thread pid 716 tid 100389 ] Stopped at kdb_enter+0x3b: movq $0,kdb_why db> --=20 You are receiving this mail because: You are the assignee for the bug.=