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

Cannot remove mirrored SLOG devices from pool via UI

    XMLWordPrintable

    Details

    • Impact:
      Low

      Description

      Mirrored SLOG devices cannot be removed from the pool via the UI, since the "remove" action is not available for a MIRROR vdev in the pool status page.

      The only action available currently is "extend":

      Attempting to "remove" one of the devices results in EZFS_POOL_NOTSUP:

      A similar error occurs when trying to do this on the command line:

      root@tn26a[~]# zpool status tank
        pool: tank
       state: ONLINE
      config:
      
      	NAME                                            STATE     READ WRITE CKSUM
      	tank                                            ONLINE       0     0     0
      	  raidz1-0                                      ONLINE       0     0     0
      	    gptid/db5350c9-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dbc117e5-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dc1e2f8c-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	  raidz1-1                                      ONLINE       0     0     0
      	    gptid/db8ff36f-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dba74d48-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dc54ebe4-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	  raidz1-2                                      ONLINE       0     0     0
      	    gptid/dbe66516-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dc4c758b-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dc8d3941-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	  raidz1-3                                      ONLINE       0     0     0
      	    gptid/dca05888-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dcad8606-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dcb5e130-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	logs
      	  mirror-6                                      ONLINE       0     0     0
      	    gptid/393711cc-25f8-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/393bb2bd-25f8-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      
      errors: No known data errors
      root@tn26a[~]# zpool remove tank gptid/393711cc-25f8-11eb-85de-3cecef0c1b54
      cannot remove gptid/393711cc-25f8-11eb-85de-3cecef0c1b54: operation not supported on this type of pool
      
      

      The only way to achieve this is to remove the "mirror-6" vdev instead:

      root@tn26a[~]# zpool status tank
        pool: tank
       state: ONLINE
      config:
      
      	NAME                                            STATE     READ WRITE CKSUM
      	tank                                            ONLINE       0     0     0
      	  raidz1-0                                      ONLINE       0     0     0
      	    gptid/db5350c9-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dbc117e5-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dc1e2f8c-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	  raidz1-1                                      ONLINE       0     0     0
      	    gptid/db8ff36f-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dba74d48-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dc54ebe4-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	  raidz1-2                                      ONLINE       0     0     0
      	    gptid/dbe66516-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dc4c758b-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dc8d3941-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	  raidz1-3                                      ONLINE       0     0     0
      	    gptid/dca05888-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dcad8606-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      	    gptid/dcb5e130-2471-11eb-85de-3cecef0c1b54  ONLINE       0     0     0
      
      errors: No known data errors
      
      

      This was observed with TrueNAS-12.0-INTERNAL-86 (de2b41e)

        Attachments

        1. image1.png
          image1.png
          15 kB
        2. image2.png
          image2.png
          83 kB

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  releng Release Council
                  Reporter:
                  nap Nick Principe
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: