Expanding zfs raid

Here is my situation.
I am on truenas scale ElectricEel-24.10.1
I had a raid1 (zfs) with one 4tb drive and one 8tb drive (what I had on hand)
I purchased a second 8 tb drive and want to replace the 4 tb.
I think i screwed up because I detached 4 tb, powered off, added new 8 tb and powered back on.
I can see both drives, but there is no option to attach to existing pool
zpool status shows:
NAME STATE READ WRITE CKSUM
Rust ONLINE 0 0 0
38963de3-b6ae-4edf-b5c6-ce43e14107a3 ONLINE 0 0 0

lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 7.3T 0 disk
└─sda1 8:1 0 7.3T 0 part
sdb 8:16 0 7.3T 0 disk

I tried using zpool attach
sudo zpool attach -f Rust ata-ST8000DM004-2U9188_ZR163WKC ata-ST8000DM004-2U9188_ZR165F6P
, but it failed (guessing new drive has to be formated?)
cannot attach ata-ST8000DM004-2U9188_ZR165F6P to ata-ST8000DM004-2U9188_ZR163WKC: no such device in pool

So, the question is, is there some way to attach a new drive to an existing pool?

TIA

I replace the the device ID (ata-ST8000DM004-2U9188_ZR165F6P) with the ID listed in Pool Status (38963de3-b6ae-4edf-b5c6-ce43e14107a3) and it seems to be working. Is now showing as a mirror and is resilvering

I believe that you are supposed to go through the GUI: Storage>manage device.

When you say detached, do you mean physically detached, or detached from the vdev in the GUI?

However, those drives are all SMR drive and not suitable for use with ZFS.

I detached in the GUI and I didn’t see an option to attach as RAID. Only to add as strip

Crap - of course I got the wrong kind of drives

Thanks for the heads up

How did you create the 2 drive raidz1? Usually this requires three drives to create.

I’m not sure about replacing drives when they have been removed for whatever reason. In the GUI I think there would an area (Storage, manage devices) where a recognized drive could be added to a mirror or replaces a degraded or removed drive from an already existing vdev).

I suspect that there is a problem due to the the 2 drive raidz1.

I ran a three drive raid z1 using SMR barracuda drives. It was ok to hold bigish media files. Scrubs took forever. Ok for testing but I would never use for anything approaching production needs.

I think the two drives are in a Mirror and not Raid-Z1.

I think raid1 refers to Mirror and just not using ZFS terms

To add an extra drive to a VDev you go to manage devices, then select the VDev, then click extend.

Similarly, to replace a drive, you select the drive in manage devices for the pool, then select replace.

It sounds like you may have performed some pool changes using the shell?

Perhaps you should paste the output of zpool status so we can see what’s up? (Paste inside triple backticks ```)

yes, sorry about the confusion, was just a two drive mirror.

state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
       continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
 scan: resilver in progress since Sat Feb  8 08:40:35 2025
       992G / 2.96T scanned at 43.5M/s, 408G / 2.96T issued at 17.9M/s
       409G resilvered, 13.46% done, 1 days 17:41:31 to go
config:

       NAME                                      STATE     READ WRITE CKSUM
       Rust                                      ONLINE       0     0     0
         mirror-0                                ONLINE       0     0     0
           38963de3-b6ae-4edf-b5c6-ce43e14107a3  ONLINE       0     0     0
           ata-ST8000DM004-2U9188_ZR165F6P       ONLINE       0     0     0  (resilvering)

errors: No known data errors```

As I said I "detached" drive from within GUI vs "replace"