Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-110250

Encryption crashes during high activity

    XMLWordPrintable

    Details

      Description

      I'm using this particular TrueNas 12.0u3 system as a backup system. It regularly crashes whenever I export VMs to a TrueNAS iSCSI volume. The underlying ZFS pool is encrypted. This TrueNAS instance is running inside HyperV.

      The stacktrace shows this:

      Apr 19 02:28:30 NAS2 panic: VERIFY3(0 == spa_do_crypt_abd(B_TRUE, spa, &zio->io_bookmark, BP_GET_TYPE(bp), BP_GET_DEDUP(bp), BP_SHOULD_BYTESWAP(bp), salt, iv, mac, psize, zio->io_abd,
      eabd, &no_crypt)) failed (0 == 5)
      Apr 19 02:28:30 NAS2 cpuid = 0
      Apr 19 02:28:30 NAS2 time = 1618763221
      Apr 19 02:28:30 NAS2 KDB: stack backtrace:
      Apr 19 02:28:30 NAS2 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe007e06e990
      Apr 19 02:28:30 NAS2 vpanic() at vpanic+0x17b/frame 0xfffffe007e06e9e0
      Apr 19 02:28:30 NAS2 spl_panic() at spl_panic+0x3a/frame 0xfffffe007e06ea40
      Apr 19 02:28:30 NAS2 zio_encrypt() at zio_encrypt+0x543/frame 0xfffffe007e06ead0
      Apr 19 02:28:30 NAS2 zio_execute() at zio_execute+0x6a/frame 0xfffffe007e06eb20
      Apr 19 02:28:30 NAS2 taskqueue_run_locked() at taskqueue_run_locked+0x144/frame 0xfffffe007e06eb80
      Apr 19 02:28:30 NAS2 taskqueue_thread_loop() at taskqueue_thread_loop+0xb6/frame 0xfffffe007e06ebb0
      Apr 19 02:28:30 NAS2 fork_exit() at fork_exit+0x7e/frame 0xfffffe007e06ebf0
      Apr 19 02:28:30 NAS2 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe007e06ebf0
      Apr 19 02:28:30 NAS2 — trap 0, rip = 0, rsp = 0, rbp = 0 —
      Apr 19 02:28:30 NAS2 KDB: enter: panic
      Apr 19 02:28:30 NAS2 --<<BOOT>>--
      Apr 19 02:28:30 NAS2 Copyright (c) 1992-2020 The FreeBSD Project.
      Apr 19 02:28:30 NAS2 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
      Apr 19 02:28:30 NAS2 The Regents of the University of California. All rights reserved.
      Apr 19 02:28:30 NAS2 FreeBSD is a registered trademark of The FreeBSD Foundation.
      Apr 19 02:28:30 NAS2 FreeBSD 12.2-RELEASE-p6 f2858df162b(HEAD) TRUENAS amd64

        Attachments

        1. debug-NAS2-20210419083216.txz
          1.61 MB
        2. image-2021-04-23-09-37-38-152.png
          image-2021-04-23-09-37-38-152.png
          18 kB
        3. openzfs.ko
          4.95 MB
        4. openzfs-debug.ko
          6.26 MB

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  mav Alexander Motin
                  Reporter:
                  mlucini Michele Lucini
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: