Fix error when replacing a failed disk
When one of my disks repeatedly reported SMART errors I decided to replace all of them.
So I tried these steps:
1. Offline one of the disks in my pool - working, please see screenshot after offline.
2. Insert new disk into system.
3. Try to replace the disk - gives an error message, please see two screenshots.
4. Trying the same thing a second time - gives a warning that there is a corrupt GPT table, check "force" option, working. See last screenshot for the action taken.
#2 Updated by Patrick M. Hausen over 3 years ago
Some more info:
1. The replacement disks are factory new and empty. When I insert them, this is all I get:
ada4 at ahcich4 bus 0 scbus4 target 0 lun 0 ada4: <WDC WD2002FYPS-02W3B0 04.01G01> s/n WD-WCAVY5604577 detached (ada4:ahcich4:0:0:0): Periph destroyed ada4 at ahcich4 bus 0 scbus4 target 0 lun 0 ada4: <TOSHIBA HDWQ140 FJ1M> ATA8-ACS SATA 3.x device ada4: Serial Number 677FK0OUFPBE ada4: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada4: Command Queueing enabled ada4: 3815447MB (7814037168 512 byte sectors)
2. Only at the second attempt to replace the disk additionally this is logged:
GEOM: ada4: the primary GPT table is corrupt or invalid. GEOM: ada4: using the secondary instead -- recovery strongly advised. GEOM_MIRROR: Device mirror/swap0 launched (2/2). GEOM_ELI: Device mirror/swap0.eli created. GEOM_ELI: Encryption: AES-XTS 128 GEOM_ELI: Crypto: hardware
I have replaced all 4 disks now, but I have one spare on the shelf so I could do an exchange once more to get more debugging if needed.