Date: Thu, 21 Jul 2016 07:25:56 -0500 From: Karl Denninger <karl@denninger.net> To: freebsd-stable@freebsd.org Subject: Re: Panic on BETA1 in the ZFS subsystem Message-ID: <1f064549-fa72-fe9b-d66d-85923437bb9b@denninger.net> In-Reply-To: <c2f24b1e-be84-bcdd-ea0b-515cd2aca266@FreeBSD.org> References: <8f44bc09-1237-44d0-fe7a-7eb9cf4fe85b@denninger.net> <54e5974c-312e-c33c-ab83-9e1148618ddc@FreeBSD.org> <97cf5283-683b-83fd-c484-18c14973b065@denninger.net> <c2f24b1e-be84-bcdd-ea0b-515cd2aca266@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms090705090700070007050505 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 7/21/2016 03:07, Andriy Gapon wrote: > On 21/07/2016 00:54, Karl Denninger wrote: >> io_type =3D ZIO_TYPE_FREE, >> io_child_type =3D ZIO_CHILD_VDEV, >> io_cmd =3D 0, >> io_priority =3D ZIO_PRIORITY_TRIM, >> io_flags =3D 789633, >> io_stage =3D ZIO_STAGE_VDEV_IO_DONE, >> io_pipeline =3D 3080192, >> io_orig_flags =3D 525441, >> io_orig_stage =3D ZIO_STAGE_OPEN, >> io_orig_pipeline =3D 3080192, >> io_error =3D 45, >> vdev_notrim =3D 1, >> vdev_queue =3D { >> vq_vdev =3D 0xfffff804d8683000, >> vq_class =3D 0xfffff804d86833e8, >> vq_active_tree =3D { >> avl_root =3D 0xfffff80290a71240, >> avl_compar =3D 0xffffffff8220b8a0 <vdev_queue_offset_compare>, >> avl_offset =3D 576, >> avl_numnodes =3D 64, >> avl_size =3D 952 >> }, >> vq_read_offset_tree =3D { >> avl_root =3D 0x0, >> avl_compar =3D 0xffffffff8220b8a0 <vdev_queue_offset_compare>, >> avl_offset =3D 600, >> avl_numnodes =3D 0, >> avl_size =3D 952 >> }, >> vq_write_offset_tree =3D { >> avl_root =3D 0x0, >> avl_compar =3D 0xffffffff8220b8a0 <vdev_queue_offset_compare>, >> avl_offset =3D 600, >> avl_numnodes =3D 0, >> avl_size =3D 952 >> }, >> }, > Karl, > > thank you for the data. > Was this a freshly imported pool? Or a pool that was not written to > since the import until shortly before the crash? > The crash occurred during a backup script operating, which is (roughly) the following: zpool import -N backup (mount the pool to copy to) iterate over a list of zfs filesystems and... zfs rename fs@zfs-base fs@zfs-old zfs snapshot fs@zfs-base zfs send -RI fs@zfs-old fs@zfs-base | zfs receive -Fudv backup zfs destroy -vr fs@zfs-old The first filesystem to be done is the rootfs, that is when it panic'd, and from the traceback it appears that the Zio's in there are from the backup volume, so the answer to your question is "yes". This is a different panic that I used to get on 10.2 (the other one was always in dounmount) and the former symptom was also not immediately reproducable; whatever was blowing it up before was in-core, and a reboot would clear it. This one is not; I (foolishly) believed that the operation would succeed after the reboot and re-attempted it, only to get an immediate repeat of the same panic (with an essentially-identical traceback.) What allowed the operation to succeed was removing *all* of the snapshots (other than the base filesystem, of course) from both the source *and* backup destination zpools, then re-running the operation.=20 That causes a "base" copy to be taken (zfs snapshot fs@zfs-base and then just a straight send of that instead of an incremental), which was successful. The only thing that was odd about the zfs filesystem in question was that as a boot environment that was my roll-forward to 11.0 its "origin" was a clone of 10.2 before the install was done, so that snapshot was present in the zfs snapshot list. However, it had been present for several days without incident, so I doubt its presence was involved in the creation of the circumstances leading to the panic. --=20 Karl Denninger karl@denninger.net <mailto:karl@denninger.net> /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms090705090700070007050505 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC Bl8wggZbMIIEQ6ADAgECAgEpMA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G A1UECBMHRmxvcmlkYTESM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/2NE1f1BnRVMW3PbTkGvaD8tQJRGivpYTccfErHxg7 Xkn6YAHvaGRg9x+2FgkASqA87OKnnyivBuRa2Z2IZ3ApbG09dUaGeUP5P35TFszhn35mMhOR WEnuROViEovk4rpGWmCa95VMt8mK0sv/bUfDckkzmbkoQ5UKENlPWl8YqpDN+SoCU3XDAimz pLyBjGms39Fp5aGv3OhTJxLRogzZcfNiVlbbHPjnbBEMF2RdpewOm80z9mXhFHpGos0DMZl7 wEyoK5hlC1kDem6eMZNcNWq5nmq72W73UF2SwuEzgzu4KOiGlfqt1COmblMKh9BInytviM8U 7t7Slg0327gf1aWTHCfDNWxWF4FBiyOtzsI07vk7a9osthNzogqjcjhGn2gVSq3KS7a8MADP IhaAnSlobldhcDs+IJuMfka4LGO+QqnacgKSNGS7CdEDRBvisdwz0tY6PnoOyAc6tap8kEHB hZ9j8u3I62igPszkaqQUVY40HhbOrWpppYQ00zORwDGxKFQRi2GEclD2aPR7NH/RViVvE7Uj Zgf+k5UM8HoQGjg9fdJuwMB5GwtKdfVv7Lmse2btw0ST8FYaQWkAwapvtW4WIsDIDb6ATJsq blXQ9DRICQFhJS+1pisWtlAPZmQAAAAAAAA= --------------ms090705090700070007050505--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1f064549-fa72-fe9b-d66d-85923437bb9b>