Score:0

Is there a way to add a drive which has a mismatched txg in a ZFS zpool?

ug flag

I've got a raidz2 that should be finding one more drive, that is physically there, only its txg # is out of sync, so I think that is causing it not to be added. (Disk 4 did indeed fail and is missing).

  raidz2-0                                DEGRADED     0     0     0
    fe444bbe-e0b4-490f-9e1a-3f547a02d4c5  ONLINE       0     0     0
    b871a408-4bbd-45d6-bedb-210d89dc1243  ONLINE       0     0     0
    2755a5a6-db6c-4136-8749-ca965304e59a  ONLINE       0     0     0
    18065165424922221366                  UNAVAIL      0     0     0  was /dev/disk/by-partuuid/03f96334-b1d6-4a6c-a162-915baa2bdceb
    3a418d73-5d79-4b23-9d4f-607ef342895e  ONLINE       0     0     0
    59ed19a6-4353-4432-a65d-96f131d24c23  ONLINE       0     0     0
    e12af080-e34d-4736-8b63-9f937fad6666  ONLINE       0     0     0
    b7e338f1-39fa-4a46-8066-fb0779175f03  ONLINE       0     0     0
    873997777668612569                    UNAVAIL      0     0     0  was /dev/disk/by-partuuid/661c5f36-5972-45b4-885e-7dcf0e5a10d0

If I run zdb -l on all the disks, the only difference regarding the missing disk (#9) is:

<     txg: 2918516
---
>     txg: 2920845

Is there a way I can get this thing added back without having to do a full resilver? Also, does anyone know how this might have happened?

Thanks!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.