[SOLVED] Disk Replacement issue

zperetz

Dabbler
Joined
Dec 2, 2017
Messages
36
Hello everyone,

I have the issue with upgrading the disk following 9.5.2 instructions.

I planned to move from WD20 to WD60 over eSATA. After resilvering has finished I've got new disk in state FAIL and Volume to status DEGRADED. I've shutdowned FreeNAS, removed the failed disk and connected another one. Now I have the following status:
Code:
root@freeNAS:/ # zpool status
  pool: Volume_1
state: DEGRADED
  scan: resilvered 45.3G in 0 days 05:34:51 with 0 errors on Sun May 19 21:08:16 2019
config:

        NAME                                            STATE     READ WRITE CKSUM
        Volume_1                                        DEGRADED     0     0     0
          gptid/c1dbe83a-d26d-11e6-b1b8-902b345d1dcd    ONLINE       0     0     0
          replacing-1                                   DEGRADED     0     0     0
            gptid/12772ed1-a93f-11e4-9563-00248ce8724d  ONLINE       0     0     0
            9595349132272900416                         UNAVAIL      0     0     0  was /dev/gptid/49a07813-7a32-11e9-a380-902b345d1dcd

errors: No known data errors

  pool: freenas-boot
state: ONLINE
  scan: scrub repaired 0 in 0 days 00:03:29 with 0 errors on Sat May 18 03:48:29 2019
config:

        NAME        STATE     READ WRITE CKSUM
        freenas-boot  ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da1p2   ONLINE       0     0     0
            da2p2   ONLINE       0     0     0

errors: No known data errors


So could you please advise the next steps for replacing-1 - replace the old WD20 (ONLINE) with new disk, or replace previously failed WD60 (UNAVAIL)?

Thanks in advance for any help.
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
I haven’t played with any of this, so take this with some caution. That’s a mirror, right?

The disk that is now unavailable because it failed during replace, that was a wd60, right?

Can you zpool remove or zpool detach it? If that fails, can you zpool offline it and then remove or detach it?

I’d try to get back to a mirror with two wd-20 and then start over.

eSATA is generally not recommended as I understand it, people have had issues with data corruption because of less than savory controllers used for eSATA. Consider using onboard SATA instead.
 

zperetz

Dabbler
Joined
Dec 2, 2017
Messages
36
eSATA is generally not recommended as I understand it, people have had issues with data corruption because of less than savory controllers used for eSATA. Consider using onboard SATA instead.

Thanks for the advice! I had to find external power to connect onboard SATA, then switched "bad" unavailable WD60 disk to offline state, and turned its replacement via GUI with new WD60. In 6 hours the job was done. It was replaced and stable WD20 disk became offline as it was planned from the very beginning, with HEALTHY state.
 
Top