Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-104506

method geli_get_all_providers does not return unused providers

    XMLWordPrintable

    Details

    • Support Suite Ticket:
      TFE-402-53808

      JEditor

        Description

        In TrueNAS 11.2-U7, trying to import a GELI encrypted zpool results in the following errors in debug.log

         

        Dec 27 11:30:02 tn21b uwsgi: [middleware.notifier:663] gptid/d4f92ccf-28ba-11ea-8839-ac1f6b0dec50 already detached
        Dec 27 11:30:02 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli detach gptid/b42fc523-28ba-11ea-8839-ac1f6b0dec50
        Dec 27 11:30:02 tn21b uwsgi: [middleware.notifier:186] geli detach gptid/b42fc523-28ba-11ea-8839-ac1f6b0dec50 -> 1 (geli: Cannot destroy device gptid/b42fc523-28ba-11ea-8839-ac1f6b0dec50.eli (error=16).
        )
        Dec 27 11:30:02 tn21b uwsgi: [middleware.notifier:179] Popen()ing: geli detach gptid/b4eee98f-28ba-11ea-8839-ac1f6b0dec50
        Dec 27 11:30:02 tn21b uwsgi: [middleware.notifier:186] geli detach gptid/b4eee98f-28ba-11ea-8839-ac1f6b0dec50 -> 1 (geli: Cannot destroy device gptid/b4eee98f-28ba-11ea-8839-ac1f6b0dec50.eli (error=16).
        )

        This is because the method geli_get_all_providers is calling the method get_disks and not passing the "unused=True" argument to it.

          Attachments

            Attachments

              Activity

                People

                Assignee:
                caleb Caleb St. John
                Reporter:
                caleb Caleb St. John
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: