Replacing a disk but failed

Singman

Dabbler
Joined
Dec 7, 2019
Messages
23
[ my previous thread is here : https://www.ixsystems.com/community/threads/failing-disk-and-lost-to-zfs-config.80686/ ]
Ok, I received a new disk to replace the failing one, so before removing it, I tried to putting it OFFLINE. No way, errors preventing that. So, I rebooted my NAS, tried again and was successfull.
Now, powering the NAS again, inserting the new disk, and in the UI, choosing REPLACE on the old disk and selected the new disk.
After 3 days of resilvering, I got that :

Code:
root@nas[~]# zpool status
  pool: Pool_1
state: DEGRADED
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: resilvered 1.42T in 0 days 23:44:35 with 2 errors on Fri Dec 20 21:33:48 2019
config:

        NAME                                              STATE     READ WRITE CKSUM
        Pool_1                                            DEGRADED     2     0     0
          mirror-0                                        DEGRADED     4     0     0
            replacing-0                                   UNAVAIL      0     0     0
              751772276702643201                          UNAVAIL      0     0     0  was /dev/gptid/ae929bad-4ff0-11e9-b7bf-00012e23ba5f
              gptid/f542429c-22a0-11ea-a8e2-00012e23ba5f  ONLINE       0     0     0
            gptid/19c0fdae-19a9-11ea-83f4-00012e23ba5f    ONLINE       0     0     4
          mirror-1                                        ONLINE       0     0     0
            gptid/d7fc7ef3-570d-11e9-8567-00012e23ba5f    ONLINE       0     0     0
            gptid/1805e595-19a9-11ea-83f4-00012e23ba5f    ONLINE       0     0     0

errors: 2 data errors, use '-v' for a list

root@nas[~]# glabel status
Name Status Components
gptid/f082433e-5fb0-11e9-81f6-00012e23ba5f N/A ada0p1
gptid/d7fc7ef3-570d-11e9-8567-00012e23ba5f N/A ada1p2
gptid/1805e595-19a9-11ea-83f4-00012e23ba5f N/A ada3p2
gptid/19c0fdae-19a9-11ea-83f4-00012e23ba5f N/A ada4p2
gptid/f542429c-22a0-11ea-a8e2-00012e23ba5f N/A ada2p2
gptid/d7eec266-570d-11e9-8567-00012e23ba5f N/A ada1p1
gptid/f4e17aae-22a0-11ea-a8e2-00012e23ba5f N/A ada2p1
UI on Storage / Disk telling me my disk (ada2) have pool : unused
That's not what I was expecting :)

Can you help me ?
 
Last edited:
D

dlavigne

Guest
As indicated in your previous thread, you can't rebuild an array that has no redundancy. You will need to recreate the pool which will destroy the data on the existing disks during the reformat.
 

jon_2112

Explorer
Joined
Feb 8, 2016
Messages
52
It looks to me like you're trying to replace a disk that has failed in a vdev with lost data, due to no initial redundancy. You have data lost with no redundancy. You need to physically replace the bad disk and recreate the pool from scratch, then restore data from backup.
 
Top