Sorry, the more I dig the more confused I get. You imply that the default for zpool status is the Partition UUID, but both my systems (ok, install install years ago) all defaulted /dev/sdXX. I haven’t had it reboot and have the devices change. Am I better off just printing your command results and sticking that on the side of the server?
Digging more, apparently when I created this pool back in 2016 FreenNas 9 defaulted to /dev/sdxx. Somewhere that changed to use GUID. Since I have a RAIDZ2 I can’t just issue the replace command. ChatGPD suggests and offline, repplace, online, does this seem reasonable. Thanks in advance.
zpool offline new-tank 727d67bc-00f6-4a82-99ac-e9773239a744
zpool replace new-tank 727d67bc-00f6-4a82-99ac-e9773239a744 /dev/disk/by-id/ata-SAMSUNG_MZ7LM1T9HMJP-00005_S2TVNX0KA17264-part1
zpool online new-tank /dev/disk/by-id/ata-SAMSUNG_MZ7LM1T9HMJP-00005_S2TVNX0KA17264-part1```
I think we were both confused on this. I use to run Core 13 and recently switched to Scale Fangtooth. I wasn’t quite sure if I crossed things up and have been thinking and looking at installs in a VM for reference.
If I understand what ChatGPT is saying is you are pretending a disk is bad and then replacing it with another. You probably should be doing it using the GUI, if possible. The middleware and the GUI sometimes doesn’t match when you use the CLI on TrueNAS.
If you want advice from any of the other posters, just reply with their name after an ‘@’ and any questions
@SmallBarky
Whatever ChatGPT says should be followed to the letter because there is NOTHING more intelligent and always right than an Artificial Idiot that hallucinates. LOL.
And my belief is that you should use /dev/disk/by-partuuid
which is what TrueNAS now does and not /dev/disk/by-id
.
Agreed. And TrueNAS (and FreeNAS before it) have done this for a very long time.
does that process offline, rename, online seem correct. I will use the partuuid, just havne’t updated the script yet. since these aren’t VDEVs I can just issue the
I think if I offline and re-online with the GUI they will come back exactly the same, doesn’t it just re-read the label? I am going to listen to you cats and use part-uuid and just keep a sheet on the server.
Thanks @dan , @Protopia , @SmallBarky , @etorix : A full export and import of the pool got everything synced up with PARTUUID. I swear I tried that long ago and they came back in the same. I truly appreciate everyones help!
Rob