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

Need to open SED disks after unlocking/Initializing in freebsd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: Need additional information
    • Affects Version/s: TrueNAS 11.2-U7
    • Fix Version/s: N/A
    • Component/s: Middleware
    • Labels:

      Description

      Currently in 11.2 if you remove a a sed encrypted drive and reinsert it 30 seconds later the drive doesn't appear for ZFS even though it is unlocked. Doing false > /dev/da## fixes this.
      This needs to be done to trigger geom retasting the disk. Even zpool online doesn't work but once the above command is run

      In python open("/dev/da##").close() should work to cover all corner case this should probably be done during after any sed unlock or sed initialize.It's fine if this fails doing to something else beating middleware to exclusive opening the device. This should already be done in some cases.

      Will test later with 11.3 once rest of this test cycle is complete and system can be upgraded.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Release Council
                Reporter:
                nwolff Nick Wolff
                Watchers:
                Caleb St. John, Nick Wolff, William Grzybowski
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: