SOLVED Disk replaced: Name without GPTID

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
Hi,

On my FreeNAS 11.3u5 I had to replace a faulty Seagate Exos 16 TB from a RAIDZ2 pool. What I did was the following
  • Shut down the server
  • Physically replaced the disk
  • Started the server
  • Took the disk offline: zpool offline pool 8454788510635687128
  • Replaced the disk: zpool replace pool 8454788510635687128 /dev/da0
After the resilvering was complete, the status output is as follows.

Code:
zpool status -v pool
  pool: pool
 state: ONLINE
  scan: resilvered 2.28T in 0 days 06:17:10 with 0 errors on Mon May 31 00:58:56 2021
config:

        NAME                                                STATE     READ WRITE CKSUM
        pool                                                ONLINE       0     0     0
          raidz2-0                                          ONLINE       0     0     0
            gptid/166d71e3-acd7-11eb-984b-0cc47a052e3c.eli  ONLINE       0     0     0
            gptid/0a00659f-1ad0-11eb-b5e9-0cc47a052e3c.eli  ONLINE       0     0     0
            gptid/0a8d4ca6-1ad0-11eb-b5e9-0cc47a052e3c.eli  ONLINE       0     0     0
            gptid/0b195f5a-1ad0-11eb-b5e9-0cc47a052e3c.eli  ONLINE       0     0     0
            gptid/0b526dd8-1ad0-11eb-b5e9-0cc47a052e3c.eli  ONLINE       0     0     0
            gptid/0b33ba44-1ad0-11eb-b5e9-0cc47a052e3c.eli  ONLINE       0     0     0
            gptid/0b40dffb-1ad0-11eb-b5e9-0cc47a052e3c.eli  ONLINE       0     0     0
            da0                                             ONLINE       0     0     0

errors: No known data errors

Am I right in assuming that I should redo this and use the GUI for the replace operation, so that the GPTID is being used?

Thanks,
Chris
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Am I right in assuming that I should redo this and use the GUI for the replace operation, so that the GPTID is being used?
There are some folks in one camp that say you don't need to, others in another camp that say you should.

It's probably a cosmetic thing as the raw uuids of the partitions are referenced in the pool metadata written to each vdev member, but I have seen some folks reporting odd things when disk order is swapped and the pool is set using disk IDs instead.

You can probably just offline that disk and replace it with itself using the gptid from gpart list.

EDIT: and I also just noticed that you're using GELI encryption, so there's that to consider (and apparently not considered on the new disk which seems not to reference an .eli partition, so there's that reason to not leave it as-is.
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
@sretalla , thanks for confirming my perception. I just did the offline/replace once more, but this time in the UI. I got an error after the replace, but things worked nevertheless. Resilvering is just going through.
 

RJ_fr33

Dabbler
Joined
Jan 10, 2020
Messages
26
Hi,
I posted a thread with same error.
In my case when i try to offline the drive it does some grinding noise, but does not do the offline :(
what can I do?
 
Top