Hello, I am trying to fix this pool without losing data. Currently data accessible, but I can't figure out how to get rid of one disk!
Here is chronology of events:
1. I had happy pool - mirror of 2x4tb devices that's been working for years.
2. After upgrading to Truenas Scale (FreeNas=>TrueNas core=>Scale) I wanted to expand this pool.
3. I added 2x1Tb drives as another vdev (mirror) to this pool but it didn't go well, one disk had issues(sorry didn't save exact errors) and it didn't show up, but this vde did look like mirror. I think I pressed "Remove"? button to get rid of bad disk.
4. Now I am stuck with pool like on picture. Doesn't make sense because it can't be mirror+single
5. I tried to "Extend" this sda drive with another new HDD (20TB) and get error: [EZFS_BADTARGET] cannot attach /dev/disk/by-partuuid/2c9641b2-5a69-4b5e-8f31-c385f9edfda9 to /dev/disk/by-partuuid/c0803f47-f5b1-46c0-b384-21047b653990: can only attach to mirrors and top-level disks
What does it mean??
6. I tried to "Replace" with this 20Tb drive (not sure what is the logic here) - but I tried: Error: [EZFS_BADTARGET] cannot replace 11950173496626399005 with /dev/disk/by-partuuid/d5a545d8-aeca-4a2e-911a-bd52d35960e2: already in replacing/spare config; wait for completion or use 'zpool detach'
7. I tried to simply "Remove" sda:
Error: [EZFS_INVALCONFIG] cannot remove /dev/disk/by-partuuid/c0803f47-f5b1-46c0-b384-21047b653990: invalid config; all top-level vdevs must have the same sector size and not be raidz.
close
So, I am not sure what needs to be done.
I guess main question is:
1. WHAT is this config I have? Can you even create config like this if you wanted?? Or it's a glitch?
2. HOW do I fix it either by replacing with another mirror or adding disk to make it a mirror?
Also, when I look at this - how can I tell what exactly those 4 warnings is? Not clickable, no popup..
Here is chronology of events:
1. I had happy pool - mirror of 2x4tb devices that's been working for years.
2. After upgrading to Truenas Scale (FreeNas=>TrueNas core=>Scale) I wanted to expand this pool.
3. I added 2x1Tb drives as another vdev (mirror) to this pool but it didn't go well, one disk had issues(sorry didn't save exact errors) and it didn't show up, but this vde did look like mirror. I think I pressed "Remove"? button to get rid of bad disk.
4. Now I am stuck with pool like on picture. Doesn't make sense because it can't be mirror+single
5. I tried to "Extend" this sda drive with another new HDD (20TB) and get error: [EZFS_BADTARGET] cannot attach /dev/disk/by-partuuid/2c9641b2-5a69-4b5e-8f31-c385f9edfda9 to /dev/disk/by-partuuid/c0803f47-f5b1-46c0-b384-21047b653990: can only attach to mirrors and top-level disks
What does it mean??
6. I tried to "Replace" with this 20Tb drive (not sure what is the logic here) - but I tried: Error: [EZFS_BADTARGET] cannot replace 11950173496626399005 with /dev/disk/by-partuuid/d5a545d8-aeca-4a2e-911a-bd52d35960e2: already in replacing/spare config; wait for completion or use 'zpool detach'
7. I tried to simply "Remove" sda:
Error: [EZFS_INVALCONFIG] cannot remove /dev/disk/by-partuuid/c0803f47-f5b1-46c0-b384-21047b653990: invalid config; all top-level vdevs must have the same sector size and not be raidz.
close
So, I am not sure what needs to be done.
I guess main question is:
1. WHAT is this config I have? Can you even create config like this if you wanted?? Or it's a glitch?
2. HOW do I fix it either by replacing with another mirror or adding disk to make it a mirror?
Also, when I look at this - how can I tell what exactly those 4 warnings is? Not clickable, no popup..