11.2 hot spare swapping help

TidalWave

Explorer
Joined
Mar 6, 2019
Messages
51
Hi Guys,

So we have a degraded HDD in a pool with multiple RAIDz2. We have two hot spare drives and 2xRaidz2 stripes with 10 disks each. So we have 22 hard dirves.

One of the drives in a Raidz2 array became degraded. I think it has auto resilvered. But I decided to right click on degraded HDD and selected offline.

There is a spare underneath it under the same Raidz2 list of disk. But the same spare is also still listed under the spare disk list and shows as unavailable. Am I suppose to right click on the unavailable spare and click remove? Will that move the hot spare into the Raidz2 that had a degraded disk?

Take a look at the photos and let me know what is the best course of action, please.

-TidalWave
 

Attachments

  • Screen Shot 2019-10-15 at 2.22.30 PM.png
    Screen Shot 2019-10-15 at 2.22.30 PM.png
    85.8 KB · Views: 230
  • Screen Shot 2019-10-15 at 2.22.42 PM.png
    Screen Shot 2019-10-15 at 2.22.42 PM.png
    40.2 KB · Views: 229
  • Screen Shot 2019-10-15 at 2.23.08 PM.png
    Screen Shot 2019-10-15 at 2.23.08 PM.png
    38.7 KB · Views: 224
  • Screen Shot 2019-10-15 at 2.23.21 PM.png
    Screen Shot 2019-10-15 at 2.23.21 PM.png
    39.5 KB · Views: 225
D

dlavigne

Guest
Is this still an issue for you? If so, please post the full output of zpool status within code tags.
 

viniciusferrao

Contributor
Joined
Mar 30, 2013
Messages
192
I'm with the same issue right now. What is the correct workflow?

Code:
  pool: pool
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
    Sufficient replicas exist for the pool to continue functioning in a
    degraded state.
action: Online the device using 'zpool online' or replace the device with
    'zpool replace'.
  scan: resilvered 1.70T in 08:54:21 with 0 errors on Tue Feb  2 00:57:53 2021
config:

    NAME                                              STATE     READ WRITE CKSUM
    pool                                              DEGRADED     0     0     0
      mirror-0                                        ONLINE       0     0     0
        gptid/20b1ead9-317f-11e5-b64e-002590e396e0    ONLINE       0     0     0
        gptid/b9fc94a7-df59-11e7-8872-002590e396e0    ONLINE       0     0     0
      mirror-1                                        DEGRADED     0     0     0
        spare-0                                       DEGRADED     0     0     0
          gptid/994c609b-34f8-11e7-9af7-002590e396e0  OFFLINE      0     0     0
          gptid/e4247691-47f2-11eb-84c3-002590e396e0  ONLINE       0     0     0
        gptid/014590a3-b62b-11e5-ba25-002590e396e0    ONLINE       0     0     0
      mirror-2                                        ONLINE       0     0     0
        gptid/a3fa473d-f92b-11e6-9af7-002590e396e0    ONLINE       0     0     0
        gptid/d0be29e2-8b59-11e5-ba25-002590e396e0    ONLINE       0     0     0
      mirror-3                                        ONLINE       0     0     0
        gptid/532d0f94-4070-11e9-a369-002590e396e0    ONLINE       0     0     0
        gptid/55c35ab3-e014-11e7-8872-002590e396e0    ONLINE       0     0     0
      mirror-4                                        ONLINE       0     0     0
        gptid/76312a44-15fe-11e6-b236-002590e396e0    ONLINE       0     0     0
        gptid/f2b5a1d1-3aec-11e5-b64e-002590e396e0    ONLINE       0     0     0
      mirror-5                                        ONLINE       0     0     0
        gptid/c802a74a-e014-11e7-8872-002590e396e0    ONLINE       0     0     0
        gptid/2b7bbdb9-a5c1-11e5-ba25-002590e396e0    ONLINE       0     0     0
      mirror-6                                        ONLINE       0     0     0
        gptid/847ca319-c941-11e5-a727-002590e396e0    ONLINE       0     0     0
        gptid/35b29f73-4b02-11e7-836a-002590e396e0    ONLINE       0     0     0
      mirror-7                                        ONLINE       0     0     0
        gptid/2e0f7cb6-a812-11e5-ba25-002590e396e0    ONLINE       0     0     0
        gptid/56416be5-3f05-11e6-b254-002590e396e0    ONLINE       0     0     0
      mirror-8                                        ONLINE       0     0     0
        gptid/0c5ac0a8-fb9d-11e6-9af7-002590e396e0    ONLINE       0     0     0
        gptid/58dc66a1-729a-11e9-8733-002590e396e0    ONLINE       0     0     0
      mirror-9                                        ONLINE       0     0     0
        gptid/6185698d-0aac-11e6-b236-002590e396e0    ONLINE       0     0     0
        gptid/7e17b19a-4c79-11e7-836a-002590e396e0    ONLINE       0     0     0
      mirror-10                                       ONLINE       0     0     0
        gptid/0e9542e5-df4a-11e5-a727-002590e396e0    ONLINE       0     0     0
        gptid/bbe25df4-df58-11e7-8872-002590e396e0    ONLINE       0     0     0
    cache
      gptid/96ab6be3-8eb8-11e9-8733-002590e396e0      ONLINE       0     0     0
    spares
      gptid/e4247691-47f2-11eb-84c3-002590e396e0      INUSE     currently in use
      gptid/e752da63-47f2-11eb-84c3-002590e396e0      AVAIL   

errors: No known data errors
 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
The spare has taken up duty to replace the failed drive. At this point I would select "Replace" from the 3-dot menu of the failed drive to make the change permanent and proceed to test this drive.
 
Top