When I got a repalcement drive - same size, brand, model number - I could not get the TrueNAS box to allow me to use it to replace the failing drive in the system. I put it in and instead of recognizing the drive as a replacement for the ada2 drive in my system, it identified as /dev/gptid/[serial number]. However, I could not add it to the pool or replace the ada2 drive. Even following the instructions would not work.
I see from searching that /dev/gptid is not uncommon, although I can’t determine why it’s not showing up as ada2. This is my first drive replacement. Is there something fundamental I am missing? Or is there something I need to do with the new drive to make it ready as the new ada2 drive that is not spelled out in the FAQs?
Thanks for your comments. I was able to figure out how to get the new drive installed and resilvered. I am up and running at full health.
Quick follow up question. I am sending the drive back to the manufacturer under a RMA. I looked for instructions on how to wipe the drive before I sent it back in and found these:
But this seems to indicate that I have to put the original failing drive back into the NAS to use the system. Is there a way to do this with the existing two drive set up? Can I take the new resilvered drive, take it off line, put the original failing drive in and then wipe if before I send it back? Or is there a better/safer way to do this?
Do you have a spare PC? If so, you can install the drive (temporarily) in another computer, boot into a Linux live ISO, and then run a pass of zeroes on the entire drive using dd or ddrescue.
I would strongly advise that you physically unplug any other drives, so as to not accidentally wipe the wrong one.
The above can also be done on your TrueNAS server, but you would instead boot into a Linux live ISO (USB stick) with the other harddrives unplugged.
You don’t need to be running TrueNAS with imported pools in order to wipe a single drive.